Flash CS5, custom SWC without inlining TLF textLayout? (adds 125KB)

I have a set of custom UI elements that are used in a number of activities, and want these maintained separately but linked into the activity on compile.  Basically an external library that can be linked to by all activities.  My understanding is that a SWC is the correct way to implement this.
I have created a bare-bones example of this duplication problem, download here.  The following description is based on this example.
The "shared.fla" has a library symbol with a linkage id (which is actulaly just a TLF Textfield).  Compiled to SWF this is 52KB (all of which is flashx.textlayout.* TLF actionscript bytes) + 153KB textLayout_*.swz.  Compiled to SWC this is 397KB.
The "activity_link_swc.fla" displays this shared library symbol on the stage, and links to the "shared.swc".  This creates a 179KB swf file.  This filesize is the same if the Runtime Shared Library Settings default linkage is either "RSL" or "Merged Into Code" - obviously the inclusion of my "shared.swc" automatically inlines the textLayout code.
If instead of linking to the SWC I just copy all of the SWC's library contents into the activity, of course this gives a SWF size the same as the "shared.fla" - 52KB + external textLayout.swz - 127KB smaller (assuming the swz file will be cached locally, and that's the whole point of SWZ files).
Is there any way to get this to work?  Having a compile time shared library of assets, without incurring a penalty for touching the mess that is TLF?

I would if we could - but we need support for unicode characters.  Our primary language is Nepali using the Devanagari script, which is not supported by Classic Text (the written language is all about complex ligatures - often up to five multibyte characters are rendered as one).

Similar Messages

  • Flash CS5: Export SWC doesn't work

    Could anyone help me with this problem. I have Flash CS5 and I'm trying to export SWC from it to use as a library with Flex SDK (FlashDevelop). I have "Export SWC" checked in publish settings and for a while it worked. Now, even if it still is checked, SWC isn't created (at least in the same directory as SWF). I even tried creating a completely new FLA and copied everything from the old library in there. Still it doesn't work.

    I periodically run into this issue too. I tried various 'voodoo' practices like:
    removing old versions of the exported files first
    reverting to "Use Default Names" on the Formats tab
    adding HTML as a Type
    removing HTML as a Type
    un-checking "Include XMP metadata"
    But I still haven't found out what makes or breaks the magical SWC export...
    I'm using Flash CS5 Professional 11.0.2.489 on a PC
    Publishing as AS3, Player 10
    The .fla is quite large, 7,200 KB,
    The resulting .swf is 1,808 KB...
    still no swc...
    Anyone else have any tips on this issue?

  • Flash CS5 custom component

    Hello,
    I have a problem since I improved my version of Flash (CS3 to CS5). I created a component in which there are several parameters. My problem concerns parameters which are "Number" type. It appears to no longer be managed the same way since CS5. Indeed, if I pass a value greater than 1, the value retrieved in actionscript is 0. It seems that the values of "Number" type for CS5 should be as follows 0 <= x < 1.
    Is this a bug? How to pass a value greater than 1 (eg: 800) ?
    Thank you in advance.

    I would if we could - but we need support for unicode characters.  Our primary language is Nepali using the Devanagari script, which is not supported by Classic Text (the written language is all about complex ligatures - often up to five multibyte characters are rendered as one).

  • Flash CS5.5 BUG - Put a TLF anywhere in my FLA, and it triggers random runtime errors

    This is funny,
    if I put a TLF in my FLA, doesn't matter where, the project compiles but as soon as it runs triggers errors that are not related to TLF at all.
    It doesn't find a linked class apparently. A class which has nothing to do with TLF.
    I remove the TLF (in root, anywhere I put it no difference) and the project runs again.

    Set the library as "merge into code" and the problem doesn't happen.

  • How do I create a new frame using Flash CS5 on a Mac so I can add more pictures to my website?

    I have what I hope is a fairly straight forward question that I hope you can answer if you write code with a Mac or are at least familiar with the process on a Mac?  The person I have been working with to create my photography website uses a PC.  Here is the problem.  I am trying to use my Mac in order to create frames so that I can add 5 more images to a portfolio that presently has 15 images.  The code is in an index.fla file.  If I want to create a new frame in the index.fla, let's say LOAD CODE 381 and want to use the same text that is already present in LOAD CODE 380 but with a few edits, I have no trouble going to the Action-Movie Clip and finding LOAD CODE 380 in the left hand column.  The problem is, on a Mac, how do I create frame LOAD CODE 381 and then how do I copy and paste the text from LOAD CODE 380 into LOAD CODE 381?  It looks like on a PC one can open LOAD CODE 380 in the Action-Movie Clip, highlight the text then right click on the red rectangular box in the timeline.  By doing so (on a PC) one sees a drop down menu that gives the option to "copy key frame".  What is the equivalent of the "copy key frame" on a Mac?  I can see where on the Mac you can go to Edit >copy.  Is this the equivalent of "copy key frame" on a PC?  If so, once I "copy" the text how do I create the new LOAD CODE 381 so that I can paste the text into the new frame?
    I WOULD BE EXTREMELY GRATEFUL TO ANYONE WITH THE ANSWER TO THIS QUESTION!  THANK YOU!!!!!

    Sorry not to be more clear.  It is a name assigned to one of the 
    frames by the person who originally designed the website and is shown 
    in the list of about 150 action frames that were created in this 
    particular fla document.  This "list" comes up in the left hand column 
    of the Action-Frame box. When I click on Load Code 380 which is half 
    way down the column of frames, the following text comes up on the 
    large screen to the right of the column of 130 frames.
    IMAGE.gotoAndPlay("start");
    loadVariables("data/series01/15title.txt", "_root.IMAGE.TITLE");
    loadVariables("data/series01/15price.txt", "_root.IMAGE.PRICE");
    loadMovie("data/series01/about.swf", "_root.IMAGE.ABOUT");
    IMAGE.mc_pic.attachMovie("pic","pic",1,)
    IMAGE.mc_picTHUMB.attachMovie("pic","pic",1,)
    This text is what I am trying to transfer to copy then paste into a 
    new frame after which time I want to slightly edit the text.  I am not 
    a programer so I apologize if I am not using all of the correct 
    terminology.
    Thank you again,  Jon

  • SWF with TLF compiled in Flash CS5 can't be imported into Flex 4.5

    Hello there,
    Trying out Flex 4.5 preview I've run into a problem:
    In my Flex project I dynamically load various SWF files compiled in Flash CS5. These SWFs use TLF.
    With Flex 4.1 everything worked as expected, but in Flex 4.5 I get RTE(s).
    Just to be clear: if the SWF uses old classic text, Flex 4.5 displays it normally, but once you try TLF - nothing but RTE.
    Anybody has experienced that?
    I've also posted this on the TLF forum.
    I'm on OS 10.6.6, and use the prerelease version of Hero (not the latest 18623)
    Thanks,
    FTQuest

    I tried to add the newer TLF swc to FLash CS5 (pointing to it in the library path), but it didn't work.
    So, we'll wait till Flash team releases next update.
    Thanks for the clarification,
    FTQuest

  • How to Installing AIR3 SDK in Adobe Flash CS5.5?

    Hi All,
    Can  anyone help me, with installing AIR3 SDK in Adobe Flash CS5.5?,
    I try to extract rename AIR3.0 to AIR2.6 and copy to the same location as AIR2.6 in "C:\Program Files\Adobe\Adobe Flash CS5.5" and
    try to extract and add AIR3.0  to the same location as AIR2.6 in "C:\Program Files\Adobe\Adobe Flash CS5.5"
    But it's not work, I don't see publish for runtime AIR3.0.
    Thanks,
    Porawee

    Ok dasessig, I will explain step by step with my solved for WIN version reference from original http://blog.prevail.co.nz/2011/06/21/overlaying-air2-7-in-flash-cs5/.
    * I have installed only Adobe Flash Professional CS5.5, not need CS5.0, I don't test in OSX version but i think it's same as WIN version.
       1.  Download and extract the latest AIR 3.0 SDK.  and extrack to AIR2.6.
            Note : I got this file "air3_rc1_sdk_win_090611.zip" and extrack files to "AIR2.6"
       2.  Download and install Adobe Flash CS5.5.
       3.  Closed Flash Professional CS5.5.
       4.  Place the folder in either of the following locations:
              WIN: C:\Program Files\Adobe\Adobe Flash CS5.5\
              OSX: Applications/Adobe Flash CS5.5/
            Note : It's will replace WIN: C:\Program Files\Adobe\Adobe Flash CS5.5\AIR2.6
       5.  Create new folder name "AIR3.0" in "Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/"
       6.  Browse to the Adobe\Adobe Flash CS5.5\AIR2.6\frameworks\libs\air\ and copy airglobal.swc.
       7.  Paste the SWC "airglobal.swc" file in Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/AIR3.0/.
       8.  Browse to Adobe Flash CS5.5/Common/Configuration/Players/ and copy "AdobeAIR2_6.xml" and paste to new copy file.
       9.  Rename new copy file "AdobeAIR2_6.xml" to "AdobeAIR3_0.xml".
            Note : Make sure you rename new copy file NOT original file "AdobeAIR2_6.xml"
      10.  Open and Edit "AdobeAIR3_0.xml" to match below xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <players>
      <player id="AdobeAIR3_0" version="13" asversion="3" minasversion="3">
        <name>AIR 3.0</name>
        <publishobject2 id="Air2_5" version="2.6" intversion="2.6"></publishobject2>
        <path platform="WIN">Air2_5.dll</path>
        <path platform="MAC">Air2_5.bundle</path>
        <playerDefinitionPath as2="$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/AIR3.0/airglobal.swc" />
        <!-- This item is used to indicate that some UI integrated within Flash should be enabled for this player.
    -->
        <feature name="multiScreenPublish" supported="false" />   
        <feature name="mobileDebug" supported="true" />
        <feature name="apolloPublish" supported="true" />
        <feature name="apolloTestMovie" supported="force"/>
        <feature name="apolloDebugMovie" supported="true"/>
        <feature name="apolloPackaging" supported="true"/>
        <feature name="publish_localPlaybackSecurity" supported="false" />
        <feature name="publish_hardwareAcceleration"     supported="true" />
        <feature name="useDefineFont4ForDeviceText"          supported="true" />
        <feature name="useDefineFont4ForEmbeddedFonts"       supported="true" />
        <feature name="textLayoutFramework"       supported="true" />
        <encodingPresets>
            <preset uuid="0c95a8ba-8b71-44d5-b269-8fd1cf89a6ed"  name="F4V - Same As Source (Flash 9.2 and Higher)" ext="f4v" default="true"/>
        </encodingPresets>
      </player>
    </players>
    11.  Run Adobe Flash CS5.5 > File > New... > ActionScrip 3.0
      12.  Now you have new file "Untitled-1.fla" then add below code to frame 1.
            import flash.desktop.NativeApplication;
            trace(NativeApplication.nativeApplication.runtimeVersion);
      13.  goto menu File > Publish Setting...   select target Player : AIR 3.0
      14.  Test with menu Control > Test Movie > in AIR Debug Launcher (Desktop)
      15.  Finally, you should have output in panel like this :
             [SWF] Untitled-1.swf - 2148 bytes after decompression
             3.0.0.3880
      Note : AIR3.0 for iOS and Android is below, you should followed step 1-10 before.
      AIR3.0 for iOS : open and edit "AiriPhone.xml" in "C:\Program Files\Adobe\Adobe Flash CS5.5\Common\Configuration\Players"
    < ?xml version="1.0" encoding="UTF-8"?>
    <players>
    <player id="PFI1_0" version="13" asversion="3" minasversion="3">
        <name>AIR for iOS</name>
    <publishobject2 id="Air2_5" version="3.0" intversion="3.0"></publishobject2>
    <path platform="WIN">Air2_5.dll</path>
    <path platform="MAC">Air2_5.bundle</path>
    <playerdefinitionpath as2="$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/AIR3.0/airglobal.swc" />
        <!-- This item is used to indicate that some UI integrated within Flash should be enabled for this player.
    -->
        <feature name="multiScreenPublish" supported="false" />
        <feature name="mobileDebug" supported="true" />
        <feature name="apolloPublish" supported="true" />
        <feature name="apolloTestMovie" supported="force"/>
        <feature name="apolloDebugMovie" supported="true"/>
        <feature name="apolloPackaging" supported="true"/>
        <feature name="publish_localPlaybackSecurity" supported="false" />
        <feature name="publish_hardwareAcceleration"      supported="true" />
        <feature name="useDefineFont4ForDeviceText"          supported="true" />
        <feature name="useDefineFont4ForEmbeddedFonts"       supported="true" />
        <feature name="textLayoutFramework"       supported="true" />
        <feature name="rslLinkageSuppressed"       supported="true" />
        <encodingpresets>
    <preset uuid="0c95a8ba-8b71-44d5-b269-8fd1cf89a6ed"  name="F4V - Same As Source (Flash 9.2 and Higher)" ext="f4v" default="true"/>
    </encodingpresets>
      </player>
    </players>
       AIR3.0 for Android : open and edit "Android.xml" in "C:\Program Files\Adobe\Adobe Flash CS5.5\Common\Configuration\Players"
    < ?xml version="1.0" encoding="UTF-8"?>
    <players>
    <player id="android_0" version="13" asversion="3" minasversion="3">
        <name>AIR for Android</name>
    <publishobject2 id="Air2_5_Android" version="3.0" intversion="3.0"></publishobject2>
    <path platform="WIN">Air2_5_Android.dll</path>
    <path platform="MAC">Air2_5_Android.bundle</path>
    <playerdefinitionpath as2="$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/AIR3.0/airglobal.swc" />
        <!-- This item is used to indicate that some UI integrated within Flash should be enabled for this player.
    -->
        <feature name="multiScreenPublish" supported="false" />
        <feature name="mobileDebug" supported="true" />
        <feature name="apolloPublish" supported="true" />
        <feature name="apolloTestMovie" supported="force"/>
        <feature name="apolloDebugMovie" supported="true"/>
        <feature name="apolloPackaging" supported="true"/>
        <feature name="publish_localPlaybackSecurity" supported="false" />
        <feature name="publish_hardwareAcceleration"      supported="true" />
        <feature name="useDefineFont4ForDeviceText"          supported="true" />
        <feature name="useDefineFont4ForEmbeddedFonts"       supported="true" />
        <feature name="textLayoutFramework"       supported="true" />
        <feature name="rslLinkageSuppressed"       supported="true" />
        <encodingpresets>
    <preset uuid="0c95a8ba-8b71-44d5-b269-8fd1cf89a6ed"  name="F4V - Same As Source (Flash 9.2 and Higher)" ext="f4v" default="true"/>
    </encodingpresets>
      </player>
    </players>
    Hope it's should work for you.
    Thank,

  • Loading child SWFs with TLF content (from Flash CS5.5) generates reference errors in FB4.6

    I am currently producing e-learning content with our custom AS3-Framework.
    We normally create content files in Flash CS5.5 with dynamic text fields, which are set at runtime from our Framework (AS3 framework in FB4.6).
    Now we are in the progress of language versioning, and since one of the languages is Arabic we are changing the dynamic text fields to TLF fields.
    Then all my problems started.
    In Flash I have chosen to include the TLF engine and to export in frame 2.
    (see to: http://helpx.adobe.com/flash/kb/loading-child-swfs-tlf-content.html )
    I get this error:
    VerifyError: Error #1053: Illegal override of getEventMirror in flashx.textLayout.elements.FlowLeafElement.
                at flash.display::MovieClip/gotoAndPlay()
    I guess it is because our framework wants to gotoAndPlay before the TLF engine has been loaded.
    Can this be it?
    Any good suggestions on how to handle loading child SWFs with TLF content.

    Please refere to the following articles .. you may find some help.
    http://www.stevensacks.net/2010/05/28/flash-cs5-tlf-engine-causes-errors-with-loaded-swfs/
    http://www.adobe.com/devnet/flash/articles/preloading-tlf-rsl.html
    I also faced similar problem and posted a question at the following link, but, I still couldn't find the solution.
    http://forums.adobe.com/message/4367968#4367968

  • Inluding TLF (textLayout.swc) in existing code making it stalled

    Hi Friends,
    I just trying to integrate new TLF text for advance text formatting feature in my project. But after adding library of TLF my code is not compiled by Flash CS5 compiler.
    Ex.:
    private function removeItem(event:Event):void {
                                  var _scrunch:Scrunch = parent as Scrunch;
                                  _scrunch.removeProduct(event.target.overItem.itemData);
    This code was working properly when I do not inlclude textLayout.swc, but once I include compiler starts throwing error:
    D:\Projects\Scrunch\dev\Flash App\Scrunch\src\gt\components\canvas\Canvas.as, Line 122
    1195: Attempted access of inaccessible method removeProduct through a reference with static type gt:Scrunch.
    Please help me out, I need to deliever my project very soon.
    Thanks
    Amitpal

    I did get some more information - I'll try to extract the interesting bits here.  I haven't tried investigated this myself.
    Released swz’s to fpdownload.adobe.com, which is an Akamai based server.  performance expected to be above average and that the uptime will be reliable. .. assets hosted on Akamai are replicated for faster access..
    Regarding compiling and building.
    Here is an example of the setting:
    <runtime-shared-library-path>
                    <path-element>libs/textLayout.swc</path-element>
                    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.0.0.7219/textLayout_427.swz</rsl-url>
                    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    </runtime-shared-library-path>
    Also static-link-runtime-shared-libraries should be set to false to enable RSLs.
    The equivalent command line option is:
    ./mxmlc - static-link-runtime-shared-libraries=false -runtime-shared-library-path=<path to swc>,<rsl url>,<policy file url>  <app name>
    Sounds like you found the code.  There was this information as well:
    RSLs are loaded in Flex by mx.core.CrossDomainRSLItem.
    You can clear the player cache by using the Flash Player Settings Manager, Global Storage Settings (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.htm l). Just check and uncheck the “Store common Flash components to reduce download times”.
    The “runtime-shared-library-path” option is only for Flex projects. The RSL loading is built into a Flex application. An AS3 project would need to implement its own RSL loading if it wanted to use RSLs.
    For not linking the swcs I would investigate changing the Link Type and specifying a RSL URL in the Library Path panel of Flex Builder would be what's needed for a non-flex application.
    Hope that helps,
    Richard

  • How to debug swc files in Flash CS5

    Hi, to coin a familiar phrase "I'm new to Flash developement". My question is very simple. How do I debug .swc files (that I've created in Flash Builder 4) in Flash Professional CS5. I've incorporated the .swc file in the Publish Settings->Flash tab. But when I attempt to consume the objects in the .swc file I get an error saying it "Cannot display source code at this location."
    Can someone tell me the best pratice for debugging .swc files. Do I debug them in Flash Builder or Adbobe Professional Flash CS5?

    I think I found the solution to my problem..... but dont know how to implement it correctly.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/StageScal eMode.html#SHOW_ALL
    I believe I need to use the SHOW_ALL constant, but there isn't an example of how to do it
    Heres my code, it compiles without errors, but when I publish it as .exe I get the 'Error 1037: Package cannot be nested':
    package
              import flash.display.StageScaleMode
              import flash.media.Camera;
              import flash.media.Video;
              public class ScaleMode
                        public static const SHOW_ALL:String = StageScaleMode.SHOW_ALL;
                        var camera:Camera = Camera.getCamera();
                        if (camera != null) {
                                  videoTwo.attachCamera(camera);
                        } else {
                                  trace("You need a camera.");
              stop();
    Any ideas??

  • Importing anything (swf, swc, etc) compiled from Flash CS5.5 into FB 4.5 throws Errors

    I'm using FB 4.5 with sdk 4.1.0.16076.
    I've tried importing an swc file, using the "convert symbol to flex component" command and it throws a VerifyError: Error #1053: Illegal override.
    I've tried just compiling an swf and embedding it in a Flex compoent, again i get a VerifyError: Error #1053: Illegal override.
    I've tried changing a number of compile settings in Flash CS5.5 but with no luck.
    Does anyone have any ideas how to fix this error?

    with the swf it is: Illegal override of createTextLine in flashx.textLayout.compose.ComposeState.
    the swc is  Illegal override of FTETextFieldHostFormat in FTETextField.as$134.FTETextFieldHostFormat.
    these errors seem arbitrary, since the first time i loaded an swc i got a different Illegal override error regarding some kind of CSS object that i can't remember.
    i have read other threads that indicate this problem may occur when compiling objects using different SDKs in the same project. Does Flash CS5.5 compiled objects need to be imported to the 4.5 sdk maybe? (i'm using sdk 4.1).

  • Using .swc in Flash CS5

    I have a user who is having trouble using my library .swc in flash CS5.
    I do not have CS5 to help him out much; but the .swc does work fine with mxmlc from the Flex SDK, as well as under flashdevelop using the Flex SDK. And although not this exact version of the .swc I have previously found it work fine under CS4 and have other users with CS3 who do not have any trouble.
    under mxmlc, using the compiler options:
    --include-libraries $(NAPE_BIN)/debug_nape.swc
    There are no issues, and everything works as expected.
    The error my user is receiving is about an undefined reference to a specific class contained in the .swc (DummyNapeMain)
    This error appears also with mxmlc if I use the option --library-path instead of --include-libraries
    I repeat the test case here if it will help to find a working configuration for CS5.
    package {
         import flash.display.MovieClip;
         import flash.events.Event;
         import nape.util.*;
         import nape.space.*;
         import nape.phys.*;
         import nape.shape.*;
         import nape.geom.*;
         public class Main extends MovieClip {
              public function Main() {
                   super();
                   if(stage!=null)
                        addEventListener(Event.ADDED_TO_STAGE, init);
                   else init(null);
              public function init(ev:Event):void {
                   if(ev!=null) removeEventListener(Event.ADDED_TO_STAGE, init);
                   haxe.init(null);
                   var debug:Debug = new BitmapDebug(600,600,0x333333);
                   addChild(debug.display);
                   var space:Space = new Space(new Vec2(0,400));
                   var walls:Body = new Body(BodyType.STATIC);
                   walls.shapes.add(new Polygon(Polygon.rect(0,0,600,20)));              
                   walls.shapes.add(new Polygon(Polygon.rect(0,600,600,-20)));              
                   walls.shapes.add(new Polygon(Polygon.rect(0,0,20,600)));              
                   walls.shapes.add(new Polygon(Polygon.rect(600,0,-20,600)));              
                   walls.space = space;
                   for(var i:int = 0; i<100; i++) {
                        var b:Body = new Body();
                        b.position.setxy(50+Math.random()*500,50+Math.random()*500);
                        b.shapes.add(new Polygon(Polygon.box(16,16)));
                        b.rotation = Math.random()*2*Math.PI;
                        b.space = space;
                   addEventListener(Event.ENTER_FRAME, function (ev:Event):void {
                        space.step(1/60,10,4);
                        debug.clear();
                        debug.draw(space);
                        debug.flush();
    the .swc is available at: https://github.com/deltaluca/nape/raw/master/bin/release/debug_nape.swc
    Thank you.

    I downloaded a CS5.5 trial to test this out myself.
    The error does indeed happen with the test case;
    my user found a hack to get around the error which is to do:
    DummyNapeMain;
    (just like that) to force the compiler to include it from the .swc and prevent the error occuring.
    Why is there no way in Flash CS5/5.5 to have the entire .swc included without flash trying (and failing) to determine what does, and doesn't need to be included?

  • Flash CS5.5[Publish Settings]: How to include custom Metadata tags in swf?

    In Flash CS5, the 'Publish Settings' for the fla had an 'Export SWC' checkbox that took care of that.
    The option is missing. Why was it removed and how can  that be done in 5.5?

    Thanks sinious, but, it doesn't work.
    Let me elaborate on what I want to do:
    I'm trying to create a swf in Flash CS5.5, that's using a flex library (swc) that relies on Metadata tags (anotations).
    I need to use the metadata tags in my as3 code (in the fla), and They need to be compiled into the swf (by Flash CS5.5 compiler...).
    Although, when I load that swf, the metadata tags aren't compiled into it (I'm using describeType to check if tags are available in the swf).
    In flex, I would use the '-kepp-as3-metadata+=' compiler setting to do that, in Flash CS4 & CS5 I used the 'Export SWC' in the publish settings, but that's removed (WHY???).
    Checking XMP Metadata didn't change that, the tags are still not included in the compiled swf.
    Anyone?

  • Creating a SDK (.swc) in Adobe Flash CS5 - Error + Best Practices Questions

    Hello all,
    I'm currently developing a client library for a server-based API which is developed by my company.
    The goal is for the .swc to be usable in both Flash and Flash Builder (any Actionscript environment, really).  So far I've just been creating it in Flash CS5 and have yet to test it in Flash Builder.  It contains a single piece of UI (a login window) but is intended to expose a number of actionscript classes as API interface points to the developer.  The login window is a single Movie Clip placed onto the stage.  I have been testing by simply running the Flash project for the SDK and it works well.
    However, I run into problems when I attempt to use the SWC in other projects (I have the Flash project for the SDK set to create a SWC as well as a SWF)...
    I link the SWC to the other project using the flash compiler settings
    com.mycompany.SDK is a class required for initialization (singleton) and com.mycompany.LoginWindow is the UI window for logging in
    The developer needs to call SDK.Initialize(), which seems to work fine
    When the following code is added I get the below error: addChild(new LoginWindow())
    1046: Type was not found or was not a compile-time constant: InstanceInfo.
    I take it that the error is a result of an undefined class - but I cannot figure out where InstanceInfo (it is not a class of mine) is being used or how to fix this...

    Found a good example that helped me figure this out.
    http://www.adobe.com/devnet/air/flex/quickstart/articles/xml_prefs.html
    Will share the results when complete.
    Thanks

  • Importing swc file (created in FB4.5) in Flash CS5.5

    Hallo. I am trying to create a library inside flex. This library includes as files and visual mxml files. I am trying to make this swc communicate with my Flash CS 5.5 application but i can't do it. I just wish to ask you if i can import swc in flash cs5.5 if the swc has been created inside fb and contains mxml files... Is that possible??
    Thx
    Max

    Nobody understand my question or nobody knows the answer?
    Max

Maybe you are looking for

  • Copy variable from one thread to another

    My program requires user to input a java file which contains the run() method. In the input file, user can declare variables and use those variables inside the run method. User also need to enter the number of threads to be spawned. The problem is ho

  • Excel CUBESET across multiple dimensions returns #VALUE

    Simplified question: All the cubeset examples I'm finding seem to be limited to one "criteria" http://office.microsoft.com/en-us/excel-help/cubeset-function-HA010083019.aspx Ultimately I need a cubevalue that is based on multiple criteria. When I use

  • Deployable proxy -JNDI lookup

    Hi All, I've created a Deployable proxy for my webservice and deployed the EAR. I can see JNDI registry in the visual administrator. I am now writing a simple  java client to call the proxy. 1. try {    Hashtable env = new Hashtable();    env.put(Con

  • Splitting Airport Connection with a PC

    HI all, i was wondering if it is possible to share the original Airport connection on my AGP Sawtooth 500 with my ugly beige box sitting next to it...Any help is appreciated...thanks!

  • Reciver Problem

    Hello, I have a jdbs sender to XI proxy reciver. i get an error : "No standard agreement found for , CUCC_IQMDRQA1_BSYS, , CRDCLNT800, urn:com.zim:cucc:customer_management, CreateBusinessPartner_Out</SAP:AdditionalText>   <SAP:Stack>Problem occurred