Preloader that changes external swfs every 5 seconds

HI,
I've done an web banner in flash that loads an external swf
and changes for another external swf after 5 seconds. The banner
have a preloader, but the problem becomes when it loads the first
time. As the swfs aren't cached in the browser's cache yet, the
time for 5 seconds starts to count from the preloader, and when the
external swf finally shows, only rest 1 second and it is changed to
another. There is a way to "freeze" the time for each external swf
until it totally loads?
The code that loads the swfs every 5 seconds (this code is
placed into an action layer):
begin of code:
var intervalId:Number;
var count:Number = 0;
var maxCount:Number = 23;
var duration:Number = 0;
var banners:Array = new Array(
"abatrade.swf",
"bancobrasil.swf",
"caparao.swf",
"cedro.swf",
"cesama.swf",
"copasa.swf",
"damatta.swf",
"emtel.swf",
"engedrain.swf",
"extel.swf",
"feedback.swf",
"iti.swf",
"intermedium.swf",
"magnesita.swf",
"maquenge.swf",
"maxxdata.swf",
"orteng.swf",
"paiva.swf",
"paraibuna.swf",
"paraopeba.swf",
"sabesp.swf",
"serpro.swf",
"soll.swf",
"thawte.swf"
function executeCallback(param:String) {
var duration:Number = 5000;
loadMovie(banners[count],loadmovie_mc);
loadmovie_mc._x=0;
loadmovie_mc._y=0;
clearInterval(intervalId);
if(count < maxCount) {
count++ ;
intervalId = setInterval(this, "executeCallback", duration,
banners[count]);
else {
count=0;
intervalId = setInterval(this, "executeCallback", duration,
banners[count]);
if(intervalId != null) {
clearInterval(intervalId);
intervalId = setInterval(this, "executeCallback", duration,
banners[count]);
//end of code
And the code for the preloader (this code I place into the
movieclip that loads the external swfs):
//begin of code:
onClipEvent(enterFrame) {
var gtT:Number = this.getBytesTotal();
var gtL:Number = this.getBytesLoaded();
var gtP:Number = int((gtL/gtT)*100);
if ( gtT > gtL ) {
this._alpha = 0;
_root.loader._alpha = 100;
_root.loader.bar._width = gtP;
clearInterval(intervalId);
} else {
this._alpha = 100;
_root.loader._alpha = 0;
intervalId = setInterval(this, "executeCallback", duration,
banners[count]);
delete onEnterFrame;
//end of code
Note that I tryed to freeze the time using a clearInterval in
the second code, but it simply don't works...
Any Ideas? Thanks
Edson

http://www.maxxdata.com.br/banners.zip
Open the fla and preview the file with bandwidth preview (
Crtl+Enter twice ). You will note that the third banner
(caparao.swf) start to loads but it don't shows at all because the
loading for a slow internet (56K) takes more than 5 seconds. So the
loader skip to the next banner. Is there a way to "freeze" the time
for the preloader (to give it enough time to the banner load
completely, even in slow connections) and count the 5 seconds only
to the banner itself?
Thanks.

Similar Messages

  • Adding a preloader to determine external swf

    Hi there! I have a script which works wonders! but need to add a preloader to it so that a text box will show the % remaining?...
    The code is randomising the files which is what I want but just need to add a preloader... any suggestions?
    Sample:
    filename = ["A01.swf", "A02.swf", "A03.swf"];
    path = "A/";
    i = filename.length;
    k = Math.floor(Math.random()*i);
    loadMovie(path+filename[k], movieTarget1);
    Of if you know a link to something done before that would be swell!!!

    filename = ["A01.swf", "A02.swf", "A03.swf"];
    path = "A/";
    i = filename.length;
    k = Math.floor(Math.random()*i);
    loadMovie(path+filename[k], movieTarget1);
    clearInterval(preloadI);
    var preloadI:Number=setInterval(preloadF,100);
    function preloadF(){
    var fl:Number=movieTarget1.getBytesLoaded()/movieTarget1.getBytesTotal();
    if(fl>0){
    yourtextfield.text = (100-Math.round(100*fl))+" % Remaining";
    if(fl==1){
    clearInterval(preloadI);

  • Preload external swf's

    Hi,
    Every time I have asked this question, people say , just go
    online you'll find lots of preloaders out there. Or, its documented
    really well in flash help. BUt I still dont get it. Im sure that
    anyone who knows actionscript moderately well can figure it out no
    prob.
    All I want to do is preload 3 external swf's into my main
    movie - and I want to include the preloading script in the
    preloading script I already have for my main movie. This is the
    script Im using (it has a loader bar etc,..).
    onClipEvent (load) {
    if (_parent.getBytesTotal() == _parent.getBytesLoaded()) {
    quickPlay = true;
    } else {
    preLoad = (_parent.getBytesTotal() * 0.75); //percent to
    preload
    _parent.stop();
    onClipEvent (enterFrame) {
    gotoAndStop(loadedIndicatorFrame());
    if (quickPlay == true) { //quickly play the anim
    if (_currentframe == _totalframes) {
    _parent.play();
    } else { //wait for the preload
    if (_parent.getBytesLoaded() >= preLoad) {
    _parent.play();
    Can someone help me out here?
    Also, if I preload it right at the beginning, do I need to
    additionally specify the place (empty mc) that I want to eventually
    run it in?
    Thanks a million for anyone who can help with this. Please
    dont tell me its well document\ed, because although it may, Its
    just as hard to figure it out with the documentation, Im not great
    at action script.

    I'm having a similar issue!
    I am currently building a web gallery that loads external
    .swfs (of each gallery) into movie clip containers within seperate
    frames.
    Is there any way to preload those .swfs in the background
    before they are called upon by going to those frames?
    An example of a site I built in this manner can be found
    here:
    http://gillestoucas.com/
    Help! Thanks a bunch!

  • Load second external swf after first is done?

    Hello,
    I have a main movie with a blank mc to hold my 2 external
    swf's. I load the first swf, things are fine. When it ends I'd like
    to load the 2nd swf into the same blank mc. Anybody have a solution
    or point me to a good tutorial?
    Thanks in advance.
    Pharaoh

    Here is the code:
    //this section is a preloader for the external swf
    var mcl:MovieClipLoader = new MovieClipLoader();
    var mclL:Object = new Object();
    mclL.onLoadProgress = function(target,loaded,total) {
    loader.percent.text = Math.round((loaded/total) * 100) +
    mclL.onLoadInit = function() {
    loader._visible = false;
    loader.percent.text = "";
    mcl.addListener(mclL);
    //the line below loads and plays the swf
    mcl.loadClip("wtts_spotlight.swf",holder);
    The way I have it working now is that I have actionscript at
    the end of the first swf telling the main movie to load the next
    swf in the blank mc:
    stop();
    _root.holder.loadMovie("NewZoo_Spotlight.swf", 1);
    I then repeat this code in the last frame of the
    "NewZoo_Spotlight.swf" but tell it to load the first swf again,
    thus creating the loop:
    stop();
    _root.holder.loadMovie("wtts_spotlight.swf", 1);
    This all works well but there has to be a way to do it so all
    actionscript is contained in frame one of the main movie, right?
    Thanks.

  • Loading an external swf as a different size?

    Hello - this seems like it would be pretty easy, but I couldn't figure it out from searching through Flash's help documentation.
    I'm using Flash CS3 and AS2.0.  I'm using the loadMovie function to load an external swf into an empty movieclip.  The problem is that the external swf is bigger than the frame I am loading it into, so I'd like to load it in with specific width/height parameters (basically load it in and scale it down).
    What would be the loadMovie command to do that with?
    Thanks!!!

    You need to wait for the movie to load before you can change its size.  To know that the movie is loaded you want to use the MovieClipLoader.loadClip method instead of loadMovie.  The loadClip method supports having an evemt listener so that you can know when the file is loaded and ready to use.  If you look up the MovieClipLoader.addListener method in the help docs, there is an example there that should get you thru most of it.  It uses an onLoadInit event listener which is what you'll want to use since you need to wait for the swf file to be loaded and ready for use before you try to affect it.

  • Control an external SWF

    Ok say I have a big comeplete Flash website.
    The website is composed of:
    -The main stage
    -Movie Clip that loads external swfs 1 (let's call this "A")
    -Movie Clip that loads external swfs 2 (let's call this "Z")
    So say A is a movie clip that loads a menu (external swf).
    Can I control Z (like changing frames and so on), by clicking
    buttons on A (since it's a menu)?
    I hope I was clear.
    So it is possible, how would the paths be written?

    button1.onRelease = function() {
    _root.Z.gotoAndStop ...
    heart ways wrote:
    > Ok say I have a big comeplete Flash website.
    >
    > The website is composed of:
    > -The main stage
    > -Movie Clip that loads external swfs 1 (let's call this
    "A")
    > -Movie Clip that loads external swfs 2 (let's call this
    "Z")
    >
    > So say A is a movie clip that loads a menu (external
    swf). Can I control Z
    > (like changing frames and so on), by clicking buttons on
    A (since it's a menu)?
    >
    > I hope I was clear.
    >
    > So it is possible, how would the paths be written?
    >

  • External swf keeps repeating:

    Hello.
    I have a simple button loading up an external swf in a empty
    movie clip.
    The external swf is just an image that has the fade in
    transition on it in the beginning and then it stops (via
    actionscript). Once it stops, you see the image.
    The external swf works fine by itself and it stops properly.
    However, if I try to load it up via an empty movie clip via a
    button the movie is loaded but it keeps playing the movie over and
    over. I am guessing I need a stop(); somehwere but I tried every
    possible location.
    Any ideas why my external swf keeps looping?
    I even made sure that the external swf is only repeating
    once.
    I hope someone has an idea. I am sure the solution is
    simple!!
    Simon

    Could it be because I only have this action on the button:
    on (release) {
    //load Movie Behavior
    if(this.Dummy == Number(this.Dummy)){
    loadMovieNum("Church.swf",this.Dummy);
    } else {
    this.Dummy.loadMovie("Church.swf");
    //End Behavior
    So since the button was pressed, it keeps loading the movie?
    Any solutions?
    Thanks!
    Simon

  • Loading font from external *.swf

    So!
    I have 3 movies.
    1)Main movie - index.swf
    2)Movie with created & checked in linkadge "Export for
    runtime sharing" fonts in library - fonts.swf
    3)movie with text fields which need embeded fonts to work in
    a proper way. Fonts in the library checked in linkage as "import
    for runtime sharing" - content.swf
    What happens:
    I strike CTRL+ENTER and run movie index.swf.
    on the (for ex.) 10 frame it loads fonts.swf with
    movieClipLoader class..
    then in the same way on (for ex.) 100 frame, i load content
    swf
    BUT!!! before it starts loading process IT DOWNLOADS FONT.swf
    again
    SO HOW DO I PRELOAD fonts from external *.swf..
    maybe there is yhe way without using runtime sharing..
    but i've heard that loaded whith movieClipLoader movies don't
    adds objects from their library to main movie liblary...
    HOW DO I SOLVE THIS PROBLEM!

    can you give your erroe source code,and then i will give you the success code.
    in the function
    private function onLoadComplete(e:Event):void {}
    ApplicationDomain.currentDomain.getDefinition("com.scottgmorgan.ExternalMovie") ;
    use like this:
    var EMClass:Class=loader.contentLoaderInfo.applicationDomain.getDefinition("com.scottgmorgan.ExternalMovie") ;
    then you can new a instance :
    var emInstance:Object=new EMClass();
    emInstance.alert("hello word");
    and we also can use other method. so email me  [email protected]

  • Stopping external SWF when new SWF is loaded

    Ok.... hmmmmm. I am currently working on a flash site that
    loads external SWFs for each page. one of the SWFs contains a
    sitepal movie. the sitepal has been coded to stop playing and
    unload on a frame change but it keeps playing when a link in the
    index is clicked and another SWF comes in. (in other words there is
    no frame change. the new SWF loads but the old one keeps playing)
    make sense?
    I just need the site pal to stop playing when the next SWF
    loads!
    each link on the bottom is part of the main.swf
    (index.swf)...
    I need the links on the bottom to "turn off" the SWF when a
    new page is choosen. the External SWFs are labled 1-5....
    attached is a simple diagram in .jpg format explaining the
    functionality of the site!
    any insight is appreciated...
    PS
    IM NO CODE MONKEY.... more of a point-click, copy-paste type
    o dude..

    HI,
    My files loads an external swf (containing the video) into a
    container on my stage. The loaded swf contains the embedded wmv
    movie file, which is quite large I might add. Do I need to cut file
    size or change to flv?
    thanks again.

  • Loaded external swfs with transitions

    I need help getting my loaded swf files to play the "out" transition before the next movie loads. I have a main swf with 5 buttons (movie clips) that load external swf onto the stage.
    package
        import flash.display.MovieClip;
        import flash.display.SimpleButton;
        import flash.display.Loader;
        import flash.net.URLRequest;
        import flash.events.MouseEvent;
        import flash.events.*;
        public class V2 extends MovieClip
            private var sections_array:Array;
            private var section_buttons_array:Array;
            private var loader:Loader;
            private var sectionHolder  : MovieClip;
            private var swf:String;
            private var currentSection:int=0;
            private var nextSection:int;
            private var id:int=0;
            private var homeLoc = "./swfs/home.swf";
            public function V2()
                init();
            private function init():void
                stop();
                stage.frameRate=31;
                preloader_mc.visible=false;
                preloader_mc.fill_mc.width=0;
                sectionHolder = new MovieClip();
                sectionHolder.x = 37;
                sectionHolder.y = 42;
                addChild( sectionHolder );
                sections_array = new Array('./swfs/section1.swf',
                './swfs/section2.swf',
                './swfs/section3.swf',
                './swfs/section4.swf',
                './swfs/section5.swf');
                section_buttons_array = new Array(btn1,btn2,btn3,btn4,btn5);
                addMenuListener();
                addMenuEvents();
                loadHome();
            private function addMenuListener():void
                for(var i:int=0;i < section_buttons_array.length;i++)
                    section_buttons_array[i].id=i;
                    section_buttons_array[i].addEventListener(MouseEvent.MOUSE_DOWN,loadSectionHand ler);
            private function loadHome():void
                swf=homeLoc;//sections_array[0];
                var request:URLRequest=new URLRequest(swf);
                loader=new Loader();
                initListeners(loader.contentLoaderInfo);
                loader.load(request);
                id=0;
            private function changeSection(m:MouseEvent):void
                id=m.currentTarget.id+1;
                loader.unload();
                sectionHolder.removeChild(loader);
                removeListeners(loader.contentLoaderInfo);
                loadSection(m.target.parent.id+1);
            private function loadSectionHandler(evt:MouseEvent)
                id = evt.currentTarget.id;
                loadSection(id);
            private function loadSection(n:int):void
                swf=sections_array[id];
                var request:URLRequest=new URLRequest(swf);
                initListeners(loader.contentLoaderInfo);
                loader.load(request);
            private function initListeners(dispatcher:IEventDispatcher):void
                dispatcher.addEventListener(Event.OPEN,start);
                dispatcher.addEventListener(ProgressEvent.PROGRESS,atLoading);
                dispatcher.addEventListener(Event.COMPLETE,completed);
            private function removeListeners(dispatcher:IEventDispatcher):void
                dispatcher.removeEventListener(Event.OPEN,start);
                dispatcher.removeEventListener(ProgressEvent.PROGRESS,atLoading);
                dispatcher.removeEventListener(Event.COMPLETE,completed);
            private function start(event:Event):void
                preloader_mc.visible=true;
            private function atLoading(event:ProgressEvent):void
                var n:uint=(event.bytesLoaded/event.bytesTotal)*100;
                preloader_mc.fill_mc.width=n;
               private function completed(event:Event):void
                sectionHolder.addChild(loader); 
                preloader_mc.visible=false;
            private function stopAll():void
                for(var i:int=0;i < section_buttons_array.length;i++)
                    section_buttons_array[i].stop();
                    sections_array[i].stop();
            private function addMenuEvents():void
                for(var i:int=0;i < section_buttons_array.length;i++)
                    section_buttons_array[i].mouseChildren=false;
                    section_buttons_array[i].buttonMode=true;
                    section_buttons_array[i].id=i;
                    section_buttons_array[i].isPressed=false;
                    section_buttons_array[i].addEventListener(MouseEvent.MOUSE_OVER,setOver);
                    section_buttons_array[i].addEventListener(MouseEvent.MOUSE_OUT,setOut);
                    section_buttons_array[i].addEventListener(MouseEvent.MOUSE_DOWN,setDown);
                    section_buttons_array[i].addEventListener(MouseEvent.MOUSE_UP,setUp);
            private function setOver(evt:MouseEvent):void
                if(evt.target.isPressed==false)
                    evt.target.gotoAndStop(2);
            private function setOut(evt:MouseEvent):void
                if(evt.target.isPressed==false)
                    evt.target.gotoAndStop(1);
            private function setDown(evt:MouseEvent):void
                nextSection=evt.target.id;
                checkState(evt.target.id);
                evt.target.gotoAndStop(3);
                loadSection(1);
                currentSection=evt.target.id;
            private function setUp(evt:MouseEvent):void
                if(evt.target.isPressed==false)
                    evt.target.gotoAndStop(1);
            private function checkState(n:int):void
                for(var i:int=0;i < section_buttons_array.length;i++)
                    if(i==n)
                        section_buttons_array[i].isPressed=true;
                    else
                        section_buttons_array[i].isPressed=false;
                        section_buttons_array[i].gotoAndStop(1);
            private function removeSWF(e:Event):void
                loader.unload();
                removeEventListener("removeMe", removeSWF);
                var request:URLRequest = new URLRequest(swf);
                loader.load(request);
            private function onClick(e:MouseEvent):void
            targetID = e.currentTarget.id;
            addEventListener("removeMe", removeSWF);
            MovieClip(loader.content).play();
            private function removeSWF(e:Event):void
            loader.unload();
            removeEventListener("removeMe", removeSWF);
    The loaded swf has a stop() an intro animation and on the last frame have.
    dispatchEvent(new Event("removeMe", true));

    your isse begins here ..
    loadSection()
    you use the same loader to not only load files but you are tyring to use it to target the movieClip you also want to play.
    The issue is loader.  The loader can only reference one load at a time.. otherwise you screw up your listeners and the ability to unload files properly.
    You should load all files in Your current system as its own variable so that while one loads you can still control a movie.
    So what type of end transitions do your files have?
    What exactly with this seems like youre getting an issue.. looking at it looks alright aside from the fact that some methods are not used at all by your class

  • GotoAndPlay specific frame in external swf from main swf

    I have a main swf that loads 2 external swfs.
    I click on button to see content of external swf #1 and see stuff. I do something that causes external swf to show other stuff (i.e. not at beginning state)
    In the main swf I click on button to see content of external swf #2. External swf #1 content is made invisible and I see content of external swf stuff.
    NOW, if I click on button to take me back to see external swf #1, I see it's content in current state. I want to force it to start over again at frame #1 which will reset content.
    However, no matter what I try, I can't seem to control which frame to go to in external swf using gotoAndplay.
    Here is code in frame #1 of main swf to load external swfs:
    //load academic movie
    var swfLoader1:Loader = new Loader();
    container1.addChild(swfLoader1);
    var url1:URLRequest = new URLRequest("academic.swf");
    swfLoader1.load(url1);
    //load wisdom movie
    var swfLoader3:Loader = new Loader();
    container3.addChild(swfLoader3);
    var url3:URLRequest = new URLRequest("wisdom.swf");
    swfLoader3.load(url3);
    Here is code in frame 2 of main swf that checks button to see where to go in external swf:
    //academic button clicked
    function academicClick(event:MouseEvent){
       container3.alpha = 0;
       container3.visible = false;
       container1.visible = true;
       container1.gotoAndPlay(1); //this is where I am trying to force it to start at frame 1
       container1.alpha = 1;
    I don't want to reload the external movie to force it to start over.
    Any help would be much appreciated.

    You can easily control this by making the external swf to load with your movieclip, The below is the code snippet that clear on accessing the specific frame on external swf.
    //Loading clips content
    var ldr:Loader;
    var mcExt:MovieClip;
    //Loading
    loadswf("external.swf");
    function loadswf(tmp:String):void{
        unloadSwf();
        ldr= new Loader();
        ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressListener);
        ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
        ldr.load(new URLRequest(tmp));
        function progressListener (e:ProgressEvent):void{
            ploader.visible=true;
        function swfLoaded(e:Event):void {
            mcExt = e.target.content as MovieClip;
            ldr.contentLoaderInfo.removeEventListener(Event.COMPLETE, swfLoaded);
            mcExt.addEventListener(Event.ENTER_FRAME,onEnterfn);
            ploader.visible=false;
            addChild(mcExt);
    //UnLoading
    function unloadSwf():void{
        if (ldr!=null){
            ldr.unloadAndStop();
            removeChild(mcExt);
            mcExt=null;
    //Intervals (The part you work on the specific frame within the external swf
    function onEnterfn(e:Event):void{
        var num:int=mcExt.currentFrame;
        if (num==1) mcExt.play();
        if (num==9) {
                mcExt.skipmc.addEventListener(MouseEvent.CLICK,skipfn);
                function skipfn(e:MouseEvent):void{
                    mcExt.stop();
                    mcExt.removeEventListener(Event.ENTER_FRAME,onEnterfn);
                    gotoAndStop("help");
        if (num==mcExt.totalFrames){
            mcExt.removeEventListener(Event.ENTER_FRAME,onEnterfn);
            gotoAndStop("help");
    hope it solve

  • Target paths in external SWF's?

    Hi, Im having problems with a flash based website that I am
    creating. It is essentially a gallery, using a shell file for all
    the navigation with external .swf's being loaded in for each image
    set to keep the overall file size low. I have it all working fine
    except for one weird problem, within the external .swf's there is
    another layer of navigation to move forwards and backwards through
    the main timeline.. it works fine as an individual .swf but when
    loaded inside the shell interface none of the buttons work.
    The only thing I can think of is that the paths are wrong
    when it is loaded into another file, for example: does "on
    (release) { _root.play();" on a button inside the external swf
    refer to the root of the external file or the root of the shell swf
    itself? What path am i suposed ot use to refer to items on the main
    timeline of an external .swf file?
    I may not have explained this very clearly, but I would be
    extremely greatful for any insights, thanks for your time

    yes scott, the _root in this case refers to the main movie..
    try using the "on(release) {this.play()}" or
    on(release){_root._LEVEL##.play()}
    where ## is the level Number that the external swf is loaded
    into..

  • Scale external SWF

    Hi!
    I'm trying to load a Flex 4 SWF into the application, but I want that the external swf to fill all the application while maintaining the aspect ratio. The code is above:
    ResizableSWF.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     addedToStage="onAddedToStage(event);"
                                     width="290"
                                     height="149"
                                     >
              <fx:Script>
                        <![CDATA[
                                  private function onAddedToStage(event:Event):void {
                                            stage.scaleMode = StageScaleMode.SHOW_ALL;
                                            stage.align = StageAlign.TOP;
                                            this.width = stage.stageWidth;
                                            this.height = stage.stageHeight;
                        ]]>
              </fx:Script>
              <s:BorderContainer id="borderContainer"
                                                         cornerRadius="40">
                        <s:layout>
                                  <s:VerticalLayout paddingTop="40"
                                                                            paddingLeft="40"
                                                                            paddingRight="40"
                                                                            paddingBottom="40"
                                                                            />
                        </s:layout>
                        <s:Label text="Label"/>
                        <s:HGroup>
                                  <s:TextInput text="Input" />
                                  <s:CheckBox label="CheckBox" />
                        </s:HGroup>
                        <s:Button label="Button"/>
              </s:BorderContainer>
    </s:Application>
    ScaleTest.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     width="100%"
                                     height="100%"
                                     usePreloader="false"
                                     >
              <s:SWFLoader id="tretas"
                                             width="100%"
                                             height="100%"
                                             autoLoad="true"
                                             scaleContent="true"
                                             verticalAlign="middle"
                                             horizontalAlign="center"
                                             source="ResizableSWF.swf"
                                             maintainAspectRatio="true"
                                             />
    </s:Application>
    When I run ResizableSWF and resize the window, the content is scale perfectly...
    ... but when I load it in ScaleTest, the content is also scaled when I resize the window, but it doesn't fill all the window.
    What am I doing wrong?
    Thanks for the help!

    I don't know!
    I'm now doing it manually using scaleX and scaleY.

  • Fully loaded and rendered external SWF printing problem.

    I have an application that loads external SWF files that I have not built and do not have the codebase for.
    I need to know when these SWFs are fully loaded and have rendered themselves on the screen.
    Even gone to the point of giving them 80 enter frame events before trying to print and they show up on the paper sporadically.
    Does anyone know if there's some standard event coming from some object internal to SWFLoader that would let me know when the SWF is "running?"

    There is no way to know in the general case.  If it had an animation of
    birds flying around on it, when would be the right time to print it?

  • Import external swf

    Is there a way to import/include an external swf into a fla
    and give it an instance name?

    my problems a little different yet same subject,
    here's my issue. i've been designing a website by making
    links(in the main site) that load external swf files into empty
    movieclip. now within the loaded external swf files that were
    loaded by my main site(into the empty movieclip), i have links that
    i would like to load a swf back into the main site of another empty
    movie clip. So for instance. in my MAIN site i have to empty movie
    clips. one called Empty one called Container. when i click lets say
    the "media link" on my main site it loads an external media swf
    file. within the media swf file i have links that i would like to
    load "a movie" swf file into Container. I was told about _lockroot
    but i can't figure out the exact code for the external swf file to
    access the main sites other empty movieclips.
    I'm sure its just a little coding mistake, i've tried just to
    put _root.loadMovie("movie.swf", "container") but it removes the
    whole website design and shows just the movie on the main site.
    I hope explained everything..My email is
    [email protected]
    thanks for reading and giving this time.
    Jonathan

Maybe you are looking for

  • Bug in 10.1.2: Encodings

    Hi ! Our company uses JDeveloper for developing our sollution. We wanted to migrate from 9.0.5.2 to 10.1.2, but we encountered a problem. Encoding can be only set to cp1250. I imagine that this is bug, since in 9.0.5.2 this works ok. Is it possible t

  • Can't open photos from later version....

    Hi- I have a mini at home and a G4 at work. I burned a DVD with photos @ home and when I try to open them at work it says that they were created with a newer version of iPhoto. I understand this part but my question is....is the only way to get the n

  • New Mac Book, old Aperture...I have all upgrades for Aperture, but cannot find my original Ap 1 disc...am I screwed?

    I have a new Mac Book Pro and tried to load Aperture on it. Cannot find the original disc but have both discs and serial numbers for 2 & 3...can I still upload? Thanks, Nick

  • Diagram in a file?

    Hi, please tell me, is there any way to save or read created diagram in JDeveloper without cut and paste method? (screenshots) I want to put some of these in - for example - MS Word, or open such a diagram without using JDeveloper (for example on oth

  • What is this whole mess in OTN ? where the glibc 2.1 patch ?

    Hi Everbody I can't seem to figure how this OTN thing is organised, so many information scattered everywere without any design pricniple, no URL to design pages, the find function doesn't display any real usefull information, to broad or to narrow. S