AS3 SWF inside Director 11.5.9 quirk

I've previously used AS2 SWFs inside Director 11.5.9, and the SWFs work fine, actionscript works as it should.
I'm working on a project where I need to use some AS3 SWFs inside Director, and I've come across a limit on the pixel width and height of the SWF. It seems that if either the pixel width or height of the published SWF are greater than 1638, then any actionscript inside the SWF is ignored when the SWF is loaded into director. The SWF still works ok outside of Director.
For example, any actionscript stop(); commands are ignored and the playback continuously loops through the swf timeline.
Has anyone come across this before?
I am almost 100% certain this issue is related to the pixel width / height, as I've made a simple button navigation swf, and published it with different stage sizes. 1638 or less work inside Director, 1639 or more don't work inside Director!

Made me laugh until I cried...
Or did I just cry? :(
Cruel but funny!
Richard

Similar Messages

  • AS2 SWF loaded inside a AS3 SWF

    Hi,
    In a recent project I had to load a FlashPaper2 document
    inside a SWF implemented in AS3. I read a couple of articles about
    Darron
    Shcall's article and
    FlashInterface
    but none of them seemed to be useful in my case.
    I needed to load a FlashPaper SWF inside a AS3 and couldn't
    rely on ExternalInterface since they were not two separate SWF's.
    To be more clear, I was using the Loader class via a Sprite to load
    the FlashPaper SWF.
    Anyways, I created FlashPaperLoader.SWF implemented in AS2
    which was used to load the FlashPaper SWF. This loader was able to
    communicate with the FlashPaper APIs (AS2). As you can guess, the
    AS3 SWF was used to load the FlashPaperLoader.swf.
    What I don't understand is how come the FlashPaperLoader the
    FlashPaper document SWFs can communicate with each other thru AS2
    function calls when they are loaded inside a AS3 SWF, I thought
    that due to VM differences, no communication is possible!
    I hope I was clear, if I was, any guru insight is really
    appreciated.
    Cheers.

    Thanks kglad,
    But you still haven't answered my question. I am not looking
    for solutions, my own solution works. I wanted to understand more
    about the VM's.
    AS3
    var request:URLRequest = new
    URLRequest("./FlashPaperLoader.swf");
    var loader:Loader = new Loader();
    loader.load(request);
    AS2
    var loader:MovieClipLoader = new MovieClipLoader();
    loader.loadClip("./FlashPaperDoc.swf", fpContainer);
    // the loader SWF used IFlashPaper APIs to communicate with
    the FlashPaper SWF.
    Now, the first part (AS3), all that code is interpreted by
    VM2. Once an AS2 SWF is loaded a
    AVM1Movie
    is created and no direct communication between AS3 and AS2 is
    possible. I am curious to know how come the two AS2 SWFs can
    communicate with each other while inside the VM2 space.

  • When can support the AS3 swf files in the Director?

    AS3 has existed for a very long time, but Director 11 con't
    support it.
    So, I want know that when can support the AS3 swf files in
    the Director?
    Thanks.

    Director 11 supports AS3, but to my knowledge you cannot use
    components in your flash file.
    Z.

  • Load AS2 swf into AS3 swf problem

    I have a flash with AS3 and inside this swf i load in a AS2 swf.
    to load swf works just fine, but the problem is when i load this i want to go to
    a specific part of it, for example i want to go to frame 3 in the loaded swf.
    i must control this from the AS3 swf, does someone know if this is possible?
    thanks in advance

    so can i do like this then to go to frame 3 in my loaded swf?
    MovieClip(ldr.content).gotoAndStop(3); ?
    sorry for being such an airhead
    thanks for helping me out =)
    Date: Sun, 7 Jun 2009 10:25:09 -0600
    From: [email protected]
    To: [email protected]
    Subject: load AS2 swf into AS3 swf problem
    no.
    if, in your loaded swf, you have a function f1() on the loaded swf's main timeline and you load that swf using a loader (say ldr), use:
    MovieClip(ldr.content).f1();   // to call f1() in the loaded swf
    >

  • Convert AS2 swf to AS3 swf

    I have a swf (written in AS3) that loads other swfs into it.
    There are no issues when loading other AS3 swfs but there is a
    problem loading AS2 swfs. I get the following error:
    TypeError: Error #1034: Type Coercion failed: cannot convert
    flash.display::AVM1Movie@35d3a51 to flash.display.MovieClip.
    Is there any way to convert the AS2 swf into a AS3 swf so it
    will be compatible with my loader? I cannot go back and change the
    AS2 swfs because I do not have the fla files. Or is there any way
    to incorporate AS3 code that will load AS2 swfs properly? It seems
    hard to believe that Adobe would neglect this backwards
    compatibility issue. Thanks

    Hello Andrei1,
    Thanks for looking at my simple AS3 code. The AS2 swfs that
    I've been working (and having difficulties) with are components
    that I've purchased from places like www.flashden.com. Some are
    image transitions (such as "Dynamic Image Draw found at
    http://www.flashden.net/item/dynamic-image-draw/7532)
    while another is used to create a looped banner rotator animation
    (IMG_loop, a free d/l from www.afcomponents.net). I have another
    that uses an .xml file to configure a slideshow animation.
    You mention "needing to do more" if AS2 scripts inside its
    swf are to be run by the parent AS3 fla; what would these lines of
    code be?
    In researching my problem further I've since realized that
    most of these issues deal both with the version of AS used, as well
    as the version of the Flash player the fla is set up to animate
    for. In particular, the "Dynamic Image Draw" component requires
    that Flash Player 8 or 9 be used with AS2.
    Given that many of my purchased components are like this,
    I've since changed my main fla movie from AS3 back to AS2 and have
    learned that the scripting needed to call individual multiple swfs
    into it at various points in the timeline is MUCH simpler!!!!! One
    single, easily interpreted, line of code vs. 5 lines using
    variables and much more arcane (to me) function calls.
    I started my file with AS3 figuring that I'd be better off
    learning the new version of the language; much stress and
    forehead-rubbing later, I've seen just how much easier and
    understandable AS2 is to learn.
    I recognize that there are likely very strong arguments for
    the more structured coding approach used by AS3, but for someone
    like me who wants to generate customized Flash presentations with
    little fuss, I'm not qualified to make them.
    Perhaps this is a no brainer for those many flash gurus out
    there, but for me this tiny bit of wisdom has been hard fought for!
    That being said, is there an easy way to convert a swf file
    created using AS2 to something that AS3 can work/interact with?
    I've come across a free d/l product called actionscript bridge, but
    haven't been able to understand how to get it to work.

  • SSL access from SWF in Director projector

    Hi all,
    Hoping one of you clever people has the answer...
    I am using a SWF inside a director projector.
    I have successfully been using flashes XML object with
    sendAndLoad to communicate with a PHP script on our web server over
    HTTP.
    The problem is if I do exactly the same just with the PHP
    hosted at a HTTPS address, the flash onLoad fails, no data is
    received with a httpStatus code of 0.
    I have spent sometime googling the issue and believe it may
    have something to do with flashes security.allowInsecureDomain,
    allowDomain, or loadPolicyFile methods, but cannot work out how
    these might be used from an SWF running in director.
    Any help (examples) greatly appreciated.
    Many Thanks
    - Ben

    I'm pretty sure a Director projector can't communicate over
    https.
    Shockwave can, since it "piggybacks" on the browser's
    ability. Hence the
    existence of SecureNet xtra from INM:
    <
    http://www.inm.com/products/snx/>.
    However, I think you'll have to
    route your data sending and receiving through Director rather
    than use
    the built-in Flash method.
    Alternatively, it might work from an externally linked swf
    instead of
    one fully imported, so you might try this.

  • Playing Flash SWF in Director 11

    I created a simple navigation slide type show in Flash CS3
    and tried to use it in a portfolio that I'm creating in Director
    11. I imported the Flash SWF into Director and when I go to the
    file it plays automatically and keeps looping; my navigation
    buttons and actionscript 3.0 that I applied in Flash do not work
    (they do work in the SWF file played with Flash Player 9). I assume
    that I need a sprite script for my SWF cast member in Director, but
    I haven't got a clue as to what to script. I learned Director about
    12 yrs. ago, but haven't used it much since then . . . and I've
    just learned Flash CS3.
    PLEASE HELP . . .
    Thanks
    weet335

    Thanks for the tip, Dan! Now, I've got to ask . . . how
    different is AS2 from AS3? I don't know AS3 good enough to convert
    it to AS2. Where might I find some help for my AS3 script?
    Thanks
    weet335

  • Problems with a AS3 SWF

    Hello,
    I am having issues with a SWF file posting properly in a Catalyst project.  I have already put a post in the Catalyst section but I wanted to bounce the idea off this room that the issue is more SWF and less Catalyst because everything else in Catalyst is working just fine, including other AS3 SWF files that I have linked throught the site.  The files are here:
    www.electronic-lifestyle.com
    If you enter the Home Theater section you will see a SWF load in the film frame after it downloads (maybe 3 seconds).  This SWF with alter the screen on the image and give you controls on the bottom right corner to shift the aspect ratio of the content on the projection screen.  This is a AS3 SWF that works just fine, but if you click on Electronics the page shifts to another film frame that is blank.  It is a scroll panel in Catalyst that is refusing to load the content which is a SWF with several links set up as buttons in AS3.
    I cannot figure out why one SWF will work and the others will not.  Is it possible that I am publishing the files incorrectly somehow?  I checked the publish settings for the files that work and the files that don't and they are exactly the same.  I have tried to rebuild the pages with both the good SWFs and the bad SWFs and I get the same results.
    Even more puzzling is that the entire project works when I check the Local files.  The issue only rears it's ugle head when I put it on the server and try it live.
    If anyone has insight into the connectiuon between Flash AS3 SWFs and the way FXP files imports them that could come close to explaining this please let me know.  The only difference between the two are the buttons, I am going to try to remove the buttons and see if the SWF works.
    Thanks in advance,
    Brett

    Hey,
    Yes I have figured out the issue and I simply can't believe the solution.  I have been discussing it on the Flash Catalyst Forum.  Here is a recent post, please feel free to take a look at the page I have set up to demonstrate the issue in case you ever come across it.  It is a real kick in the head.
    Brett
    Chris,
    Thanks for  the tip but I just figured out the problem and you are not going believe  this.  I removed the buttons from two of the scroll panes and replaced  them with buttons made in Catalyst and the problem magically went away.   Take a look at this page:
    www.electronic-lifestyle.com/SpeakSEL-OLD/Main.html
    The first three pages work just fine but the Third and Fourth pages (Outdoor & Subwoofer) will not load the SWF.   The ONLY difference between these two pages are the buttons in Flash.   It would seem that buttons will create a destructive error that prevents  the SWF from loading.
    If this pans out then the  developers for Adobe really missed a big one with this.  I have over 47  pages that now need to be rebuilt because I assumed that a button built  in AS3 would not interfere with the SWF load.
    Now this  isn't something that happens all the time, I have several SWFs in this  site that use buttons and work just fine but they are nested in Movie  Clips and they all have to do with timeline controls rather than opening  another URL.  Maybe the "_blank" tag is the issue but I am required to  get the user to a different page by the client's request.  I can't very  well go back to the client and tell him that Catalyst has an issue with  that very normal request.
    Anyway, thanks for the  suggestion, I am spending the rest of my day republishing my SWFs  without buttons just to remake them in FC.  BTW, the real kick in the  head is that the SWFs with the buttons work on the local files, its when  you upload to a server that everyting seems to fall apart.
    Brett

  • Having stopped audio with a swf inside a sidelet can someone create a swf that will resume the audio

    Ok, rick is going to post the fla of this file and I will
    post the swf. Basically this is all about having a slide that has
    audio running all the way through and enabling the user to roll
    over a sidelet and have the video and audio stop playback.
    At present, the max you can achieve is, to stop video. The
    audio keeps going and of course everything gets out of
    sync. Rick has create a swf that you input into a sidelet (
    after having imported your image or video ) which stops the audio.
    Fantasitc. Unfortunatly he was not successful in creating a swf
    that will resume the audio.
    So there is the mission. To create something that will resume
    the audio, be it a swf inside the sidelet or something else.

    Hi there paul. Am I right in thinking that your code will
    mute the audio. In my situation this would cause problems becasue
    you would roll over the sidelet - the audio would go silent and
    when you rolled off, or resumed the audio, it would have been
    playing so again the video and audio will be out of sync.
    Rick - rather than another swf which would activate the audio
    and video when you roll off the sidelet ( while that is the perfect
    solution ) what about looking at a button the user can press to
    resume things, maybe Im wrong but that sounds a little easier.
    ( however for all those reading this that is not really the
    solution I am looking for, what Im looking for is the above
    solution where you can just roll off and on and so on )

  • Load and resize a SWF inside a MC

    Hi,
    I'm using AS2 to load an SWF inside an MC. The MC measures
    800x600, while the SWF (which can vary in size) measures in this
    case 14x60, even though, looking at it, it seems to be about half
    the size of the hosting MC. This makes me think that the dimension
    scales are different. I'm loading the SWF using MovieClipLoader and
    I'd like to resize it so that it fits as proportionally snug as
    possible within the MC. How can I do this? If I try to resize the
    SWF to the MC's dimensions, it become way too large and goes off
    screen. If instead I try to rescale the hosting MC to fit around
    the SWF, the SWF itself rescales as well. I'm going nuts! How can
    accomplish this?
    Thank you,
    Tatiana

    To make things simple, I'd like to take an existing SWF (the
    picture) and load it into a FIXED SIZED MC (the frame) and I'd like
    to rescale the SWF so that it fits perfectly into the frame.
    By all means, I know that what you said should work and I
    admit my inexperience with AS2, but somehow the SWF's I'm loading
    in, have scales that are totally different with respect to my
    Stage. I even tried loading the SWF directly onto the stage and
    then I loaded the frame separately onto the stage and tried to
    resize it to the SWF's _width and _height. The frame became a tiny
    dot on the screen, while the SWF filled half of my Stage.
    Thanks again for your help.

  • Loading a SWF inside another SWF question

    Hello friends,
    1. (IMPORTANT) As all we know when putting some Flash SWF
    inside an HTML page, normally it starts playing as soon as its
    first frame is loaded.
    Now in my case I have to load a SWF (let call it Flash A)
    inside another Flash, I used mx.controls.Loader control to do this.
    But this internal loaded SWF (Flash A) doesn't display untill it is
    completely loaded. Although what is interesting is that if it
    contains a sound track I can hear it while it is being loaded.
    I wana know is there any way that we can make this Flash
    display while being still loaded.
    2. Is there anyway to change a Flash playback FPS at runtime?
    Thank you so much for any note and help.
    - M

    damatrixhasu wrote:
    > i want to know how i can load a flash inside another
    flash container
    go to help - search for 'loadmovie'
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Flex to AS3 swf

    I want to get swf files I have produced in Flash Builder 4.5 into Prezi.
    They require what they are calling an "AS3 SWF" file for loading.
    My SWF from FB is not making the trip.
    Any ideas as to how I can get my FB swf to be/look like an AS3 swf?
    Thanks.

    Flex has several dependencies on the framework itself. If you want to bring it into Prezi, I'd create it in Flash and keep it pure actionscript.

  • Imported AS3 swf animation not looping

    I have tried all of the settings in Captivate 5.5 but can't keep my animation looping and not sure why.
    I've imported an AS3 swf animation (just a simple movieclip animation of a blinking line) into Captivate 5.5. I placed the animation at the end of the timeline on the slide, and want the blinking line to stay there and continue to blink (i.e., animate) even after the slide has come to the end of the timeline.
    I've tried everything I can think of. I assumed that checking the "Loop" setting in Captivate for the animation would do it, but it seems to have no effect.
    I am pretty sure what is happening is that the click box on the Cp slide is forcing the animation to pause. In other words, the imported animation's timeline is being forced to pause too. Is there a way to stop this?
    Any ideas?

    Hi there
    Try inserting a Click Box that pauses the slide about half a second before the end of the animation on the Timeline.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Communication between AS2 Template and AS3 Swf

    I created a template in AS2 which loads as2 swf's. i want to load as3 swf. then how can load as3 swf.within as2 template.
    please help me to find out this...

    hI,
    Look at package SDYNAMICDOCUMENTS, or look for DD_* ( This is Dynamic Documents  Tamplates ) in SE38.
    Regards,
    Marcelo Ramos.

  • Load AS2 SWF in AS3 SWF with FlashVars

    I am able to load SWF which is created using AS2 in to AS3
    SWF but I am not able to pass Flashvars to it..
    Does any one has any idea, how can I do that??
    Thanks

    You can talk to loaded AVM1 (AS1/2) SWF using LocalConnection. I used Grant Skinner's SWFBridge class in the past and worked very well:
    http://gskinner.com/blog/archives/2007/07/swfbridge_easie.html
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

Maybe you are looking for