-
Loading External SWF From MC
Hi,
pretty simple question I know...I have external SWF's which I want to load into an MC on the main timeline...but I want them to load when a MC is pressed which is not a button...
thanks,
Tom
-
V E N K A T
~~~~~~~~~~~~~~~~~~~~~~~
BEGIN WITH END IN THE MIND
-
sorry about that ... accidental that was.... anyways...
just add this code on the MC's onClipEvent
onClipEvent(mouseDown){
if(this.hitTest(_root._xmouse,_root._ymouse)){
this.loadMovie("test.swf");
}
}
V E N K A T
~~~~~~~~~~~~~~~~~~~~~~~
BEGIN WITH END IN THE MIND
-
hey,
thanks for that but unfortunaytely it is not exactly what I want...it loads the SWF file onto the button but When the MC acting as a button is pressed I want it to load into a different MC on the timeline called "shirts"
thanks again,
Tom
-
then replace the this.loadMovie with _root.shirts.loadmovie ... or the respective target whichever is applicable
V E N K A T
~~~~~~~~~~~~~~~~~~~~~~~
BEGIN WITH END IN THE MIND
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|