A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Export for actionscript

  1. #1
    ·»¤«· >flashl!ght<'s Avatar
    Join Date
    Jun 2003
    Posts
    746

    Export for actionscript

    Common problem:
    Flash embed data in frame 1(embedded fonts, components, other MCs with linkage), so preloaders don't show untill as bad as 50 percent.

    My Goal:
    Make a preloader which completely gets around this. Simple enough?

    The complication:
    I need to embed font outlines, and have several(non-component) MCs linked to frame2.

    My questions:
    1) When you check 'Export for ActionScript' but uncheck 'Export in first frame' how do you know *what frame* these linked MCs will be exported too? Is there a way to specify what frame? Using AS 1.0

    2) Is there a way to embed font outlines to a frame besides frame1? I need all this stuff on frames 2 and following, but not frame 1.
    >flashl!ght<
    All the normal names were taken.
    Ron Paul was right.

  2. #2
    Novemberain Master
    Join Date
    Sep 2004
    Location
    Void
    Posts
    390
    1)It is loaded in frame it appeared for the first time.
    2)Put a textfield using your font in the 2nd frame...

    I'm not fully confident for a 2nd answer...


    Never give up...

  3. #3
    ·»¤«· >flashl!ght<'s Avatar
    Join Date
    Jun 2003
    Posts
    746
    1)It is loaded in frame it appeared for the first time.
    Where did you learn this? I will have to do further tests because I had assumed this would be the case, but when I tried it I found that unless I checked 'Export in first frame' for an MC in my library, the attachMovie that calls it in frame 3(out of ~80 frames) fails.
    [edit] Ah! Of course: "frame it appeared" - meaning I will have to physically place the object on the timeline somewhere. The 'ol lepor colony approach :-( Well at least it works, thanks mate [/edit]

    2)Put a textfield using your font in the 2nd frame...
    Again, sounds reasonable, but my tests just aren't working. Static or Dynamic TextField? Neither seem to change the data shown to load on frame 1 with the Bandwidth Profiler.

    I'm not fully confident for a 2nd answer...
    Pardon? You answered both my questions, for which I thank you

    Thanks for the help mate, hopefully I can get this figured out.
    Last edited by >flashl!ght<; 01-08-2005 at 12:40 PM.
    >flashl!ght<
    All the normal names were taken.
    Ron Paul was right.

  4. #4
    Novemberain Master
    Join Date
    Sep 2004
    Location
    Void
    Posts
    390
    Comment: it means that if you need to import any of your symbols in a specified frame, just place them on the Stage in this frame.

    If you do not need to use it through place it outside the visible (for user) part of the Stage.


    Never give up...

  5. #5
    ·»¤«· >flashl!ght<'s Avatar
    Join Date
    Jun 2003
    Posts
    746
    I guess that's what I'll have to do, although MCs outside of visible area still take up processor power(though not as much), and even _visible=false it still does. Also my MCs are large and I hate having to clutter my timeline with unused MCs. Oh well, I'm just a neat freak I guess. It works, cheers
    >flashl!ght<
    All the normal names were taken.
    Ron Paul was right.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center