At 2/16/09 10:54 AM, DgsGaming wrote:
Setting the Source
Using action script, it's fairly easy to set a source. You can put this code on a button if you so wish.
_root.MainFrame.autoLoad = false;
_root.MainFrame.contentPath = "http://www.sampleaddress.com/files/sour ce1.swf";
_root.MainFrame.load();
So if I replaced the website adress with an embeded flash code thing then It will load that flash on that frame? sorry I'm not much of an actionscripter
The Loading Bar
I used the ProgressBar component, because it only required one line of code. You will need to set the mode to event for it to work, though. Just open up the Parameters window, and change it.
_root.pBar.source = _root.MainFrame;
this part I don't really get though, can you explain it to someone who knows verry little about actionscript? coz I've got no idea :)
thanks