Welcome Guest [Log In] [Register]
Welcome to Brackenwood. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Actionscript Help Needed!; Read on...
Topic Started: Oct 13 2004, 08:24 PM (328 Views)
Zef
Member Avatar
Brackenwood Lightweight
I need to know how to make a picture in a flash swf file can be changed without opening the fla! There must be a script so i could change what picture was currently in the flash file?> It's like linking to text in totepad but with a picture! Please help!
Offline Profile Quote Post Goto Top
 
Vector
Member Avatar
Resident Actionscript Guru ♂
Admin
It can be done :lol: and as a matter of fact, i've done this in the www.brockenweed.com characters section, check it out.

I can help you, but there are a few things i'd need to know and you'd need to set up.

I do plan on making a tutorial of this one day, but I will give you help asap if you need it, mk? B)
Offline Profile Quote Post Goto Top
 
Zef
Member Avatar
Brackenwood Lightweight
Thanks man i will be online later tonight and ask you!
Offline Profile Quote Post Goto Top
 
mikepol
Member Avatar
Brackenwood Newbie
yeay first post!

umm

make a text file, in it put this, call the file ... pics.txt

Code:
 
&pic=mypic.jpg&


then in flash to load mypic.jpg from a button click:

Code:
 
myButton.onRelease=function(){
var lv=new LoadVars();
lv.load("pics.txt");
lv.onLoad=function(){
  _root.somePicHolder.loadMovie(lv.pic);

}


}


_root.somePicHolder being the movieclip that is going to be replaced by the loaded jpg..

hope that worked for ya!

Mike
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Actionscript · Next Topic »
Add Reply