Results 1 to 6 of 6

Thread: Help regarding flash embed

  1. #1
    Join Date
    Dec 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow Help regarding flash embed

    Hi,
    We can do mapping in image and give links. Can we do this in swf files. Please help me.

    Thanx in advance...

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I imagine something like this is possible when you write the swf, to incorporate these links into it before it is compiled. To use just any old swf as an image map? Not likely, because an image map requires a usemap image.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Oct 2005
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Just make a button in the the .swf and use the actionscript:
    Code:
    on (release) {getURL("http://www.domain.type/path","target");
    
    }
    make the red your link destination, and blue any target you want or _new window command, ect. (can be left out, just delete the whole ,"target").

    BTW: if you dont know flash buttons already, make sure to put an over, down, and hit state in the button.

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Quote Originally Posted by sleipner
    BTW: if you dont know flash buttons already, make sure to put an over, down, and hit state in the button.

    Nonsense. Only have to do that if you want "animated" buttons. I build Flash everyday and rarely use the over/down/hit for my buttons (unless I am using it for games or asthetics).

    It is not a needed function
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    Oct 2005
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    But if you dont include an over and down state, doesn't the object disapear when the person browsing gets to that state? The only time I've seen otherwise is when I learned how to make objects draggable by making it a button and including the button in a movie clip, then using some action script I found in the help panel (btw I was looking for volume sliders when I found it).

    Besides, isn't it usually nice to make the object change color or tint at least some when somebody rolls over it so that they know it's a button?

  6. #6
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    No, it will not disappear, if there is no state the AS on (release) along with the MC being classed as a button will make it stay visable. This was a minor tweak after Flash 4. However, if you are at all worried about it you can just add a keyframe to the release state.

    I wasn't saying DON'T do it, I was just saying it is not needed. In the event you want to spend more time making custom buttons rather than content that is fine.

    My advice would be to spend one whole day at the computer making nothing but buttons. Make enter buttons and next buttons and back buttons, instruction buttons, and on and on. then store them all in the library, and when you need to build just call up that library and put them in the fla and add your AS. This way you can make them as pretty and gaudy as you like, and don't have to re do it every time.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

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
  •