Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-17-2012, 05:12 AM   #1
anagha_s
a_s
 
Join Date: May 2011
Posts: 8
Default load external flip book to another swf

Hi,

i wanted to load external flip book to another swf

for this i used the following script:
on (press) {
gotoAndPlay("flip_book");
_root.createEmptyMovieClip("container",1);
_root.container._x = -108.9
_root.container._y = -150.0;
_root.container._xscale = 83
_root.container._yscale = 83;
_root.loadMovie("flipbook.swf", "container")
}

By using this script flip book load in my another swf but it load full screen and i can't get control to unload this flip book swf also i can't see my another links. Then the only option is close the hole presentation

Please help me
Thanks in Advance
anagha_s is offline   Reply With Quote
Old 05-17-2012, 01:21 PM   #2
tacos
Grrrrrrrrreat!
 
tacos's Avatar
 
Join Date: Apr 2007
Location: Montréal, Québec
Posts: 5,473
Default

You need to use some preloading code (or the MovieClipLoader...) along with your loadMovie action, make the container invisible to start with, and only scale the container once the external.swf is fully loaded... Then you can make it visible again...
__________________
WHO I WAS...
BANDS OF THE 80's
tacos is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:21 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.