Topic: Text links controlling movie in flash (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=11205" title="Pages that link to Topic: Text links controlling movie in flash (Page 1 of 1)" rel="nofollow" >Topic: Text links controlling movie in flash <span class="small">(Page 1 of 1)</span>\

 
ShadowImage
Nervous Wreck (II) Inmate

From: Melbourne, Victoria, Australia
Insane since: Mar 2001

posted posted 05-26-2001 15:48

Hello,

I want to have a text field inside a movie. Inside the text, I want certain words to be like hyperlinks. But instead of opening a webpage, I want it to call some actionscript, like "gotoandplay(1)". Can this be done just inside a text area? (without needing to call anything from outside the movie file like javascript).
I hope this makes sense

Thanks

Darkness is only the beginning

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 05-27-2001 02:39

Is the text and external .txt file loaded into the Flash movie dynamically, or is it text you have typed directly into the Flash movie? If the latter, the easiest way is to makae a transparent button. Know how to do that? Create a button symbol, but only define the "hit" aspect. Now you can place and size this invisible button over any text you want, and write a little tiny bit of ActionScript that says on(release)gotoAndPlay(1). Just so you aren't too confused - the "invisible" button shows up as a bright teal color in the editing environment, but is invisible when you export the movie to a swf.

BTW, gotoAndPlay(1) works fine, but it's better to create a frame label: gotoAndPlay("blip") - that way you aren't locked into a specific frame number, in case you insert any additional frames.

ShadowImage
Nervous Wreck (II) Inmate

From: Melbourne, Victoria, Australia
Insane since: Mar 2001

posted posted 05-27-2001 10:04

Thanks Steve,

Was hoping there was an easier way than having a transparent button cos I wanted to load in an external text file...
but no matter...
Thanks for the gotoframe advice...still kinda new at flash, so still work with numbers instead of labeling frames

Darkness is only the beginning



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu