HTML code to make swf clickable?? URGENT!!

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
blitzfire911
Posts: 5
Joined: Thu Jul 29, 2010 1:49 pm

HTML code to make swf clickable?? URGENT!!

Post by blitzfire911 »

I emailed smith micro and they said there is no way to make the animation clickable from indise the program. I really need to know if there is a way to make the swf file clickable using html. It is a banner advertisement for my site. Please I need this quick!
User avatar
jahnocli
Posts: 3471
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Post by jahnocli »

I've designed a lot of swf files for web sites over the years, and I *think* the only way to "make the swf file clickable" is using Flash. That's the only way I've ever done it, anyway.
You can't have everything. Where would you put it?
User avatar
Imago
Posts: 698
Joined: Wed Dec 10, 2008 9:48 am
Location: Sardinia

Post by Imago »

When you insert the SWF file on the page, simply add an hyperlink like for a normal PNG/GIF/JPG image.
Sorry for my bad english... Q_Q
blitzfire911
Posts: 5
Joined: Thu Jul 29, 2010 1:49 pm

Post by blitzfire911 »

Could you elaborate on how to do it with flash please
User avatar
slowtiger
Posts: 6257
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

Oh please. Get Flash, read the manual, or get a book about Actionscript from your local library. Or do a decent google search about the topic - it's all out there.

(Yes, I know how to do that. I used to get paid for this kind of work, but obviously creating banner ads and web design nowadays is a sport for kids who can't tell a book from a brick. If you're stuck with a job you don't have the knowledge for - deal with it. You could hire someone to do it. But in that case you will most likely pay more than you get yourself.)
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

I'm with Slowtiger on this one.

I see these "help me please help me I'm on a deadline help now!" messages implying a "where the hell is the bathroom!?!?" urgency for an issue that should have been the very first thing you would test out before even starting or agreeing to take it on (I assume that the urgency is driven by someone else).

I can't believe that you created a banner add for a website and during that process never once considered testing out the actual money making aspect of a banner ad, the "click through". It's like packing for a vacation only to realize before you leave you haven't decided where you are going.

In the spirit of being helpful, I would suggest you download the 30 day trial of Flash. Depending on your bandwidth this could take a while it's a HUGE download, around 1gb I think.

-vern
blitzfire911
Posts: 5
Joined: Thu Jul 29, 2010 1:49 pm

Post by blitzfire911 »

thanks but this is not for someone else, it is a banner for my site, and the owner of the site said I need to make it clickable from my end. I will definatly download the trial. Thanks again, but try to be less of an ass people! This IS a forum meant to HELP people.
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

blitzfire911 wrote:thanks but this is not for someone else, it is a banner for my site, and the owner of the site said I need to make it clickable from my end. I will definatly download the trial. Thanks again, but try to be less of an ass people! This IS a forum meant to HELP people.
You get a help proportional to the effort you've done preparing the question. In this case you've received MUCH more than you deserve. So please be double grateful and take care of your language.
-G
blitzfire911
Posts: 5
Joined: Thu Jul 29, 2010 1:49 pm

Post by blitzfire911 »

Back to the original question, any ides on making this work? I tried iframe, but I can't use that on the site I am advertising on. I just found out I can only use GIF and SWF so any ideas? I tried exporting the animation to avi and converting to GIF, but it looked like crap! Any help would be usefull.
User avatar
slowtiger
Posts: 6257
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Post by slowtiger »

An SWF is not like an image file. Image files are supported by HTML, JPEG/GIF/PNG and even SVG are possible choices. An image is a HTML entity, therefore it can have an anchor, so it's a clickable link.

An SWF is not supported by HTML. Instead, it has to be embedded so the browser knows "this rectangle is reserved for the Flash player". Any clickable link must be inside the SWF. To do this you need to know a) what's a button in Actionscript and b) what's the code for an external link. All this can only be done in Flash.

If you have Flash, use the Help file - it's all in there.
User avatar
jahnocli
Posts: 3471
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Post by jahnocli »

If you have Flash, you can use a button to make all (or part) of that button select a web page or similar when clicked. For further help, try visiting Flashkit -- after all, this *is* a solution involving Flash, not AS.
You can't have everything. Where would you put it?
blitzfire911
Posts: 5
Joined: Thu Jul 29, 2010 1:49 pm

Post by blitzfire911 »

Thanks slowtiger, I know how to do it in flash, but I didn't know if there was another way? Thanks again looks like I will be downloading free trial of flash :P
Post Reply