| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Apr 2001
Location: Bangalore
Posts: 11
|
Hi...
I have a curious probs... I have some swfs (basically these are ads). I show it as a pop-up window on load of some pages. Now These swfs are already made and I don't want to edit them. All I have to do is to transfer to another url if there is a click on the swf movie. As specified I have to do it from the html side purely and cannot edit the swf and but an button/symbol with getUrl method to simulate this.... Is there some way I can manipulate the object tag so that I can get the mouse clicks on the swf movie? Can you help me out in this??? Well me having used Flash I know its so easy to edit it and have it get the urls from a variable from the html querystring or from a text. But what I have are some swf which are, say, import protected and I cannot edit it whatz the way out... That's whatz troubling me... otherwise I'll have to get all the people who gave me the ads as swf redo it with a url as an(invisible) bg from a variable which I give... That would be difficult... So that made me think of getting an html/javascript way to overcome this. I tried giving the <a> tag. but that doesn't work out on the click of the object tag. I also tried if there is any onclick event on object tag. that also didn't give any results. So can you think of any other way of doing this without touching the swf file...Thanks in advance Nits |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Apr 2001
Location: Bangalore
Posts: 11
|
Got some way to do the required redirection without having to edit the existing swf files. I thought I'll share it here... I created an swf that reads the movie to be loaded and the corresponding url from the text file which can be easily edited by any layman (ofcourse... the structure of the querystring should be retained). and have a bg button which went to the url read and loaded the movie from the variable.
But there are still some constraints - the main one being that the length of the movie to be shown should be known in terms of the number of frames. Thanks a lot for all people who helped me on this... Nits |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| one template, many looks? | subquark | ActionScript 1.0 (and below) | 1161 | 09-03-2009 04:45 PM |
| Developing a flash site, Part1: Some thoughts | Bloom22 | Other Flash General Questions | 6 | 09-29-2006 03:10 AM |
| HELP! Flash in iframe to call Javascript in parent | lordcatalien | ActionScript 1.0 (and below) | 15 | 09-19-2004 12:01 PM |
| [Q] Do we need those forums??? | CyanBlue | General Chat | 59 | 07-27-2004 12:13 PM |
| HELP! Flash in iframe to call Javascript in parent | lordcatalien | Server-Side Scripting | 2 | 01-06-2003 06:44 PM |