EXPORT CLASSES IN FRAME 2 PROBLEM

Hi to all, i am having a problem trying to do a simple preloader.
i am making a game, only 2 frames, the first is preloader screen, the second is the game (all in actionscript):
if i set EXPORT CLASSES IN FRAME 2, after the game is preloaded ( this.loaderInfo.addEventListener(Event.COMPLETE, onComplete)
i execute gotoAndStop(2).
all ok.
but i see that some creatures (movieclips) DOESNT SHOW. those creature are there, all works fine, but simply are not visible!!! this happen also with some textbox......
i trace (creature.visible)... and // give :    true
also   trace(creature).... // give:   object[creature]       all ok here...
also properties works fine      trace(creature.attack); // gives the right value, is all ok.....
if i set EXPORT CLASSES IN FRAME 1... all works fine (but not the preloader, that doesnt load. simply a white screen of course, until all is loaded, then the frame 1 instantly execute gotoAndStop(2), starting the game)
i dont understand, what happen to movieclips when i export in frame 2? (not at ALL, something is visible... something not.... ))))

Yes, are all unchecked
. only "export in actionscript" is checked, but others are all unchecked.
i have tried both, checked and unchecked.
but... if i have Exactly the same creature, added for 2 different players... the first player has all creatures ok.
the second not.....
the second will not show his creatures (0 shown, no matter what)
if i change the Exportclasses in frame 1... then all goes perfect, all players have shown all correct.... i dont understand why.
i also have prolems with some textbox that doesnt show if i set Exportclasses in frame 2.....

Similar Messages

  • "Export classes in frame x" in AS3: how does it work?

    My steps:
    1. I have some beefy classes
    2. I want my SWF to show a preload anim while it loads these
    classes
    3. Using the "Export classes in frame: " option, I move my
    classes to frame 10
    4. I put a stop(); on the first frame and test w/ the
    bandwidth profiler visible.
    Desired + expected behavior:
    1. My preloader spins, and I have minimal K on the first
    frame and then the main hit on the chosen export frame.
    Observed behavior:
    1. all of my classes are available on the first frame (ala,
    all of my logic can be performed on the first frame, even though
    the framehead is sitting firmly on frame 1)
    2. there is still a spike in K on the output frame
    Notes:
    - am I just missing the point here? Is this how it always
    worked?
    - why is the Document Class available in the first frame? Is
    this mandatory w/ the new structure?
    Thanks for your time and help-
    cgs

    Thanks, moccamaximum, I believe this did open up a connection and now I have no errors.
    However, my problem still persists.
    Here is what it says in the output of my AS3 flash site:
    _root
    SWFBridge (AS3) connected: host
    SWFBridge (AS2) connected as client
    imgNum: 10
    thumb: images/image1.jpg
    image: images/image1.jpg
    thumb: thumbs/image2.jpg
    image: images/image2.jpg
    thumb: thumbs/image3.jpg
    image: images/image3.jpg
    thumb: thumbs/image4.jpg
    image: images/image4.jpg
    thumb: thumbs/image5.jpg
    image: images/image5.jpg
    thumb: thumbs/image6.jpg
    image: images/image6.jpg
    thumb: thumbs/image7.jpg
    image: images/image7.jpg
    thumb: thumbs/image8.jpg
    image: images/image8.jpg
    thumb: thumbs/image9.jpg
    image: images/image9.jpg
    thumb: thumbs/image10.jpg
    image: images/image10.jpg
    4
    _root
    4
    163
    _root
    163
    67
    _root
    67
    43
    _root
    43
    56
    _root
    56
    20
    _root
    20
    85
    _root
    85
    64
    _root
    64
    3
    _root
    3
    I don't understand how its able to trace that it is getting the images in the path, yet there are no images to be seen in the gallery!
    I found out that my gallery does work (with images and all) when loaded into a movieclip in a blank AS2 file instead of my AS3 site. Am I doomed since even localconnection will not help?

  • ActionScript Project - Export classes in frame 2?

    I have a holder swf that loads in a swf that has its own built in preloader. Problem is those preloaders are not seen. The loaded swf only displays after it is 100% complete. On its own, the swf with preloader works fine.
    I created the preloader by using the Frame metadata tag:
    (import classes etc.)
    [SWF(frameRate=60, width=900, height=580, backgroundColor='#2A3146')]
    [Frame(factoryClass="screens.Preloader")]
    public class MainClass extends Sprite
    Then in the Preloader class when all is loaded:
            private function onLoaded():void
             this.nextFrame();
             var mainClass:Class = Class(getDefinitionByName("MainClass"));
             if(mainClass)
                 app = new mainClass();
                 addChild(app as DisplayObject);
                app.start();
    In the holder swf it does something like this to load the swf:
                gameLoader = new Loader();
                gameLoader.load(new URLRequest(gamepath));
                gameLoader.contentLoaderInfo.addEventListener(Event.INIT, onGameLoadStart);
                gameLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onError);
            private function onGameLoadStart(e:Event):void
                preloader = gameLoader.content;
                addChildAt(preloader,0);
    I thought this was the to do a "export classes in frame 2" kind of thing in an actionscript project, and it works great on its own but not when loaded inside another swf. Is there something I'm missing?
    I know I could just built a preloader in the holder swf, but the holder swf is loading in games that all have a unique style on thier own and the games' preloaders all dipict its games style.
    Thanks.

    You were right. It was the Loader not having the size. After your post I checked the to see if the server was serving with the right mimetype and with no g-zip compression. Everything was in in correct order. Then I checked from my connection at home and everything is loading as intended. Come t find out its something with our firewall. When checking from work and the swfs are on a server outside our firewall the total bytes are unknown. If they are on a server within our firewall they are fine. (Most problematic in Webkit browsers). So I guess i was going about it the right way. Thanks for your help.

  • AddChild + "export in first frame" unchecked

    Hi all,
    i've got this problem that i can't figured out. i've tried
    google and adobe website, but no luck. i guess the people here
    could help me
    this is about addchild and export in first frame. i wanna
    call an object from my library. in its linkage option i:
    1. name it "rectangle"
    2. give a class name "Rect"
    3. have a base class "flash.display.MovieClip"
    4. check "export for Actionscript"
    5. unchecked "import in first frame"
    no problem this far.
    but when i tried to call it in main timeline with this
    script:
    var a:Rect = new Rect();
    addChild(a);
    i got this error:
    1046: Type was not found or was not a compile-time constant:
    Rect.
    1180: Call to a possibly undefined method Rect.
    why is that?
    isn't flash automatically generate the class for me?
    (a definition of this class could not be found in the
    classpath, so one will be automatically generated in the SWF file
    upon export.)
    can anyone help with my problem...

    because you haven't done anything to export your class.
    if you're not going to let flash take care of exporting your
    class in the first frame, you have to do something to export it
    later. and you're not and flash won't do that automatically
    becauese it doesn't know what you want to do.

  • Export in first frame

    I have some large movie clips that I don't want to load in
    the first frame. So in my publish settings I set my classes to load
    in frame 3. Then I've turned off "Export in first frame" for my
    large movie clips and place them on the stage in frame 2. I've
    placed a simple "loading" message in frame 1 and 2. This worked in
    AS2, but in AS3 my movie clips are invisible when I turn off
    "Export in first frame". I think they are invisible because I'm
    making a game and there are bullets being fired from the x and x
    coordinates of were the enemies should be.
    Does anyone have any suggestions?
    Thanks!

    because you haven't done anything to export your class.
    if you're not going to let flash take care of exporting your
    class in the first frame, you have to do something to export it
    later. and you're not and flash won't do that automatically
    becauese it doesn't know what you want to do.

  • How do I export a .MOV frame as a PNG?

    How do I export a .MOV frame as a PNG? Currently, I can only seem to export as a .PCT through "Export Movie to Picture", even when I select "Use: PNG".
    Currently, the workaround I use is to export using "Export Movie to BMP", and then converting to PNG with an image editor (but this would be unnecessary if QuickTime is capable of a direct conversion to PNG).

    It doesn't seem to be a simple as simply changing the extension.
    I ran into this problem when trying to masquerade a QT pct file as a png file as a preview for a flash video. When embedded in the flash player, it would not appear in any browser. (BTW --- It appeared just fine as a plain img in any browser.)
    Here was my rather specific fix, which shows that simply changing extensions doesn't always fool every application:
    1. Open the png file in a text editor (in my case, emacs) which will let you edit binaries as ASCII text.
    2. Look through the file. Assuming that non-ASCII characters are shown in octal with a preceding \, you'll see the following
    \377\377\211PNG
    3. Delete everything until just after the two \377 characters, so that the file starts with \211PNG. (If you are editing in hex, look for ff ff 89 50, and delete up through the ff ff.)
    4. Save the file.
    After doing this, it embedded just fine.
    So.... simply swapping the pct extension for png isn't a true fix in all ways. I'm guessing that pulling off the start of the file tears off the wrapper alluded to above.

  • Sync and frame rate problems importing video to Flash CS3

    Just like the subject states, I am indeed having frame rate problems importing video to Flash CS3.
    When I export a video from Premiere with the settings:
    1280x720
    frame rate of 23.976
    using H264 or Animation (basically every codec produces the same results),
    "embed video on SWF and play in timeline"
    When I do this the file exports fine. Playing it in Quicktime works fine and the audio syncs up no problem. But when I import it into Flash using the same settings, for some reason the movie clip is now too fast in that the video does not match the audio and seems to be at more like 12 fps now (just a guestimate). The action of the video is over long before the audio even comes in.I have verified that the frame rate is correct in Flash so it's not that.
    I've done this literally hundreds of times in the past and suddenly it does not work and I can not figure out why. I'm not even really using video, but actually artwork that I am putting together as an animatic for an animated piece so the video could not have been imported incorrectly or digitized wrong either. Can someone out there please tell me how to make this work? Any help would be GREATLY appreciated!
    -Mike

    Thanks for you quick response however it really doesn't apply to what I am doing in any way. I will not be uploading the video to a server. I am using the imbed function so I can use it as a layer and then animate over it. It is just reference and will ultimately be deleted. The Fla file does indeed carry the same specs as I stated in my first post. I have done it this way dozens of times and I am trying to figure out why it suddenly will not work.
    ~Mike

  • Ghosting effect - Is it a frame rate problem?

    I've just made a music video lyric video (I'm still really new to movie editing) and there's this ghosting effect. Does anyone know what may cause it? Is it a frame rate problem, or the frame blend thing?
    Here's the cliup on YouTube: (You can really see the ghosting when you watch it in HD.)
    I'm using Adobe Premiere Pro CS4 on Windows 7 (32 bit)

    hmm, looks like you need to read a few things maybe...to understand some stuff.
    Here's some links I got from google for you
    NTSC
    Short for National Television System Committee. The NTSC is responsible for setting television and video standards in the United States (in Europe and the rest of the world, the dominant television standards are PAL and SECAM). The NTSC standard for television defines a composite video signal with a refresh rate of 60 half-frames (interlaced) per second. Each frame contains 525 lines and can contain 16 million different colors.
    The NTSC standard is incompatible with most computer video standards, which generally use RGB video signals
    ============
    info about aspect ratios... and better to scale down than up...or just stay the same as source.
    http://www.techsmith.com/tutorial-camtasia-understanding-dimensions-prior.html
    ================
    Soooo, you didnt export ntsc and it looks like you upscaled to 1080p but a different fps than original also.
    In gereral if you start at say 24fps and make it 30fps, your editor has to "make" new frames ( add 6 per second ) and it does that by creating new frames out of what you have on timeline. Sometimes a VBR 2 pass will give you better results than 1 pass, but you have to experiment a bit ( just export small section of timeline for tests...and try to use area where you see your "ghosting" ).
    good luck

  • I want to play video on my computer to make some analysis to frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program

    HI All
    I want to play video on my computer to make some analysis to it's frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program .
    I used IMAQ AVI Read Frame VI
    for example I have avi video It's frame rate is 25 fbs ,my image processing code is very fast that can process more 25 fbs,so I want to accelerate video acquisition

    Hi abdelhady,
    I looked into this further, and reading an AVI file into LabVIEW faster than its frames per second won't be possible. LabVIEW could read in frames faster than 25fps, but because it will be pulling the available frame at that point in time this would just give you duplicate frames. If you want to be able to read in frames at faster than 25fps, you would need to speed up your AVI file before reading into LabVIEW.
    There's a good shipping example to show how to read in from an AVI file, "Read AVI File.vi". You'll notice that they add timing to make sure that the while loop runs at the right speed to match up with the frames per second of the file being read. This is to make sure you're not reading duplicate frames.
    Thank you,
    Emily C
    Applications Engineer
    National Instruments

  • Why I can't export a single frame from my composition?

    I try to export a single frame from the cavas but motion just did nothing when I click on export. Is there something wrong with my motion setup? I have trashed the motion's plist couple times already but still having the same issue. I can't even save the project. When click on save, motion did nothing, just like export. HELP!

    I see that you are on an intel mac. Are you running the universal versions (Final Cut Studio 5.1 w/ Motion 2.1)?
    See this article for troubleshooting steps: http://docs.info.apple.com/article.html?artnum=302596.
    When I am having major issues like this, I just start over from scratch. Do a complete erase and install with the OS discs, reinstall all applications and update everything with software update. I keep a separate partition just for film and video work that I can blow away any time (I don't store any important files on it).

  • Exporting movies in iPhoto using 'Current' Setting, exports the first frame only

    Hi,
    When I export my iPhoto library into separate events using the 'Current' Setting, it exports all video / movie files as the original file type with a single frame in it. 
    I don't want to go through each event and drag and drop each video to the exported folder as that would be an enormous pain.  Does anyone have ideas to fix this?  I have edited some photos, so I don't want to export as 'original' if possible
    Thanks!
    iPhoto has the latest updates installed and the original videos play perfectly in iPhoto.

    Yeah, I have upgraded from previous iPhoto versions, some videos are a few years old (.MOV iPhone format) and some are only a few months old (Canon EOS .MOV format), both export only first frame.  I might have to recreate my iPhoto library and start fresh!  Currently I am exporting as 'Original' and 'Current' to two different folders, and just grabbing the videos from the original and replacing the videos in the 'Current' folder.
    LarryHN's solution works well, but when I add a second condition to select a specific event, I can't choose from a list of specific events (unlike albums).  Entering in the event title (in the Event condition) sometimes adds videos from silmilar titled events.

  • Two objects claim ownership of UID: U3615 Class: Text Frame

    Hi guys,
    since i updated today i can't save my project file anymore. Getting an error when i try to save saying:
    Two objects claim ownership of UID: U3615 Class: Text Frame
    Is there a way to fix it or did i lose all my progress from today? That would be devastating.
    Greetings,
    Joern

    Please send us a copy of your .muse file at [email protected] and include a link to this thread. If it's too big for e-mail (>20 mb) you could use a service like Dropbox, Adobe SendNow, WeTransfer, etc. We'll repair and return.

  • Can you send/export a still frame from an FCP sequence?

    Can you send/export a still frame from FCP as a picture to the desktop? Doesn't matter if it is a .jpeg, .tiff, . bitmap
    G5 Mac OS X (10.4.8) Dual 1.8

    serach the forum for any of the hundreds of posts detailing this process -
    my personal favorite is shift-N, apple-9, type name, drag to bin, batch export.
    The best thing about the batch export queue is you can set up a batch with the file format and destination folder and then keep adding new clips/stills to export.
    Hope this helps -
    Max Average

  • Exporting a freeze frame as a still image

    Hi I need to extract a still frame from some footage, how do i do this so i can export it so i can use on a website ?
    Hillster

    Here's a really cool way if you have Photoshop, especially if you ever need to export multiple still frames:
    Generally after a cut is complete we export a Quicktime movie of it in our favorite format [generally ProRes or XDCAM EX]. Open that file in a Quicktime player.
    Open Photoshop create a new document, in our case 1920x1080P.
    Place the Quicktime player just above the Photoshop document, scroll to the still you want, hold down shift [this centers the image in the center of the frame] and drag and drop into the Photoshop document.
    Do this as many times as you want, each time you drop an image it creates a new layer in the Photoshop document.
    Once you have the stills you want, close Quicktime, in Photoshop go to File/Scripts/Export Layers to Files and it will export, name and place the files where you tell it in TIFF, JPEG or whatever format you choose.
    We do a lot of corporate stuff and since exporting a still from FCP was much more time consuming than it should be we rarely provided stills. Once we were told about this method we provide 15 to 20 stills from every project for use in brochures and other promotional materials.
    The cool things is that they're not aware how quick and efficient it is to do this, and we $till charge for every $till!

  • Some lib include Export Class,i use dependency tool to view this lib,how to know function's define

    sample:?Polaris_Measure@CCBjxguance@@QAA_NPBG0@Z 
    i know CCBjxguance is export class,Polaris_Measure is class's function,@@QAA_NPBG0@Z  is params and return value,but @@QAA_NPBG0@Z mean ? which data type ?

    So I take it that you have a .dll file but you do not have headers for it? Then finding out the params and return type won't help you much anyway.
    That's a member function, to be able to use it you need an instance of that class. And to obtain an instance of that class you need to know the full definition of that class, including its member variables. Member variables aren't exported so you have no
    way of knowing those, short of reverse engineering the .dll code.
    Anyway, the full declaration of that function is:
    public: bool __cdecl CCBjxguance::Polaris_Measure(unsigned short const *,unsigned short const *)
    This can be obtained by using the undname utility from a VS command prompt:
    undname "?Polaris_Measure@CCBjxguance@@QAA_NPBG0@Z"

Maybe you are looking for

  • Emails don´t appear in phone´s inbox (only in subf...

    I run nokia messaging on e71 and synch with gmail. Many (gmail labeled) emails don´t appear in the phone´s inbox, but I have to navigate to the subfolder "all mail" to see them. Certainly, they appear in my gmail inbox just normally. Also, I am not a

  • Songs I have on iPhone now no longer appear with iTunes Match

    I had some albums on both my Mac and my iPhone. Now with Match, the album doesn't appear on my iPhone-even though I manually had uploaded it. Match also doesn't load up all my music: I have a mere 2,400 songs-and the last 100 songs have been a nightm

  • Why when I copy a CD from my PC to iTunes do the tracks load into different sections of the library?

    I've just bought an ipod touch 64gb and have successfully set up iTunes etc. The issue is that when I paste a CD into iTunes from my PC sometimes the tracks are as on the CD but other times they get split up and can be found throughout the iTunes Lib

  • Shared services user/admin guide

    Is there any pdf doc for shared services admin/user guide,, I tried searching for it but couldnt find it.. i can see a help option when I work with SS which gives goo d help ...but is there any pdf doc to go through before I really start working on S

  • Error message when running Business rules

    Hello, We are having the following error message when launching the business rules; cannot calculate - analytic server error (1013131): Failed to start Asynchonous thread. When looking att he Essabse log, we find the following errors around the same