View Full Version : 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...:)
jscheuer1
12-27-2005, 09:16 AM
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.
sleipner
12-29-2005, 08:43 AM
Just make a button in the the .swf and use the actionscript:
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.
BLiZZaRD
12-30-2005, 10:38 AM
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 :p
sleipner
12-30-2005, 11:01 AM
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?
BLiZZaRD
01-03-2006, 02:20 AM
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. :cool:
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.