Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I can't load a jpg externaly!help me pls!

Status
Not open for further replies.

DJErotix

Programmer
Mar 5, 2003
11
RO
i use the folowing code to load variables:
loadVariables("arhiva.mo", this);
loadMovie(pozitia, _root.poza);

and arhiva.mo contains this text:
pozitia=a.jpg

a.jpg is a picture in the root folder.
What can i doo because i recieve an error message like this:
Error opening URL "file:///D|/Documentele%20Mele/My%20Webs/Create/ex12c/"
where ex12c is my root folder.

if i don't use external var it works. Somthing like this:
loadMovie("a.jpg",_root.movie where to import picture)

Thanks a lot!
 
Have you tried...

and arhiva.mo contains this text:
pozitia="a.jpg"

Or if you add trace(pozitia); before your loadMovie action, what is outputed?
Regards,

oldman3.gif


Don't worry, if my reply is wrong,
Bill Watson will clean it up for me!
 
yes but no output window apear when i trace(pozitia);
 
Even if you force open it before... Under Window -> Output? Regards,

oldman3.gif


Don't worry, if my reply is wrong,
Bill Watson will clean it up for me!
 
when i force it the output window is empty. I can send you my hole project if you like or put it on a ftp server to look over my code.
Thanks a lot for you time!
 
You can! E-mail available if you hit my handle. Regards,

oldman3.gif


Don't worry, if my reply is wrong,
Bill Watson will clean it up for me!
 
Yep! Checking now!
Ain't there yet, but the reason you don't have any trace window, is because in your Flash Publish settings Omit Trace actions is checked!

Checking the rest! Regards,

oldman3.gif


Don't worry, if my reply is wrong,
Bill Watson will clean it up for me!
 
i made it!
thanks a lot for your time!
It was from publish settings. It exports movie for Flash Player 5! Thank you very much for your time. We keep in touch!
Regards from DJErotix
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top