ActionScript 2 in Flex

I realize that Flex uses AS3, but can a SWF written in AS2 be
loaded in the SWF_Loader component and run correctly?

Yes, but the only way to communicate with that swf, ie,
calling methods and properties, is to use localConnection. There
are some wrappers that folks have built for this purpose available.
Tracy

Similar Messages

  • Unable to map nested java classes and objects in actionscript using flex

    Hi All..,
    Im a newbie in flex and actionscripting...,I however have a task assigned in this domain and goin insane since a week now with this problem...
    Problem explained:
    I have a class called Unit that inturn have many other classes like for example unit has an engineer class,,,Im not able to access the attributes of engineer using the unit class...that is unit.engineer,engineerid is giving me a null...however attributes unique to unit are accessible...
    Please help me out with this...,this problem has already eaten up my deadlines...
    Any help would be appreciated and thankz in advance..

    Thank you for the swift reply...,
    I actually have three java classes Unit , Engineer and UnitretrievalRemote....
    Unit contains engineer and also UnitRetrievalRemote has methods to retrieve unit which inturn should return engineer...,However i hav actionscript classes for both engineer and unit and mapped it apporopriately using the remotetag...and also my remote object is defined with a destination...
    The below code is my Actionscripting code included in mxml:
    import UnitScript.Engineer;//These are my Action Scripting Classes
    import UnitScript.Unit;
    import mx.collections.ArrayCollection;
    import mx.collections.ArrayList;
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.ResultEvent;
    public var unitIds:ArrayCollection;//I'm passing an array from java end
    that retrieves the unitId's from the db using hibernate...
    public var index:int;
    public var unit:Unit;
    protected function initData():void
    ApplicationService.getUnitIds();
    //This is the remoteobject call using blazeds to load the method during application start from java..
    private function setUnitIds(event:ResultEvent):void
    unitIds  = ArrayCollection(event.result);
    private function setUnit(event:ResultEvent):void
    unit = Unit(event.result);
    //mx.controls.Alert.show( "Compling" );
    //mx.controls.Alert.show( "Engineer Method" +unit.engineerId);
    //mx.controls.Alert.show( " Engineer=="+unit.engineer) ;
    unitIDText.text = String( unit.unitId );
    customerName.text = unit.name;//displaying the contents fetched from the backend in the panel...
    setEngineer(event);
    private function setEngineer(event:ResultEvent):void
    unit.engineer = Engineer(event.result);
    unit = Unit(event.result);
    eng_id.text = String(unit.engineer.engineerId);
    mx.controls.Alert.show( "Engineer ID Please Show"+unit.engineer);
    //This prints a null.
    mx.controls.Alert.show( "Direct Engineer Id" +unit.engineer.category);
    // This prints a null.
    Remote object mapping is as below:
    <mx:RemoteObject
        id="ApplicationService"
        destination="Destination1" >
        <mx:method name="getUnitIds" result="setUnitIds(event)"
        fault="mx.controls.Alert.show(event.fault.faultString)"/>
        <mx:method name="getUnit" result="setUnit(event)"
        fault="mx.controls.Alert.show(event.fault.faultString)"/>
    </RemoteObject>

  • How  to align buttons using ActionScript in Flex

    Hi all, I'm pretty new to Flex and ActionScript but
    I’ve created an myAddForm() function in an actionscript class
    but I can't align the buttons - I’ve been looking at using a
    buttonbar but can't figure out how to convert the code in to
    actionscript from the mxml examples. any advice what to use...
    function below.. This works but with the button on top of one
    another.. Any help is greatly appreciated

    Ooops - I indeed mean ActionScript.
    In any case, what is the difference between ExtensionBuilder and "FlashBuilder + CSIDE libs"? Is ExtensionBuilder that thing that you have to be a Partner for and nobody alive today has managed to reach the person at Adobe who adds you to the program?
    Apropo the upcoming holoday, I understand that successfully contacting Adobe about joining the CS5 SDK partner program is sort of like virgin birth - the last time it happened was 2010 years ago and nobody alive today has ever seen it happen...
    I THINK I am using FlashBuilder plus the CS5 SDK Framework. So how do I catch events that way, since I don't see the CS5 options in the project's properties dialog.
    mlavie

  • Learn Actionscript for flex

    Hi,
    i got quite familiar with Flex regarding its mxml part. I would like now to add some actionscript code to enhance my apps. So i would like to learn actionscipt for flex. But in adobe documentation there is guidance only for actionscript projects (using packages and classes). Where can i find documentation for actionscript targeting specificly at mxml projects??
    Thanks in advance.

    Essential ActionScript 3.0 by Colin Moock is a great way to boost your AS:
    http://www.amazon.com/Essential-ActionScript-3-0-Colin-Moock/dp/0596526946
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance
    www.ChikaraDev.com
    Flex Development and Support Services

  • [Urgent]Please tell me if this project should be done in Flex or in Flash ActionScript ?

    Hi,
    I have a project and I need to know if I should do it using Flash Builder and Flex or just using Flash and ActionScript
    (I Know Nothing About Flash Builder And Flex)
    The project is:
    Mp3 Player
    - Streaming Mp3's
    - Ads inside each song
    - XML driven
    - skins and color themes for it
    - playlist
    - drag and drop from outside the player(from normal html)
    - Should communicate with Php files all the time for transferring ad Id's
    Now please let me know if this will be better done with ActionScript or Flex
    I'm also read in somewhere that the Flex empty file is about 200KB which made me a little scared to use it
    So can you please tell me what size do you expect for such a player (Assets will not be embedded)
    I need to tell my boss today my decision whether to use which one, So please help

    For the file size, you could have done it yourself (3min of time).
    platform : Flash Builder 4.5 on Mac
    1) empty Flex Web project
    below the result of loading it into a browser (the .swf file is 44kB); there are also some other .swz file providing the flex and spark framework but they are only loaded once on the client side and shared accross all web site needing it (stored in the flash cache, not the browser one)
    2) empty Web ActionScript project
    the .swf file is 4kB

  • The Flex Actionscript is exactly the same as FLASH PROFESSIONAL Actionscript

    To learn Flex you start with scripting relative languages mxml, etc , or with learning the menus in Flash Builder? how you proceed after you startup? Learning Flex you must choose a server side scripting language from the ones you know very well, and use it by a way in Flex works? like Java if I am familiar with?
    Only Actionscript/MXML (+client side) or/and one server side lang REQUIRED, like java/jsp? Can you recommend any textbook in Actionscript/MXML? the Actionscript is exactly the same as FLASH PROFESSIONAL Actionscript? how many months study in Actionscript/MXML, to move to learning menues in BUILDER? IF REQUIRED one server side lang, what level of JAVA I must have, SE & EE & ME to proceed in learning Flex/Actionscript/MXML and thereafter BUILDER-MENUES?

    You are asking a ton of questions here, but in general ActionScript in Flex and Flash is the same, but in some cases it is used differently, but most of the time the same.
    Great book on ActionScript:
    http://www.amazon.com/Essential-ActionScript-3-0-Colin-Moock/dp/0596526946
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com

  • Actionscript - Flex mobile - thread while loading data?

    I am using Flash builder actionscript 3 Flex mobile. I have a very heavy function that loads data from the local device and creates many graphic elements. While this function runs, the device freezes for 6 seconds or so. I want to show a progress bar and let the device continue working, is there any way I can use threading to do this ? Other ideas are also welcome.
    Thanks, Koby.

    Is it the size of the data you're loading (if so have you tried URLStream? or HTTPService with AsyncToken?) and if it's not just a single heavy data load and is the entire operation of loading plus performing the operations on the loaded data then you'll need to consider breaking up those operations into chunks to give the user some feedback.

  • Flex and BlazeDS Compile for Deployement

    Hi,
    I've been following the Flex + BlazeDS tutorial on the Message Service from adobe to start learning working with blazeds. Everything worked out great on the local server of course but I got stuck when it came to moving the files to a remote server. I've looked around quite a lot and found out it's because the compiler feeds the services-config.xml upon compile and at lease in my case won't take and external file. The solution everyone has been posting on the net is writing the channels in actionscript within flex and feedin it the valid endpoint that would be found in the xml configuration file. That's all nice and dandy but everyone has been talking and showing examples of this being done for RemoteObject and I haven't managed to find any examples for Messaging.
    Can anyone help me out with an example on how to deploy my application to a server? (either by coding the channels in AS or otherwise) The application itself is pretty basic...
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="200" minHeight="480" creationComplete="consumer.subscribe()" width="250" currentState="EnterName">
    <fx:Script>
      <![CDATA[
       import mx.messaging.events.MessageEvent;
       import spark.events.TextOperationEvent;
      ]]>
    </fx:Script>
    <s:states>
      <s:State name="Chat"/>
      <s:State name="EnterName"/>
    </s:states>
    <fx:Declarations>
      <s:Producer id="producer" destination="chat"/>
      <s:Consumer id="consumer" destination="chat" message="messageHandler(event.message)"/>
    </fx:Declarations>
    <fx:Script>
      <![CDATA[
       import mx.messaging.messages.AsyncMessage;
       import mx.messaging.messages.IMessage;
       private function send():void{
        var message:IMessage = new AsyncMessage();
        message.body.chatMessage = user.text + ":" + " " + msg.text;
        producer.send(message);
        msg.text = "";
       private function messageHandler(message:IMessage):void{
        log.text += message.body.chatMessage + "\n";
      ]]>
    </fx:Script>
    <s:Panel title="Chat" width="100%" height="100%">
      <s:TextArea id="log" height="377" x="10" y="10" width="228" includeIn="Chat"/>
      <mx:ControlBar width="246" height="52" x="1" y="395" includeIn="Chat">
       <s:TextInput id="msg" width="100%" enter="send()"/>
       <s:Button label="Send B" click="send()"/>
       </mx:ControlBar>
      <s:TextInput includeIn="EnterName" x="60" y="177" id="user" />
      <s:Button includeIn="EnterName" x="87" y="207" label="Start Chat" id="chat" click="chat_clickHandler(event)"/>
      <s:Label includeIn="EnterName" x="57" y="157" text="Please Enter Your Name"/>
      </s:Panel>
    </s:Applicatio>
    And besides that in the messaging-config.xml file on the server a destination with the id="chat" is created and that's it.
    Any help or pointing in the right direction will be greatly appreciated.
    Thank you,
    Nick

    Update:
    Ok...I finally figured out that by replacing the tokens in the services-config.xml file with the physical address of the server everything works.
    Anyway...this means the application needs to be compiled everytime it is moved to a new server or even a different folder on the same server for that matter. Is there any way to pass the {server.name}, {server.port} and {context.root} tokens to the application at runtime for messaging?
    Thanks,

  • In search of advice for a Flex application

    I'm trying to describe my plan as simply as I can but I may
    fail.
    My project group is working on a designing application for
    garages. User can drag and drop elements (window, wall, doors) to a
    canvas area to create a garage design. I can't tell more because
    it's a business secret. ;) Could someone help me how to create a
    feature that if user hasn't created valid entity (for instance
    pieces of wall are missing and thus the garage won't function
    properly because chilling wind is let inside and the roof can't be
    placed on the construction) our application draws a red line to
    empty spots marking an error. Also an alert/message box should
    appear and tell the user what's wrong with his/her design. I
    suppose that this could me made by using degrafa but feel free to
    suggest better options.
    I would very much appreciate if somebody knows an existing
    application which has same kind of feature which I could use as
    help. Thanks beforehand!
    //John

    quote:
    Originally posted by:
    robbyk87
    I reccommend checking out the seemingly infinate number of
    games/apps that are created using basic flash - plenty of those use
    techniques you have described - and most of which can be applied
    using the actionscript in flex or even AIR as it sounds more like a
    desktop based project.
    Thanks a lot mate. That's pretty much I considered an useful
    way to create such feature. I would extra appreciate if you know
    some applications which use before-mentioned techniques. Searching
    for one hasn't yet come up with anything.

  • CF 9.01 Upgrade breaks Flex Gateway - Help!!!!

    I have an AIR app which is using DataServicesMessaging with subtopics enabled.  I can create the Consumer in AIR but when I subscribe, I get the following error:
    "Error","cfthread-0","08/31/10","21:03:35",,"CATALOG_ATTRIBUTES_831AE0FE-B7D2-90A5-87AD-CA C5E01116D9: Event handler exception."
    flex.messaging.MessageException: Event handler exception.
    at coldfusion.flex.CFEventGatewayAdapter.allowSend(CFEventGatewayAdapter.java:376)
    at flex.messaging.services.messaging.SubscriptionManager.addSubtopicSubscribers(Subscription Manager.java:330)
    at flex.messaging.services.messaging.SubscriptionManager.addSubtopicSubscribers(Subscription Manager.java:311)
    at flex.messaging.services.messaging.SubscriptionManager.getSubscriberIds(SubscriptionManage r.java:264)
    at flex.messaging.services.MessageService.pushMessageToClients(MessageService.java:495)
    at coldfusion.flex.CFEventGatewayAdapter.send(CFEventGatewayAdapter.java:250)
    at coldfusion.eventgateway.flex.FlexMessagingGateway.outgoingMessage(FlexMessagingGateway.ja va:204)
    at coldfusion.runtime.CFPage.SendGatewayMessage(CFPage.java:269)
    at cfCatalogService2ecfc315059253$func_CFFUNCCFTHREAD_CFCATALOGSERVICE2ECFC3150592531.runFun ction(C:\inetpub\wwwroot\staging9sites\staging9si\com\pmdm\suppliers\services\CatalogServi ce.cfc:110)
    at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
    at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
    at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
    at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
    at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
    at coldfusion.runtime.UDFMethod.invokeCFThread(UDFMethod.java:201)
    at coldfusion.thread.Task.invokeFunction(Task.java:274)
    at coldfusion.thread.Task.run(Task.java:140)
    at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
    at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)

    Rakshith,
    Thanks for your help!  Here's what I've got in my messaging-config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <service id="message-service"
        class="flex.messaging.services.MessageService"
        messageTypes="flex.messaging.messages.AsyncMessage">
        <adapters>
            <adapter-definition id="cfgateway" class="coldfusion.flex.CFEventGatewayAdapter" default="true" />
            <adapter-definition id="actionscript" class="flex.messaging.services.messaging.adapters.ActionScriptAdapter"/>
            <adapter-definition id="jms" class="flex.messaging.services.messaging.adapters.JMSAdapter"/>
        </adapters>
        <!-- ======================================== -->
        <!--  ColdFusion Messaging Gateway            -->
        <!-- ======================================== -->
        <destination id="ColdFusionGateway">
            <adapter ref="cfgateway" />
            <properties>
                <!--
                    Star ('*') means gatewayid is found in the 'gatewayid' message header.
                    To restrict this destination to a specific gateway, enter its ID here
                -->
                <gatewayid>PMSIMessages</gatewayid>
    <server>
    <durable>false</durable>
    <allow-subtopics>true</allow-subtopics>
    </server>
                <!--
                    If ColdFusion is running on a different host, enter that here.
                    Default is to expect ColdFusion and Flex to share the same web application.
    You must enter 'localhost' if CF and Flex are not in the same web app.
                <gatewayhost>10.1.1.1</gatewayhost>
                -->
                <!--
                    List the IP addresses of CF machines allowed to send messages to this destination
                    If not set, the default is to allow only this computer to connect.
                <allowedIPs>10.1.1.1,10.2.2.2</allowedIPs>
                -->
                <!--
                    Credentials to pass along in the headers as CFUsername/CFPassword.
                    It is generally better to use setRemoteCredentials() API on client.
                <remote-username></remote-username>
                <remote-password></remote-password>
                -->
                <!--
                    You can add general Flex Messaging network and server properties here.
                 -->
            </properties>
    <!-- You should use the ColdFusion specific channels -->
            <channels>
                <channel ref="cf-polling-amf"/>
            </channels>
        </destination>
        <destination id="clientNotifierGateway">
        <adapter ref="actionscript"/>
        <channels>
        <channel ref="java-amf"/>
        </channels>
         </destination>
    </service>
    Here's my gateway CFC:
    <cfcomponent output="false">
       <cffunction name="onIncomingMessage" access="remote" returntype="any">
             <cfargument name="event" type="struct" required="true"/>
    <cfscript>
          x = structNew();
          x['body'] = event.data;
          x['destination'] = "ColdFusionGateway";
          x['headers'] = structNew();
          x.headers['username'] = "System";
          x.headers['DSSubtopic'] = event.data.headers.DSSubtopic;
          x.lowercasekeys = "yes";
          </cfscript>
      <cfreturn x/>
    </cffunction>
    <cffunction name="allowSend" access="public" returntype="boolean">
    <cfargument name="subtopic" type="any" required="true"/>
    <cfreturn true/>
    </cffunction>
    <cffunction name="allowSubscribe" access="public" returntype="boolean">
    <cfargument name="subtopic" type="any" required="true"/>
    <cfreturn true/>
    </cffunction>
    </cfcomponent>
    Jeff

  • JMS messages sometimes not received by Flex client

    We have a problem that Flex client is sometimes not able to
    receive JMS messages from a JBoss JMS Queue. Most of the time it
    works, but if users logout/login using the same account frequently
    or you restart JBoss 4.0.4 during their session then it might
    happen. Then it doesn't work at all even if you wait. Client is
    able to send messages when this problem occurs, which can then be
    intercepted by other clients but cannot receive any messages from
    himself or from the others. JBoss 4.0.4 is running in cluster mode.
    Could it be that there is an old frozen session which is receiving
    the messages meant for the new client?(consumer selector is unique
    to each user, but if a user logs in twice, the same selector is
    used) If I run 2 instances of my JMS test consumer using the same
    selector then the consumer which registered later receives the
    messages and if it quits, then the older consumer starts receving
    them. This doesn't occur in Flex.
    Flex is running on Tomcat 5.5.17.
    Our messaging-config.xml is
    <?xml version="1.0" encoding="UTF-8"?>
    <service id="message-service"
    class="flex.messaging.services.MessageService"
    messageTypes="flex.messaging.messages.AsyncMessage">
    <adapters>
    <adapter-definition id="actionscript"
    class="flex.messaging.services.messaging.adapters.ActionScriptAdapter"
    default="true" />
    <adapter-definition id="jms"
    class="flex.messaging.services.messaging.adapters.JMSAdapter"/>
    </adapters>
    <destination id="JMSQueueB">
    <properties>
    <network>
    <session-timeout>10</session-timeout>
    </network>
    <jms>
    <initial-context-environment>
    <property>
    <name>java.naming.factory.url.pkgs</name>
    <value>org.jboss.naming:org.jnp.interfaces</value>
    </property>
    <property>
    <name>Context.PROVIDER_URL</name>
    <value>jnp://x.x.x.x:1100,jnp://x.x.x.y:1100</value>
    </property>
    <property>
    <name>Context.INITIAL_CONTEXT_FACTORY</name>
    <value>org.jnp.interfaces.NamingContextFactory</value>
    </property>
    </initial-context-environment>
    <destination-type>Queue</destination-type>
    <message-type>javax.jms.TextMessage</message-type>
    <connection-factory>ConnectionFactory</connection-factory>
    <destination-jndi-name>queue/B</destination-jndi-name>
    <destination-name>B</destination-name>
    <delivery-mode>PERSISTENT</delivery-mode>
    <message-priority>DEFAULT_PRIORITY</message-priority>
    <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>
    <transacted-sessions>false</transacted-sessions>
    </jms>
    </properties>
    <channels>
    <channel ref="my-rtmp"/>
    <channel ref="my-secure-amf"/>
    </channels>
    <adapter ref="jms"/>
    </destination>
    </service>
    Part of our actionscript code:
    pmConsumer = new Consumer();
    pmConsumer.destination = "JMSQueueB";
    pmConsumer.selector = "some jms selector ....";
    pmConsumer.addEventListener(MessageEvent.MESSAGE,
    presenceMessageHandler);
    pmConsumer.addEventListener(MessageFaultEvent.FAULT,
    faultHandler);
    pmConsumer.addEventListener(ChannelFaultEvent.FAULT,
    channelFaultHandler);
    pmConsumer.subscribe();
    Also Flex seems to be handing channel switching incorrectly,
    if rtmp port is firewalled, it won't use amf properly even though
    it was given 2 channels in configuration file and JMS messaging
    doesn't work. We have to alter the channel set during runtime.
    Flex also doesn't automatically switch to other JMS server if
    one goes down. Is this a feature or a bug? We have to reset
    producer and consumer in order for this to work.

    Hi,
    It was in earlier version of the OS that you could turn Bonjour On and Off.
    If this can be done in Leopard and Snow Leopard I have not found it yet. (But I don't look that often and nor for very long)
    This Forum may help with that
    I would also try a PRAM reset. (on Both computers)
    Shut down the computer.
    Restart it holding down APPLE(or ⌘)ALT+PR Keys until you have heard three Start Up Bongs.
    7:18 PM Tuesday; December 8, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Compiling with Flex 4.0 gives flash.desktop.NativeProcess could not be found

    Hello!
    I have an ActionScript only Flex project that was written by someone else.
    I know it was compiled successfully for Air 2.0
    I can compile this project using Flex Hero and with <application xmlns="http://ns.adobe.com/air/application/2.6"> - however, my air file will install only on windows (on mac i get a weird 'installation file is corrupt, contact the author' error message).
    So now I want to compile it for Air 2.0 as it was originally written for. So i change the used Flex SDK from Hero to 4.0 and change the target air version to <application xmlns="http://ns.adobe.com/air/application/2.0"> - but then i get three compilation errors:
    Description Resource Path Location Type
    1061: Call to a possibly undefined method openWithDefaultApplication through a reference with static type flash.filesystem:File.
    Description Resource Path Location Type
    1172: Definition flash.desktop:NativeProcess could not be found.
    Description Resource Path Location Type
    1172: Definition flash.desktop:NativeProcessStartupInfo could not be found.
    but I read that these features were introduced with AIR 2.0 - so how can't I compile if I change the SDK from Flex Hero to Flex 4.0?

    Figured it out... Make sure your descriptor file has the following namespace definition!!
    "http://ns.adobe.com/air/application/2.0beta"

  • Understanding Flex/Flex Builder

    I'm very new to the Flex environment and I have a few broad questions I am hoping to get help understanding:
    1) How does Flex work with ActionScript? Is there an ActionScript editor inside the Flex Builder app?
    2) I want to import projects I developed from Flash into Flex Builder but they have timeline and ActionScript components - is this even possible?
    3) Will objects I have layed out in Flash also be editable in Flex Builder?
    4) Finally, should I just re-do the entire app in Flex?
    The reason I am even considering using Flex is because of the ability to import text/xml data once and then compile a swf that doesn't call on the text/xml data at runtime.
    -sage

    1) How does Flex work with ActionScript? Is there an ActionScript editor inside the Flex Builder app?
    When working with Flex, you use MXML and ActionScript, but after compilation it all gets compiled into ActionScript.
    Flex Builder has an ActionScript editor, but it really just a text editor. Open an .as file and edit it.
    2) I want to import projects I developed from Flash into Flex Builder but they have timeline and ActionScript components - is this even possible?
    You cannot just import stuff you've done in Flash into Flex, and certainly not as a Flex project. But you can work in Flash and use what you have created in Flex. The Flex SWFLoader component allows you to load a SWF created in Flash and click its buttons, etc. access its data etc. Watch out though as there can be issues with versioning and security.
    And then there is always Flex Component Kit for Flash.
    3) Will objects I have layed out in Flash also be editable in Flex Builder?
    No, you can access them and their data, but you can't edit them. You might be able to add components to containers in a Flash generated SWF, but it is not seamless by any means.
    4) Finally, should I just re-do the entire app in Flex?
    Hard to say. It is probably just a good idea to rebuild it in Flex, because if you are using snippets of ActionScript throughout the timeline, well that's why Flex came to be, Flash creates timeline based application nightmares, Flex is event based, which is what you want when creating real applications.
    Useful links:
    http://livedocs.adobe.com/flex/3/html/help.html?content=controls_15.html
    http://livedocs.adobe.com/flex/3/langref/mx/controls/SWFLoader.html
    http://stackoverflow.com/questions/tagged/swfloader
    http://livedocs.adobe.com/flex/3/flash_component_kit_flex3.pdf
    http://www.adobe.com/products/flex/flexdownloads/
    If this post answered your question or helped, please mark it as such.

  • I am not able to access flex 3 in a week vedios ?

    Hi,
    From past two weeks I am searching for vedios of flex 3 training. I am not able to find anywhere. Please help me out in my projext we are using flex 3 not flex 4 or 4.5.
    Thanks

    Hi,
    These videos may help you.
    Flex 3 Videos
    1) http://www.5min.com/Video/How-to-Create-a-Simple-Flex-Builder-3-80731275
    2) http://www.5min.com/Video/How-to-Create-a-Main-Application-Page-in-Flex-Builder-3-80731242
    3) http://www.5min.com/Video/How-to-Create-Properties-and-Methods-in-a-Component-in-Flex-Buil der-3-80731320
    4) http://www.5min.com/Video/How-to-Use-the-Inline-ActionScript-in-Flex-Builder-3-80731339
    5) http://www.5min.com/Video/A-Review-of-the-Flex-Application-in-Flex-Builder-3-80731251
    6) http://www.5min.com/Video/Understanding-the-Event-Object-in-Flex-Builder-3-80731360
    7) http://www.5min.com/Video/How-to-Use-an-Event-Handler-Method-in-Flex-Builder-3-80731348
    8) http://www.youtube.com/watch?v=xrjmImF0CKE
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • How can we write channels and endpoints configuration in actionscript?

    Hi All
                  how can we define channelset in actionscript in flex
                    just like at my client side application itself not in remote-config.xml
                       var cs:ChannelSet = new ChannelSet();
                     var amf:AMFChannel = new AMFChannel(.................................
                       i dont know how to proceed further        
                      could any one please help me

    Hi All
                  how can we define channelset in actionscript in flex
                    just like at my client side application itself not in remote-config.xml
                       var cs:ChannelSet = new ChannelSet();
                     var amf:AMFChannel = new AMFChannel(.................................
                       i dont know how to proceed further        
                      could any one please help me

  • Locking The Orientation Of The Flex Mobile Application on Android Device

    Hi all,
              I have developed an application using Adobe Flash Builder Burrito and installed it on my android device,Samsung Galaxy Tab.
    I want to lock the orientation of my application to landscape even when the device is in portrait position.
    Can anyone of you help me to implement this.
    Thanks.
    Sujata Jha.

    When you create a new mobile project (actionscript or flex) it asks if you want it to auto-orient. This setting can be edited for existing projects in [project name]-app.xml.
    What I can't figure out is how to fix the application in landscape mode, as it seems to default to portrait.I could rotate the content myself, but the I'd have to convert screen events and previewing on the desktop would mean a lot of head twisting. Anyone know how to do this?
    -Gabriel
    Can you get Rasputin Rabbit back in the hat? Play Houdini's Hat (made with Away3D):
    http://www.pizmogames.com/games/load.php?g=houdinishat

Maybe you are looking for

  • DVD / CD's won't burn in finder

    SONY DVD RW DW-U10A First: It doesn't acknowledge I've put a DVD in. Nothing. It keeps asking me to insert a disk. Second: CD's won't burn in finder. They start for a couple of seconds and then they are rejected saying it's a "Power calibration area

  • I cant navigate youtube via apple tv 2g

    i cant navigate youtube via apple tv 2g

  • Adobe premier pro cs6 installation problem.

    Hi I am trying to install adobe premier pro cs6, In between my system got restarted once again i tried to install it but installation is coming in Chinese language, Before my system restart it is in English language, How to get installation in Englis

  • Element 7 was not defined correctly

    Hi, I am facing a strange problem while executing any query through web. Whenever I try to execute a newly created query on a MP,it throws a warning that Element 7 is not defined correctly or some CKF is wrong. But when I exceute the same query the s

  • Anyone elses front ear grill not line up properly on white iPhone?

    Anyone elses front ear grill not line up properly on white iPhone 4S? Noticed mine is a little to one side, wanted to know if anyone elses is a little off!