Hi,
We can do mapping in image and give links. Can we do this in swf files. Please help me.
Thanx in advance...![]()
Hi,
We can do mapping in image and give links. Can we do this in swf files. Please help me.
Thanx in advance...![]()
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
Just make a button in the the .swf and use the actionscript:
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").Code:on (release) {getURL("http://www.domain.type/path","target"); }
BTW: if you dont know flash buttons already, make sure to put an over, down, and hit state in the button.
Originally Posted by sleipner
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;
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?
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