Creating Flex 3.5 components with Flash CS5

Is there a way to create components compatible with Flex 3.5 by using  Flash CS5?  Whenever I run the "Convert Symbol to Flex  Component" command and then try to use the resulting .swc file in a Flex  3.5 app, I get multiple instances of the following error:
1046: Type was not found or was not a   compile-time constant: Matrix3D.
1046: Type was not found or was not a   compile-time constant: Vector3D.
Thanks in advance

Are you using 3.5 targeted for 10 or 4.x?  If you moved to 4.x and are
embedding fonts, you have to set embedAsCFF=false in the @fontFace

Similar Messages

  • How to use Flex Components with Flash?

    Hi!!
    I found a lot of very useful components in the web, but they are all for  Flex, is it possible to use Flex Components with Flash IDE?
    Thanks !!!
    jenry
    PS: this is one of the components I need to use (a tree with checkbox  nodes)
    http://www.sephiroth.it/file_detail.php?pageNum_comments=30&id=151
    another one:
    http://www.darronschall.com/weblog/2006/09/a-flex-2-checked-tree-control-component.cfm

    Flex components are delivered as SWCs just like Flash components, but the
    SWC format is incompatible with the Flash IDE.
    Also, the default fl.. components in the Flash IDE are incompatible with
    Flex components.
    You should be able to load a Flex SWF into a Flash SWF as long as you aren't
    using fl.. components in the Flash SWF.  If the Flex SWF overlays things
    in your Flash SWF then it might block interaction, but otherwise it
    shouldn't.  I don't think the statement you quoted is true for all
    configurations.
    But loading a Flex SWF into a Flash SWF isn't going to help you use those
    Flex components from your Flash IDE.  Try Flash Builder 4 to build out the
    Flex portion of your application.  I haven't tried it myself, but it I think
    it is supposed to have better integration with Flash.

  • Splash Screen for Android with Flash CS5.5

    How can I make a SplashScreen with Flash CS5.5 or just with AIR/AS3 codes. I need it while the App/Game is loading...
    I know that it's possible with Flex 4.5 as:
    <?xml version="1.0" encoding="utf-8"?>
    <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                              xmlns:s="library://ns.adobe.com/flex/spark"
                              firstView="views.HomeView"
                              splashScreenImage="@Embed('splashscreen.png')" />
    http://workflowflash.com/98437/air-for-android-splash-screen-with-flex-4-5.php
    But I want to do it without Flex. So can I ?
    Thank you

    i'm not sure if this is necessary anymore, but i took the advise of another user here
    http://forums.adobe.com/thread/764981
    the key difference is, the user stated a preloading swf needed to embed the image in order to display before the whole apk is loaded.
    Seems to be working for me anyway

  • Open a CS3 fla with Flash CS5

    I'm not sure this is the right forum, so if the admin want to put this tread in the right place, please, do it!
    I'm going to buy a site template provided with fla source, but it is developed in CS3.
    Do you know if there are same problem opening and modifing this kind of fla with Flash CS5?
    Thanks in advance.

    there is no problem opening fla files, made with earlier versions of flash pro, in later flash pro versions (except for as2 containing files and flash pro after cs6).
    so, you're ok.
    except, and this is an excerpt from a book i wrote (Flash Game Development: In a Social, Mobile and 3D World),
    Spreading code across more than one frame of a timeline and especially in more than one timeline is a time-wasting mess and strongly discouraged. Anyone who has ever worked on a Flash file with significant bits of code spread over more than one timeline more than a few weeks after creating that code understands the incredible amount of time that can be wasted looking for pertinent code.
    The worst offenders that I have seen (and I have seen hundreds of problematic Flash projects), in the highly competitive worst Flash coding derby, are templates sold by websites like http://www.entheosweb.com/. Do not be fooled into thinking you can get a head-start on a project by starting with a web template offered for sale. There may be some well-coded templates sold online but I have never seen one.

  • Using Air 2.6 with Flash CS5

    hey there all,
    here is what i am doing so far to use Air 2.6 with Flash CS5. i counts seem to find any help online with this, hope this helps someone...
    Setting Up Flash CS5
    1. replace Program FIles\Adobe\Adobe Flash CS5\Common\Configuration\ActionScript 3.0\AIR2.0\airglobal.swc with the airglobal.swc in the AdobeAIRSDK\frameworks\libs\air folder of the AIR 2.6 SDK zip file (AdobeAIRSDK.zip)
    This lets you compile with the new SDK and use all the new API for camera roll, microphone, etc.
    2. replace Program Files\Adobe\Adobe Flash CS5\AIK2.0 with the AdobeAIRSDK folder in the zip file (AdobeAIRSDK.zip) you downloaded from Adobe.
    now you can do a test movie in Flash CS5 and it will use the new ADL for testing in Flash (finally works with landscape!).
    Publishing
    for publishing, unfortunately you cant use the built-in publish for iOS. i wrote this batch file and use it (also you can write an ant task if you use FDT/Flash Builder). This is for windows 64bit...
    "C:\Program Files (x86)\Java\jre6\bin\java" -jar C:\AdobeAIRSDK\lib\adt.jar -package -target ipa-ad-hoc -storetype pkcs12 -keystore [KEYFILE].p12 -storepass [KEY PASSWORD] -provisioning-profile [MOBILE PROVISION FILE].mobileprovision [IPA NAME].ipa [XML FILE NAME].xml [SWF FILE NAME].swf Icon_29.png Icon_48.png Icon_57.png Icon_72.png Icon_512.png Default-Landscape.png Default-Portrait.png Default-PortraitUpsideDown.png Default-PortraitLandscapeLeft.png Default-PortraitLandscapeRight.png
    i have a 64bit system so i had to specify the 32 bit JRE and use the ADT jar for packaging. now i just double-click the batch file and it compiles for iOS.
    Adjusting the app.xml File
    the yourapp-app.xml file needs some tweaks from the CS5 packager to work in 2.6:
    1. namespace has to change from
    <application xmlns="http://ns.adobe.com/air/application/2.0">
    to
    <application xmlns="http://ns.adobe.com/air/application/2.6">
    2. the version node needs to be renamed versionNumber
    from
    <version>.5.572<</version>
    to
    <versionNumber>0.5.572</versionNumber>
    notice you need to include the leading zero if you arent using a whole number version
    ok, thats what i have so far, hope this helps...

    hey there all, for those on Windows,
    here is a compile script i put together for iOS using AIR 2.6. Copy and past this into a file named "compile ios.wsf". All you have to do is double-click and it will compile and paclage your app.
    the script assumes you have a versionNumber like: 0.4.123 it takes and incrememnts the build number (the last 3 numbers only) by one. i will imrpove this later.
    <?xml version="1.0" ?>
    <job>
    <script language="JScript">
         This file assumes you are using a 3-segment version system.
         It is not very inteligent, it just increments the last set of numbers in the
         versionNumber in the XML file by 1. !!be aware that it is not yet smart enough
         to update the second number!!
         // these properties change depending on your project
         var XML_FILE = "YourApp-app.xml";
         var SWF_FILE = "YourApp.swf";
         var IPA_FILE = "YourApp.ipa";
         var TARGET = "ipa-ad-hoc";
         var KEY_FILE = "dist.p12";
         var KEY_PASSWORD = "PASSWORD";
         var PROVISIONING_PROFILE = "YourApp.mobileprovision";
         var ICONS = "Icon_29.png Icon_48.png Icon_57.png Icon_72.png Icon_512.png";
         var SPLASH_SCREENS = "Default-Landscape.png Default-Portrait.png Default-PortraitUpsideDown.png Default-PortraitLandscapeLeft.png Default-PortraitLandscapeRight.png";
         // the location of your JRE/JDK and Air SDK files
         var JRE_BIN = "C:\\Progra~2\\Java\\jre6\\bin\\java";
         var ADT_JAR = "C:\\AdobeAIRSDK\\lib\\adt.jar";
         // this stuff shouldnt need to change
         var objXML = new ActiveXObject( "Microsoft.XMLDOM" );
         objXML.async = false;
         objXML.load(XML_FILE);
         var root = objXML.documentElement;
         var versionNumberNode = root.selectSingleNode("versionNumber");
         var versionNumberArray = versionNumberNode.text.split(".");
         var buildNumber = parseInt(versionNumberArray[2]) + 1;
         versionNumberNode.text = versionNumberArray[0] + "." + versionNumberArray[1] + "." + buildNumber;
         objXML.save(XML_FILE);
         var cShell = WScript.CreateObject("WScript.Shell");
         var compileCommand = '"' + cShell.CurrentDirectory + '\\compile ios.bat"';
         compileCommand = JRE_BIN + " -jar " + ADT_JAR + " -package -target " + TARGET + " -storetype pkcs12 -keystore " + KEY_FILE + " -storepass " + KEY_PASSWORD + " -provisioning-profile " + PROVISIONING_PROFILE + " " + IPA_FILE + " " + XML_FILE + " " + SWF_FILE + " " + ICONS + " " + SPLASH_SCREENS;
         //WScript.Echo(compileCommand);
         var runVal = cShell.run(compileCommand, 1, true);
    </script>
    </job>
    i will see if there's time to do a shell script of OSX and an ANT script for Eclipse...

  • Compile with Flash CS5 - stageVideo

    Hello guys,
    I have a really annoying pb and I can't figure it out... I am using Flash CS5 to compile my AS3 classes. In order to test stageVideo, I configure mon flash CS5 by using these instructions : http://rhuno.com/flashblog/2011/04/04/how-to-compile-for-flash-player-10-2-with-flash-cs5/
    So :
    - I dowloaded he last SDK release today.
    - I copy/paste the "playerglobal.swc" file in the good place. (Applications/Adobe Flash CS5/Common/Configuration/ActionScript 3.0/FP10.2/)
    - I  change the xml like that : 
    <player id="FlashPlayer10.2" version="11" asversion="3">
       <name>Flash Player 10.2</name>
       <path builtin="true"/>
       <path platform="WIN">Device Central/adcdl.exe</path>
       <path platform="MAC">Device Central/adcdl</path>
       <playerDefinitionPath as2="$(UserConfig)/Classes/FP10;$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(Use rConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/FP10.2/playerglobal.swc" />
    Then, I restarted Flash CS5 and I tested the autocompletion in order to see that this kind of thing work :
    flash.medias.StageVideo
    .. and yes it is.
    But when I tried to compile my fla, I still got this message :
    VerifyError: Error #1014:  flash.media::StageVideo can not be found
    What am I doing wrong ?
    Tkx for any kind of help !
    D

    Tkx for your message.
    The error which is displayed by the IDE is :
    VerifyError: Error #1014: La classe flash.media::StageVideo est introuvable.
    which means in english
    VerifyError: Error #1014: Classe flash.media::StageVideo can not be found.
    But anyway, the StageVideo.as is located in flash.media, isn't it ?
    Tkx by advance

  • How to publish iPhone Apps with Flash CS5 for beginners

    After many trial/errors and with lots of support from this site, I've decided to start building some tutorials to help people get into the packager. This is the first one and, now I'll work on a usual erros handle tutorial.
    Any comments and/or critics are welcome.
    http://www.chrisid.com/blog/2010/10/how-to-publish-iphone-app-with-flash-cs5-for-beginners /
    cheers,
    Chris.

    It helped me a lot, exept I hav this little problem ..
    I can't select the .p12 file .. it's disabled..

  • Can we develop apps with Flash CS5

    Hello,
    I have a doubt, can we make iPhone apps with flash CS5?

    yes, you can but you can't use apples app store for your app without violating their tos.

  • Use WCF with Flash CS5

    Hi,
    Is it possible to call WCF service with flash CS5.
    Regards------Amit

    I am trying this with the following code
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.remoting.RemoteObject;
    import mx.rpc.soap.*;
    import mx.rpc.soap.*;
    import flash.events.Event;
    import mx.messaging.channels.StreamingAMFChannel;
    var wcfProxy:RemoteObject= new RemoteObject( "GenericDestination" );
    wcfProxy.source = "http://Domain.org/Service.svc?wsdl";
    wcfProxy.addEventListener( ResultEvent.RESULT, gotResult );
    wcfProxy.addEventListener( FaultEvent.FAULT, gotError );
    var arg1:Number=5;
    var arg2:Number=7;
    var user:String="test";
    var opList:String= "a";
    function calculate(e:Event)
            wcfProxy.logOn(user,user);
    function gotResult( event:ResultEvent ):void
        trace("The Vlue is = "+event.result.toString());
    function gotError(event:FaultEvent):void
        trace("Error is = "+event)
    sndBtn.addEventListener(MouseEvent.CLICK,calculate);
    but it always give the following error
    Error is = [FaultEvent fault=[RPC Fault faultString="[MessagingError]" faultCode="InvokeFailed" faultDetail="null"] messageId="0102BC47-CED4-B019-F8FE-338684D3DBEB" type="fault" bubbles=false cancelable=true eventPhase=2]
    Please help me out
    Thanks

  • Workflow for creating Flex components in Flash CS5 needs work

    Am I missing something? I thought things were supposed to be easier.
    I'm creating an AIR application for a client with heavy embedded video.
    I have chewed up days on trying to get stuff to work, mostly creating a graphics heavy component that I can use in the AIR (Flex) app.
    Just clicking the magic "Convert Symbol to Flex Component" command won't do it if you have created your own .as class for the symbol, because it won't compile unless you extend the UIMovieClip class. Good luck trying to find it in the namespace.
    After hours I found where to download the Flex Component Kit that contains the swc that gives you the UIMovieClip class.
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1273 018#
    Notice the title of the page:  Flex Component Kit Alpha for Flex 2.0.1
    Shouldn't the need for this kit be ancient history? Shouldn't that swc be built in to the new SDK's and/or Flash Builder 4?
    Make my living on Adobe products, and love them, but this is sloppy. No documentation. No walk-throughs. Have burned many hours that I can't charge the client for because it make me look incompetent.
    Creating a Flex component in Flash with extended functionality SHOULD be a no brainer.
     

    I managed to get it work at the end...
    First, the components directory was at this location:
    C:\Users\<username>\AppData\Local\Adobe\Flash CS5\en_US\Configuration\Components
    Then, to make a component out of a MovieClip, right click on the MovieClip in the library and select "Component Definition" and check the checkbox "Display in Components Panel". What I did then was to right click on the MovieClip and selected export swc file, and saved it in the directory above. This exported only one Component, which was fine for me. Probably it would be possible to do something similar to save a library of components as a .fla or .scw or so, but I don't know the details.

  • Apache flex 4.8.0 with flash builder 4.7 beta 1

    Hi
    Just downloaded the Apache Flex 4.8.0 with their installer application and tried to use it with flash builder 4.7 beta 1.
    I created a new flex project and configured it to use the apache flex 4.8.0.
    Then try to run the project but hundreds of actionscript errors occur.
    VerifyError: Error #1014: Class mx.core::UIComponent could not be found.
      at flash.display::MovieClip/nextFrame()
              at mx.managers::SystemManager/deferredNextFrame()[/Users/cframpto/dev/master/frameworks/proj ects/framework/src/mx/managers/SystemManager.as:286]
              at mx.managers::SystemManager/preloader_preloaderDocFrameReadyHandler()[/Users/cframpto/dev/ master/frameworks/projects/framework/src/mx/managers/SystemManager.as:2635]
              at flash.events::EventDispatcher/dispatchEventFunction()
              at flash.events::EventDispatcher/dispatchEvent()
              at mx.preloaders::Preloader/timerHandler()[/Users/cframpto/dev/master/frameworks/projects/fr amework/src/mx/preloaders/Preloader.as:523]
              at flash.utils::Timer/_timerDispatch()
              at flash.utils::Timer/tick()
    VerifyError: Error #1014: Class spark.components.supportClasses::SkinnableComponent could not be found.
    VerifyError: Error #1014: Class spark.components::Application could not be found.
    Does anyone had the same issue?
    cyrill

    Hi Crill,
    I don't see any error on creating new projects and running the same.
    Where did you get the installer from?
    What is the framework linkage type? You can check this in project properties -> flex build path. It should be Merged into code for Apache SDK.
    thanks,
    Sudhir

  • 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

  • Can't manipulate symbols with Flash CS5 3-D rotation tools:

    Please help! I am just learning to use Flash CS5 Professional (aided by the "Flash Basics" tutorials of Lynda.com). I am presently trying to manipulate symbols as motion-tweens with the 3-D rotation tool found in the Flash toolbar. At the moment I'm trying to take a single word originally created as text, now a symbol, and animate it with motion-tweens so that it appears to be twirling on its x axis or y axis as though it's tumbling through the air like a coin.
    My trouble is that I can successfully get the symbol to motion-tween itself through one half of a single rotation. But nothing I try seems to work to have the symbol complete its rotation all the way around without the symbol wanting to suddenly flip and rotate in the other direction to complete the full 360 degree rotation. Every trick I use, the symbol wants to tween back the way it came to finish its rotation. This is happening whether I try to rotate type as a symbol, or whether I use other objects (rectangles, ovals, etc.) I've created and then converted to symbols and then movie clips (which I have done in all cases). No matter what I try, this program is not cooperating. What am I doing wrong. My Flash CS5 often behaves as if it's buggy (I'm running it on a brand new state of the art iMac, with the latest version of Snow Leopard as my OS). But even with all it's other little bugs, restarting Flash doesn't seem to clear up this mystery. What am I doing wrong? Any advice would be very much appreciated.
    Berzerk Contempo

    Thanks for writing back. No, I have not found anyone but you to even respond to my query. So much for the helpfulness of Adobe's much touted forums website.
    Yes, you have articulated the problem nicely. This is exactly the trouble I am having with the 3-D tool!!! I've tried creating in-between key frames to help guide the correct/desired rotational movement, but even with these key frames, the motion-tween invariably "glitches" the rotation animation back to link to the original key pose the wrong way. I've tried full rotation of both type and objects via various axis, and this problem always surfaces. Seems like such a simple thing to tween for the 3-D tool. But my Flash CS5 is not up to the task, apparently, --and neither it seems are Flash Adobe Forum readers.
    It's so sad that Flash is treated by Adobe like such a ******* child. Once Adobe's brand was synonymous with workhorse programming, and the integrity to fix what was wrong with a program quickly to make it better. But most of my professional colleagues warned me to stay away from BOTH Flash CS3 and CS4 because of their unreliability issues!!! What a sad state of affairs for Flash. Cartoon animators like me are crying out for a program which does what Flash does, minus the crashes, glitches, unreliability, and counter-intuitive user interface Flash has become infamous for. Industry wide, Adobe has gained the reputation of having turned its back on the animation community, because "there are not enough of us to matter monetarily." And so, by extension, it has left itself and it's ailing Flash program ripe for being bested by some hungry developers with the concern and the attention to give to perfecting a 2-D animation software program which actually delivers what it promises. 
    I keep clicking the "software update" button in my Flash program, thinking Adobe's next update will actually improve its performance. Dream on...
    Berzerk Contempo

  • Flash MX2004 not compatable with Flash CS5?

    I have Flash MX2004 but find when trying to open a flash file created using Flash
    CS5, the file wiill not open and give me an error ' Unsupported
    file fotrmat'. Please explain

    flash mx2004 is very old. it has no way of knowing what to do with a file that is created in cs5 or aka flash mx2010
    it is similar to trying to play a blu ray disc in a vcr... sort of.

  • Captivate 5 Crashing with Flash CS5 and Photoshop

    Hello,
    It's been awhile since I've been on the forums, so my apologies if this issue has already been posted.
    I am running Captivate 5. I find when I am working on a file, if I open PhotoShop (12.0.4 64-bit edition) or Flash CS5 (11.0.2.489) at the same time Captivate is open, my instance of Captivate will crash and I will lose all work that I have not yet saved. Thankfully I've gotten into the habit of saving before opening these programs but I was wondering if anyone else was experiencing this issue and if so, has there been a workaround created?
    I want to send a bug report in but I can't for the life of me get it to do it all the time - I can't provide them with exactly how I do it.
    Thanks
    Doug

    Hi Ken,
    Thanks for the response. That's what I had been doing with Photoshop, but I didn't think I'd have to do it with Flash as well! This morning, working in Captivate, open Flash, boom - bye bye this morning's work in Captivate!
    Hopefully it'll get resolved soon.
    Thanks!

Maybe you are looking for

  • CommandButton action would not be invoked

    I am trying to follow the JSP 1.2 standard. The page is rendered correctly. The drop down list is populated successfully, which means my bean is correctly registered and initialized. However, when I click the button, the action is not called. (I have

  • Security information send to an old mail address

    Wanted to change my password through manage apple ID. However, an old (and non accessible) mail address is being used for sending security information. I've changed my primary mailaddress (and a second mail address) months ago: boths are apparently n

  • How to terminate Transport on BI 7

    Dear BIers,   When we're performing the TRANSPORT from BWQ to BWP, at the beginning the performance of the transport is horrible low, finally, there are tens of requests handed over with status 'Import Running', the Truck.   1. How to improve the per

  • Query regarding smartform

    Hi Experts, I have a requirement in which I am sending a mail through actions.In the action I have mentioned the smartform.The email sent should have voting buttons such as 'YES' and 'NO'. If the reciever replies back to the email and selects 'YES' t

  • Cannot stop sapccmsr

    Hi, when I try to stop sapccmsr I received following message: bash-3.00$ sapccmsr -j2ee -stop pf=/sapmnt/VPT/profile/VPT_DVEBMGS01_VPT-APP INFO: CCMS agent sapccmsr working directory is /usr/sap/ccms/VPT_01/sapccmsr INFO: CCMS agent sapccmsr config f