Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: how to add "get url" to a node in flash tree menu

  1. #11
    Join Date
    Aug 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation

    Thanks for al the work so far!! Unfortunately the links still dont work. The trace function shows the correct url it is going too but doesnt open it nto a new window or anything. I.e it is not working??? I just directly the 1st and 2nd links to google.com and cnn.com for testing.

    What am I missing? I am soooooooo close & excited to get this to work!!!! cant leave it now )

    Thank you again in advance.

  2. #12
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Hey Sasha...

    I think you might have gotten to the code before I edited it. I was testing with the trace function but I commented out the getURL.

    At the end of your change event listener function, do you have this:

    Code:
    	var earl = node.attributes.url;
    	if(earl) {
    		//getURL(earl,"_blank");
    	}
    	trace(earl)
    };

    If so, take out the comment "//" and it will work. I'll email you the working files.

  3. #13
    Join Date
    Aug 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation

    Ok we're close! Everything seems to be working EXCEPT that the url doesnt link to anything. what am i doing wrong here? I tried to add "http://www.xxx.com" as well as "www.xxx.com" and lastly "xxx.html"

    Nothing appears but the trace function shows tat its going to the right link...??

    Please help!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •