Flex 4 states and using includein with actionscript

Hello,
How do you handle states and the "includeIn" tag in ActionScript? For example:
var vGroup:VGroup = new VGroup();
var initialState:State = new State();
initialState.name = "initialState";
initialState.overrides.push(new AddChild(this, vGroup));
this.states.push(initialState);
This is not valid code, but it's what I'd like to do.
Thanks

Set up something similar in MXML and use -keep–generated-actionscript and see what the code looks like.

Similar Messages

  • How can I use LCCS with ActionScript 3 and Flash CS4?

    Hi,
    Using Stratus I was able to create an an application using Action Script 3 and Flash CS4.  The sample code on the Adobe site was quite straight forward and easy to understand.  I now want to switch over to  LCCS but can't find anything any where on how to use Action Script 3 and Flash CS4 with LCCS.  Do I need to know Flex to be able to use LCCS?  Everything was quite simple and easy to understand with Stratus and makes complete sense.  But LCCS is really confusing.  Is there any sample code on how to establish a connection in Action Script 3 and then stream from a webcam to a client.  There is nothing in the  LCCS SDK that covers Flash and Action Script 3.  Please help!  I found the link below on some forum but it takes me nowhere.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=75 9&threadid=1407833&enterthread=y

    Thanks Arun!
    Date: Thu, 29 Apr 2010 11:44:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I use LCCS with ActionScript 3 and Flash CS4?
    Hi,
    Welcome to the LCCS world.
    Please refer to the SDK's sampleApps folder. There would be an app called FlashUserList. The app demonstrates how LCCS can be used with Flash CS4. Its a  pretty basic app, but should help you moving.
    We are trying to improve our efforts to help developers in understanding our samples. Please do let us know if we can add something that would help others.
    Thanks
    Arun
    >

  • Using ImageMagick with ActionScript

    Hi,
    I there a way we can use ImageMagick with actionscript. There are classes available for using it with PHP, Ruby on Rails ets.. but is there a way we can use it with actionscript?

    I am working on an application where I want various text shapes like: vertical arch, bridge, bowtie etc... but the problem is that I am not able to figure out any firm solution for that in Flash. I came across the ImageMagick library and with Fred's ImageMagick Scripts for text effects, I think all the shapes I am looking for can be done. But unfortunately no AS wrapper is available for ImageMagick .
    So was looking for a solution.

  • I have bought a new airport express and using it with my macbook (iTunes 10.2.2). I have joined an existing network for internet in my home and with that i am trying to play the music via itunes but there is audio dropouts every 60 secs or so. any soln ?

    I have bought a new airport express and using it with my macbook (iTunes 10.2.2). I have joined an existing wireless network for internet in my home and with that i am trying to play the music via itunes but there is audio dropouts every 60 secs or so. I am using a set of speakers from kenwood connected to the airport express. The operating system on my macbook is mac os X 10.5.8. i am sure it is not a problem of streaming music online because i have even tried playing music which are stored in my macbook.
    Is there any problem with the setting in itunes or quicktime ? Kindly reply...... I am waiting for your valuable suggestion.
    Thank you a lot in advance.

    I am shocked to have found this same AX audio dropout problem starting TODAY, every few seconds the audio just drops for a couple seconds and then resumes:  Latest software versions of everything.  No iPad, iPhone or Touch.  Internet hardwired to D-Link DES1105 (1000baseT Switch) hardwired to new 80211N AX, AX optical to stereo, AX Wi-Fi internet to basic 1st-gen MacBook operating at 80211G, and an older 'G' AX extender at the far end of the house, away from all this.  The MacBook streaming iTunes is usually 12 feet from AX.  I've used this setup for years of trouble-free AirTunes / Airplay until today.  Today I also found 2 very reliable fixes and 1 way to force a dropout, but first, I read some posts and tried ALL following settings one-at-a-time and restored them ALL because NONE of them helped:  Turned off IPV6.  Streamed to multiple speakers 'Computer' and 'AX' (restored to just AX).  Turned off 'Ask to Join new (WiFi) Networks'.  Turned off Bluetooth (can't live without Magic Trackpad, so glad that wasn't it).  Here's my discoveries:  Lo and behold, each time I click the Airport icon in the Menu (you know it shows you've got 4 bars from AX) when the status switches to 'Looking for Networks' for a second it CAUSES the AX audio to drop out for a couple seconds (it never did that before today.)  iTunes still playing, streaming, AX laser still lit, but the 'PCM' light on stereo and the sound GOES OUT EVERY time I click the Airport icon in the menubar, just like the regular, annoying dropouts.  So, to reduce traffic I quit Safari (3 tabs, no streaming, just Gmail, Google, and Netflix browsing).  Lo and behold, the dropouts stopped altogether.  No other Web apps going (not iTunes Store, Genius, Ping, nothing), so I launched Chrome to the same 3 tabs and the dropouts HAVE NOT RETURNED.  That's right, not only did simply QUITTING SAFARI cure it, and Chrome doesn't contribute to it, but I can demonstrate it just by forcing my Airport to re-scan.  Works for me, written using Chrome.  The other reliable fix is to hardwire MacBook to the Switch.  This is obviously not ideal, but Airplay audio doesn't drop out over Ethernet.  Also, in all my tests, it made no difference whether iTunes did the streaming, or Airfoil did.

  • For the 2013 versions of macbook pro should I purchase 32 bit windows or 64 bit version to be able to install it on macbook and use windows with bootcamp?

    for the 2013 versions of macbook pro should I purchase 32 bit windows or 64 bit version to be able to install it on macbook and use windows with bootcamp?

    Then you might check at any of the other university book stores or software stores or any computer store in town for the 64-bit version.
    If you want to use the 32-bit version from the school (you probably get it for free or very cheap) then you could purchase Parallels and run it as a virtual machine concurrently with OS X. There are some caveats:
    1. You have to purchase Parallels (there may be an academic discount.) List is $79.95.
    2. Your computer needs minimally 4 GBs of RAM, but realistically 8 GBs would be better.
    3. Parallels creates a pseudo-drive on your hard drive. It could easily require 50 GBs of disk space.
    Accommodating these might be more costly than buying 64-bit Windows 7. And, if you look online you may find them with an academic discount (or may be able to order it through the school.)

  • How do I remove my phone number from my iphone so that i can continue to use it like an ipod touch and use imessages with email/apple ID?

    How do i remove my phone number from my iphone 4s so that i can continue to use it as an ipod touch and use imessages with email/apple ID?

    This article explains what to do:
    http://support.apple.com/kb/HT5661

  • My desktop IMac OSX 10.6.8 : IMovie '11: Trying to upload a home movie clip from my Panosonic camera model PV-DV203D. I've had this camera several years, and used it with Windows desktop. Now trying to work with my Mac. I have a USB cable, both ends fit,

    My desktop IMac OSX 10.6.8 : IMovie '11: Trying to upload a home movie clip from my Panosonic camera model PV-DV203D. I've had this camera several years, and used it with Windows desktop. Now trying to work with my Mac. I have a USB cable, both ends fit, but iMovie '11 does not recognize it. Is there a driver fix for this?

    What kind of Mac to you have?  This camera is a tape based DV one that connects best with firewire and I cannot tell if your Mac has firewire.  If your mac *does* have firewire, get a camcorder firewire cable and try again.
    ETA:  Oops, I am pretty sure that all the "desktop iMacs" have firewire, so you should be good to go.  You will probably need a cord that goes from FW800 to your camcorder.

  • When legally ipad2 with 3G would be available in Thailand?  Can I buy it from US and use it with 3G operator in Thailand?

    When legally ipad2 with 3G would be available in Thailand?  Can I buy it from US and use it with 3G operator in Thailand?

    The iPad 2 is available in Thailand now, though I don't know whether you can find one it stock. The iPad 2 continues to be in short supply everywhere in the world. A US iPad with GSM 3G should be able to work with any carrier worldwide that offers GSM service and a suitable data plan. You'll need to be sure you purchase the AT&T version of the iPad if you purchase in the US, NOT the Verizon version which uses a different cell technology.
    This has been asked and answered in these forums multiple times already, by the way. A quick search or browse of the forums and you would not have had to wait for a response.
    Regards.

  • Can I unlock my Droid Charge and use it with a sim card in India?

    How can I unlock my Droid Charge and use it with a sim card in India?

    You just have to call VZW Global TS and as long as you meet all of the requirments you will be able to unlock your phone.
    Must be a Verizon Wireless customer.
    The device being unlocked must be active on a VZW line of service.
    The line of service must be active for at least 60 days.
    For converted accounts from acquisitions or mergers (i.e. Alltel, Unicel/RCC, etc.), the line of service must be active in the VZW billing system for 60 days from the conversion date.
      The line of service must be in good standing for the past 60 days.  Good Standing is defined as:
    Balance must be current 
    No service suspensions or hotlines in the past 60 days.
    Customer may only have one 3G SIM unlock per line every 10 months.
    The customer's manufacturer's device warranty is not affected by a 3G SIM unlock as long as the customer remains with VZW.

  • Is it possible to connect an external camera via bluetooth to the Iphone 4 and use it with Facetime, if not.. why?

    Is it possible to connect an external camera via bluetooth to the Iphone 4 and use it with Facetime, if not.. why?

    Ok, in 2015 is it possible now? I would like to use an iPad and Face to share content between a dressmaker in Asia and a customer in the US, and I would like to attach better camera's than the built-in camera's on the devices.
    Any thoughts? Any updates to the original post?
    Thanks,
    James

  • Is it possible for Apple Time Capsule place iphoto library and use it with my macbooks

    Is it possible for Apple Time Capsule place iphoto library and use it with my macbook pro & macbook air? How about the simultaneous use? Will I as well open it in my ipad and iphoto?

    How Come? I thought that to an external drive move iphoto library is not a problem  -  https://discussions.apple.com/thread/3012995?tstart=0. And Apple Time Capsule including the an external drive.

  • If user disable cookie how to set and use session with URL Rewritting

    if user disable cookie how to set and use session with URL Rewritting by append session ID in url

    If cookies are disabled, then app server will automatically try to use URL rewriting for session control. Programmer's responsibility is to encode any links or redirects using
    response.encodeURL("/yourPage.jsp")
    and
    response.encodeRedirectURL("/yourPage.jsp")
    See API for details
    http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletResponse.html#encodeURL(java.lang.String))

  • Once made a selection in photoshop how do you export in Illustrator and use it with a cutting plotte

    once made a selection in photoshop how do you export in Illustrator and use it with a cutting plotter?

    Plotters require continuous paths. Convert the selection to a path and clean it up suitably. Copy&paste it to Illustrator and use it as a clipping mask on your artwork or whatever. You may also need to create a duplicate layer/ separate PDF file file. Talk to the people doing the plotting.
    Mylenium

  • I bought a Apple Care Protection Plan for a Iphone 4, but now i dont need it. Can i keep it and use it with a new model Iphone (iphone 5 when it comes out) or are the protection plans generation specific

    I bought a Apple Care Protection Plan for a Iphone 4, but now i dont need it. Can i keep it and use it with a new model Iphone (iphone 5 when it comes out) or are the protection plans generation specific?

    See Here for
    Transfer coverage of an AppleCare agreement
    http://support.apple.com/kb/HE58

  • Why can't I send i-message and use facetime with my iphone 4s(BTW, there is nothing wrong with my apple account))

    Why can't I send i-message and use facetime with my iphone 4s(BTW, there is nothing wrong with my apple account))
    It functioned well originally, but a month ago I could not use facetime and send i-message anymore. I think there is nothing wrong with my apple ID because I can still download apps in apple store.

    Try turning both iMessages and Facetime off in SETTINGS then re-enable iMessages and then Facetime. See if that helps.

Maybe you are looking for

  • How can I point my iPhones to a specific address book for syncing?

    I only want contacts on my iPhones that have phone numbers and not email addresses. After creating a iPhone address book, how do I point iTunes to that book instead of the regular Contacts book? Have been able to do that in the past, but cannot do so

  • Adobe Bridge Reports Inaccurate File sizes

    Im still in CS4 but can't seem to find a forum on CS4.  In any case, why does Bridge report inaccurate file sizes?  I thought I could use bridge to select all of the M2V files in a folder which I wanted to use in an Encore DVD project to get an accur

  • InfoCube Activation Problem

    Hi Experts, I used BI 7.0 version, i phased one problem with infocube.Data is uploaded from flat file.I uploaded 30 records from flat file. 1) when i activated the InfoCube the activation is sucessfully completed.But the version is IN PROCESS (we hav

  • Inner Class extending the outer class

    Could anyone explain this code to me? It can compile and run. Could anyone tell me what the class Main.Inner.Inner is? What members does it consists of? How the compiler manage to build such a class? public class Main {     public static class Inner

  • BSEG/BSIS

    hi experts, Still now i am using to get data of G/L accounts items i use BSEG cluster table. As we know it takes more time for data extraction. Can i use BSIS table instead of BSEG table? Do both the tables contains the same data? Points will be rewa