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

Similar Messages

  • 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

  • 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...

  • 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

  • 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..

  • 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.

  • 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

  • Successfully using a Native Extension with Flash CS5.5 Pro, having issues

    Hey all,
    I'm trying to use a native extension due to an app rejection about the new storage guidelines. I'm hoping someone can help me figure out how to use a native extension from Flash CS5.5 and the adt command line utility (I've never used before).
    Apples storage guidelines in 5.0.1 require files saved to Documents (and other places) to be marked with the icloud "do not back up" bit. I'm trying to use Adobe's IOS 5.0.1 data storage native extension to do that as I have file sharing enabled and my app downloads files I want the user to be able to copy to their desktop.
    From the bits and fragments I'm reading all over, getting it to compile means using the command line adt tool (I've never used it before) because Flash Pro CS5.5 doesn't support native extensions. Also, this native extension requires a v14 SWF published (11.1) and CS5.5 only goes up to 10.2 (or higher if you install the players).
    I edited the AiriPhone.xml file and pointed it to an AIR 3.1 airglobal.swc and I have AIR 3.1 overlayed in flash. I can't test AIR for iOS anymore after that change but I can get it to compile a SWF. The adt command line adt utility stopped complaining that my SWF version was 13 when it needed 14, so I assume this worked?
    I am trying to compile a debug version so I can see trace statements to see if the native extension reports success on changing the bit. Here is my command line cobbled together from scraps of info on adobe.com and the -help data:
    adt -package -target ipa-debug -connect 192.168.1.80 -provisioning-profile myApp.mobileprovision -storetype pkcs12 -keystore myApp.p12 myApp.ipa myApp-app.xml myApp.swf dat AppIconsForPublish Default-Landscape.png Default-LandscapeRight.png -extdir extensionDir
    Before this iCloud change this app published directly from Flash Pro CS5.5 without any issues. I am only running into issues getting this app to work with this native extension and/or published correctly.
    I am including the folders "dat" and "AppIconsForPublish" as well as splash screens (this app is landscape-only) as well as that extension in the folder extensionDir.
    After putting in my password my app compiles into an IPA which I can drop into iTunes. It has the same general size as the IPA generated from Flash Pro. The icon is correct, etc.
    When I sync this file, the progress bar goes across, I see it loading on my iPad and then once it goes to install I get a popup saying "iTunes Sync: 'myApp' failed to install."
    Is there anything obvious wrong with my adt line? Has anyone else used this native extension? Ideas on what I can do to fix this?
    No, unfortunately I did not build this with Flash Builder. I am an avid user of it now and this would be a moot point as it uses ANEs and changes SWF versions trivially. I have to get this to compile using Flash Pro CS5.5 though.
    Any help is greatly appreciated!
    edit:
    Just FWIW, after I updated the .xml to use the latest AIR and such (so the version is 14) I removed the extension, exported purely from Flash Pro CS5.5 and the app works fine. As soon as I enable the <extension> in the XML I can no longer install the app. This just appears to be a noob adt publish issue.

    My app downloads PDFs, movies and other information-esque files and saves them to the apps Documents folder so they can be retrieved via file sharing. These files not being in something purgable like /Library/Caches and not having the "do not back up" bit is why I was rejected.
    update: It's definitely my command line building.. I took out the native extension completely and published from flash to an IPA and it works. I then run adt on the same SWF that just worked and it fails to install. So the install failing is my command line. I see this article and my command line is very similar. I'm really uncertain why it's failing.

  • 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).

  • 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

  • Adobe actively killing off Freehand with Flash CS5

    Hi,
    We have just upgraded to Flash CS5, wanted CS4 and were told there is now CS5 and it will be that.
    We come to open our Freehand maps from our vast database of such and CS5 wont open them. Flash 8 would.
    CS5 we are told has dropped support for Freehand. This brings the new map work of a Government body in Flash to a halt.
    Freehand is the tool for maps, superior to Illustrator. I have tried out Illustrator and hate it, other Cartographers also stick with Freehand. Its about time Adobe stopped shunning that side of the graphics industry. We have a job to do.
    If Adobe host Freehand they should ensure two vector apps work together. No reason why suddenly Flash will not work with the vector file, somebody has simply tweaked it to deny Freehand users the ability to use Flash anymore.
    As I type I now learn that Adobe have dropped selling Freehand,  long rude word !!!!!!!!!!!!
    How dare they deny cartographers a better tool. We have tried to convert maps in the past, the clipping paths are one aspect that fall over. Line caps another. There is no time to both do a job and mess around battling with Illustrator, no money to employ a second person to be tasked with this. Gov't helped the banks out and now find the money by cutting down on us !
    Does anyone know how to work with Freehand and Flash, CS3 I gather will open fh9 files (I still use FH9 as I prefer its interface 3 doesnt look like an 8 etc, data entry windows a decent size. )
    Will CS4 open fh9, ...will it open .fh11 ?
    Envirographics

    Sad to hear that. I just began working with CS4 and found that copy paste from FreeHand to Flash CS4 works fine. Hope I never need to badgrade to CS5.
    You may be interested to hear that there is a community actively fighting for FreeHand, in case you do not know about it, and tell your friends:
    www.freefreehand.org
    Regards,
    Thom

  • Need Help with Flash cs5

    Hi! I am using Flash Cs5 on windows 7.I am having trouble with virtual memory allocation for Flash cs5.
    Getting this error message .......
    PLEASE HELP !!
    MY System Specs Are:
    OS Name
    Microsoft Windows 7 Ultimate
    Version
    6.1.7600 Build 7600
    Other OS Description
    Not Available
    OS Manufacturer
    Microsoft Corporation
    System Name
    NAME-PC
    System Manufacturer
    Gigabyte Technology Co., Ltd.
    System Model
    H67MA-UD2H-B3
    System Type
    x64-based PC
    Processor
    Intel(R) Core(TM) i5-2300 CPU @ 2.80GHz, 3001 Mhz, 4 Core(s), 4 Logical Processor(s)
    BIOS Version/Date
    Award Software International, Inc. F1, 2/11/2011
    SMBIOS Version
    2.4
    Windows Directory
    C:\Windows
    System Directory
    C:\Windows\system32
    Boot Device
    \Device\HarddiskVolume1
    Locale
    United States
    Hardware Abstraction Layer
    Version = "6.1.7600.16385"
    User Name
    Shyamal-PC\Shyamal
    Time Zone
    India Standard Time
    Installed Physical Memory (RAM)
    8.00 GB
    Total Physical Memory
    7.98 GB
    Available Physical Memory
    6.15 GB
    Total Virtual Memory
    16.0 GB
    Available Virtual Memory
    14.0 GB
    Page File Space
    8.00 GB
    Page File
    C:\pagefile.sys

    Try Re-Installing and make sure your installation is OK and your comp is.

  • 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

  • Major problems with Flash CS5

    Hello,
    I work with a big FLA, more than 400 MB, although compiled SWF is just measly 2.5 MB or so. Recently I've reached a dead end with my project, because flash eats up to something like 1.2 GB RAM and pretty much stops performing: wouldn't let me add more items to the library and keeps throwing that "low memory" message, also keeps crashing numerous times just after SWF gets compiled with "test movie". Most of the space is used by imported to the library SWF files wich automatically generate sequence of bitmap files for every frame which takes all that memory obviously. This is a huge problem and I don't know how to solve it. Is there any solution for this kind of situation?

    Not sure if I'm understanding you correctly, but did you say you were importing SWF's to the library?  Would it be possible to load the swf's externally instead using actionscript, for example create a movie clip the size of the swf file, then use the getURL function and place the name of the swf in the input field so it would read getURL("myswf");
    NOTE: it would be easiest to create a copy of all the swf files you will be using and just dump them in the same folder as your current fla.
    Been a while since I've loaded swfs like this so the AS2 syntax might be a bit off.  if worst comes to worst use the script assist to find the exact syntax used for this kind of thing.  Hope this helps.

Maybe you are looking for