Google Answers Logo
View Question
 
Q: Flash 5: Loading a JPG into _level0 & making it a web link ( No Answer,   1 Comment )
Question  
Subject: Flash 5: Loading a JPG into _level0 & making it a web link
Category: Computers > Programming
Asked by: g8z-ga
List Price: $10.00
Posted: 24 Apr 2003 14:17 PDT
Expires: 11 May 2003 00:14 PDT
Question ID: 194991
Hello,

First, download this .zip file and check out the .fla file in it:

http://www.tufat.com/flashtest.zip

Now here's the problem: I want to load an external JPG file into a
Macromedia Flash movie, and when clicked, it should lead to an
external URL.

In addition, the JPG must (for reasons not stated) be loaded into
_root (_level0) of the movie, not _level1, _level2, etc. and not into
a movie clip "container" that sits on _level0

As you can see by my sample download, I can easily get the JPG to load
via loadMovie( <path to JPG>, this ), where 'this' is the same thing
as _root.  However, I am not sure how to make it clickable once loaded
to activate the getURL method.

I'm using Macromedia Flash 5.

Thanks,
Darren
Answer  
There is no answer at this time.

Comments  
Subject: Re: Flash 5: Loading a JPG into _level0 & making it a web link
From: technical_champ-ga on 10 May 2003 22:53 PDT
 
Its quite easy .

First create a blank nutton equal to the size of the external jpg ,
then using "actions" assign a URL to it and then paste the jpg over
it.

It works fine.

If ure still confused i can send you the solution as a .fla file.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy