Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

Simple Question: Links in MovieClips

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
J.Rocker - 16 Jul 2008 06:55 GMT
Hey Forum!

I've got a (mailto:) linked email written in a text box in a movie clip.
Movie clip > text field > email / Link

My problem is you cannot click on the link unless the text box is moved
outside of the movie clip. Since this isn't a long term possibility: i need
your help.

Thank you!
John
Travis Newbury - 16 Jul 2008 11:13 GMT
>  I've got a (mailto:) linked email written in a text box in a movie clip.
>  Movie clip > text field > email / Link
>  My problem is you cannot click on the link unless the text box is moved
> outside of the movie clip. Since this isn't a long term possibility: i need
> your help.

I haven't the foggiest what you are trying to say here.  What are you
really trying to do?
errorist - 16 Jul 2008 11:35 GMT
Hi J.R.;

Try to write a function in the first frame of the main timeline such as:

_root.mc1.mc2.onRelease = function(){
 getURL("mailto:you@somedomain.com");
};

And don?t forget to put the text field inside a new movieclip. This movieclip
should
be inside the movieclip you?ve already created, and apply an instance name to
both of them, i.e = mc1, mc2.

Hope this helps.
J.Rocker - 16 Jul 2008 16:53 GMT
Hey errorist!

Thanks, that looks like what i need. My project is in AS3, though. It's got around 7,000 lines of code so I can't change now. :]

Thanks,
John
errorist - 23 Jul 2008 09:19 GMT
Hi J.R;

Since I can?t see the original fla file is hard for me to figure out what?s
going on. Nevertheless I suggest  you to make a step backwards and try to
consruct the object again following the instructions given in the help section
of flash and stick to. them. The examples there should help as well. Sorry I
can?t help you further than that.
Rothrock - 23 Jul 2008 15:26 GMT
This probably would have been a better post for the AS3 forums. Under AS2 I
would guess that the parent movie clip also has some kind of mouse event code
that traps the event before it can get down to the text movie clip.

However that shouldn't be a problem in AS3 since all dependents get notified
unless you've turned that off.

Also it is generally better to actually show the code instead of telling us
what you think you've done. A lot of problems on these boards can be solved
just by looking at the code -- or hours and hours of back and forth posts. So
please post just the part of the code that sets up the event listener and the
event handler.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.