Page 33 of 33 FirstFirst ... 23313233
Results 321 to 327 of 327

Thread: new to flash 2004 mx

  1. #321
    Join Date
    Mar 2008
    Posts
    222
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default

    Code:
    this["panel"+j]["logos"+i].id = i;
    this["panel"+j]["logo"+i].onRelease = function() {
           getURL(urls[this.id]);
    getURL(urls[this.id], "_blank");
    I add this line after the 1st getURL?

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

    Default

    Quote Originally Posted by hyk View Post
    Code:
    this["panel"+j]["logos"+i].id = i;
    this["panel"+j]["logo"+i].onRelease = function() {
           getURL(urls[this.id]);


    I add this line after the 1st getURL?
    hmm...no! it is the the getURL! Just replace it.

  3. #323
    Join Date
    Mar 2008
    Posts
    222
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default

    opp.my bad. I took a look again. It is exactly the same + the , "_blank".

    Thanks

  4. #324
    Join Date
    Mar 2008
    Posts
    222
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default

    opps. I forgetten to ask you another part. Ya, I can open the new window but how do i read the url of the image & transfer it to the new window? I read about someting to do with javascript though

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

    Default

    Why would you want to send the url of the image to the next page? The pages you're linking to are company's homepages, right? They wouldn't be able to read whatever javascript you transmit.

    If you explain what you're trying to do, there might be a better way to do it.

    But in any case...regarding your question:

    If you can figure out how to do it with regular html/javascript, I'll show you how to add it to flash.

    I don't know enough JS (I'm trying to learn though), to help with the JS part of that. But yes, it would be possible.

  6. #326
    Join Date
    Mar 2008
    Posts
    222
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default

    Okie. Everything went smoothly. Well we can finally close this thread . Thanks a ton Medyman for what you taught & guided me for the last 2 to 3 months.
    Last edited by hyk; 05-23-2008 at 07:54 AM.

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

    Default

    You're very welcome .

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
  •