Using Flach CS4 and action script 2.0 how do I advance to a specific frame of the main timeline when a movie clip instance come to the end of its timeline?

Using Flach CS4 and action script 2.0 how do I advance to a specific frame of the main timeline when a movie clip instance come to the end of its timeline?

code on the last frame of your movieclip instance:
_root.gotoAndStop('whatever_frame');  // will work unless this swf is loaded into another swf.  in that situation, you should use a relative path to the main timeline (eg,  _parent or _parent._parent etc).

Similar Messages

  • Using mx components in Action Script project in Flash Builder

    Hi
    I have created an Action Script project in flash builder 4 and want to use a mx.controls.button.
    The as file looks like this:
    package
        import flash.display.Sprite;
        import mx.controls.Button;
        public class as_test_project extends Sprite
            public function as_test_project()
                var btn:Button = new Button();
                btn.label = "test";
                addChild(btn);
    I have added C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\src as a Source Path in the project settings. I have also added framework.swc to the library path.
    I still get errors like :
    Description    Resource    Path    Location    Type
    Unable to resolve resource bundle "core" for locale "en_US".    as_test_project        Unknown    Flex Problem
    Have then tried added various Bundles folders like
    C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\framework\bundles
    to the source path and library path, but I still get the errors.
    WHAT IS THE CORRECT WAY OF USING MX COMPONENTS IN A PURE ACTION SCRIPT PROJECT ?
    If I want to use th fl.controls componets instead but dont have CS3 where can I download them ?

    Thank you for your quick reply.
    But how then can I obtain the fl.controls components and use them in an Action
    Script project in Flash Builder 4?
    I don't have CS3 or CS4 (the flash authoring tool) installed.
    Is there an SWC somewhere to be downloaded?

  • I am using Dreamweaver CS4  and can no longer connect to Device Central - Can you help me with this?

    I am using Dreamweaver CS4  and can no longer connect to Device Central - Can you help me with this?

    Device Central was discontinued April 23, 2012.
    http://www.adobe.com/products/devicecentral.html
    And replaced with Adobe Edge Inspect CC (for Cloud subscribers)
    http://html.adobe.com/edge/inspect/
    Nancy O.

  • Import of XML file failed in portal using XML Content and Action

    Hi Friends,
    I am trying to import the simple XML file which is just creating the folder in the PORTAL_CONTENT using XML CONTENT AND ACTIONS  which is one way of creating the portal content. GO TO SYSTEM ADMINISTRATION > TRANSPORT > XML CONTENT AND ACTIONS > IMPORT.
    The reason for using this import tool is to upload the backend Business roles, which is not not working on our corporate portal. To test the import functionality I used the following xml file (I got this XML file by exporting the test folder in the portal using the same tool)
    <GenericCreator author="XML Creator" version="XML Automatic Creation" mode="clean,execute" report.level="success" createMode="1" default.locale="en" ignore="false">
    <Context name="portal_content" objectClass="com.sap.portal.pcd.gl.GlContext"></Context>     <Property name="parent1" value="pcd:portal_content"/>
         <Context name="com.dri.fldr.im" objectClass="com.sap.portal.pcd.gl.GlContext" create_as="0" parent="$">
              <Attributes>
                   <Attribute name="com.sap.portal.pcm.Description" type="text">
                        <AttributeValue value="" locale=""/>
                        <Attribute name="administration" type="string">
                             <AttributeValue value=""/>
                        </Attribute>
                        <Attribute name="Inheritance" type="string">
                             <AttributeValue value="NONFINAL"/>
                        </Attribute>
                   </Attribute>
                   <Attribute name="com.sap.portal.pcm.Title" type="text">
                        <AttributeValue value="test" locale=""/>
                        <AttributeValue value="test" locale="en"/>
                        <Attribute name="administration" type="string">
                             <AttributeValue value=""/>
                        </Attribute>
                        <Attribute name="mandatory" type="string">
                             <AttributeValue value="true"/>
                        </Attribute>
                        <Attribute name="Inheritance" type="string">
                             <AttributeValue value="NONFINAL"/>
                        </Attribute>
                   </Attribute>
              </Attributes>
         </Context>
    </GenericCreator>
    SDN BLOCKED THE XML The above XML file works fine in other portal in the landscape but not in corporate portal ( which is freshly build recently).Following error message is display when i am trying to upload the file
    Status Name Action Type Comment
    General Extracting root node E:\usr\sap\EPD\JC00\j2ee\cluster\server0\%USERPROFILE%\AppData\Local\Temp\tmp_masscontent4135391959047431276.xml Failed to extract root node
    General Extracting root node E:\usr\sap\EPD\JC00\j2ee\cluster\server0\%USERPROFILE%\AppData\Local\Temp\tmp_masscontent4135391959047431276.xml Parsing failed .
    Dont know is there a service/ configurations needs to be done to enable this feature?.
    Thanks
    Edited by: hammad on Sep 4, 2009 5:48 PM
    Edited by: hammad on Sep 4, 2009 5:49 PM

    The problem statement is not very clear.
    Try following this how to guide [https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/207a2141-c870-2910-e080-90c920b24f47&overridelayout=true|How-To]
    Best Regards,
    Prasanna K

  • Use of Import and Export script

    Hi,
    Can any one tel me what is the use of Import and Export script.
    After moving the pages from / into server what is the need of giving the import / export command.
    export /oracle/apps/ap/setup/webui/customizations/site/0/SetupPG -rootdir <destination path> -username <data base user name> -password <data base password> -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host =<hostname> (port = <port id>)))(connect_data = (sid = <sid>)))".
    Thanks in Advance,
    Jegan

    And Export/Import is also used to move personalizations and substitutions from one system to another system.
    You can also use Functional administrator UI to export and import pages.
    Functional administrator in turn uses export/import internally.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • Can I view photos and movies from my external hard drive? I used Time Machine and a WD Passport for backup. Since my drive on my MacBook Pro is filling up I was planning to delete some of the movies and photos.

    Can I view photos and movies from my external hard drive? I used Time Machine and a WD Passport for backup. Since my drive on my MacBook Pro is filling up I was planning to delete some of the movies and photos. I wanted to see if I could view them from the hard drive. Thanks

    Hello, eco1. 
    Thank you for visiting Apple Support Communities. 
    This sounds like you are wanting to move your iTunes media folder to an external drive and have iTunes this folder from this location.  If this is the case then I would recommend taking a look at the article below. 
    iTunes for Mac: Moving your iTunes Media folder
    http://support.apple.com/kb/ht1449
    Cheers,
    Jason H. 

  • Trying to get my fcp project to burn to dvd at the highest quality? Ive used compressor and then tried to put it in dvdsp put its not working. I am having problems with the audio or when i burn it , i cant play the dvd? any help would be appreciated

    Ive used compressor and then tried to put it in dvdsp put its not working. I am having problems with the audio or when i burn it , i cant play the dvd? any help would be appreciated

    I suspect you are attempting to burn an HD DVD, which will not play on a DVD player...
    But if you provide more details such as the settings you are applying in Compressor, then we would be able to provide you more accurate information.
    How are you adding the files to Compressor?
    In FCP, what are your footage properties (command-9) and sequence settings (command-0)

  • Why do i repeatedly get Adobe action script error? How do i solved it, Why do i repeatedly get Adobe action script error? How do i solved it

    Why do i repeatedly get Adobe action script error ? How do i solved it ?

    We don't know what that is, you'll have to talk to Adobe on their forums.

  • I came home and attempted to power on my iPad2. I can see the backlight but nothing on the screen. When I try to reset by pushing the off button and the power button at the same time I can sometimes see the characters briefly but the screen has lines and

    I came home and attempted to power on my iPad2. I can see the backlight but nothing on the screen. When I try to reset by pushing the off button and the power button at the same time I can sometimes see the characters briefly but the screen has lines. Can someone tell me if there is anything else I can do before a trip to the repair shop?
    Will

    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • Games and music in ITunes on the VIAO. When I try to sync them to the ITOUCH or the IPAD I get a message that I am not authorized-.Go to the ITunes Store and Authorize this computer.

    FIRST there are some games and music in ITunes on the VIAO. When I try to sync them to the ITOUCH or the IPAD I get a message that I am not authorized….Go to the ITunes Store and Authorize this computer. I have completed this procedure several times and receive back the message you are authorized on this computer and I have authorized 2 of 5 devices allowed.
    Why am I not able access the games and music on my machine? How can I sync these items to my ITOUCH and MY IPAD
    SECOND How do I move my music and Games from ITUNES on the G5 to TUNES on the PC so I am able to sync those items to my devices.
    I have inherited my wife’s Laptop a:
    SONY VIAO
    MS Windows XP Home edition V 2002
    Service Pack 3
    ACPI Uniprocessor PC
    Owner dvkpqpg2.
    ITunes 11.01.1.12 updated 12/8/12
    I am both a PC and ITunes Rookie.
    I have some MAC experience and presently use a:
    Mac Dual PowerPC G5
    OS 10.4.11
    2.5GB DDR SDRAM
    ITunes 9.2.1
    ITOUCH MC011LL
    64 GB----57 GB avail
    iOS 5.11
    IPAD MC954LL
    iOS 6.0.1
    16 GB----37 GB avail

    If you want the ability to add music from multiple libraries see this thread.
    If you no longer have access to the computer that has your original library then see Recover your iTunes library from your iPod or iOS device.
    tt2

  • My ipad recognizes my home network but will not connect to the internet. When I click on AirPort/preferences at the top of the imac screen it says..."AirPort has a self-assigned ip address and may not connect to the internet".How can I change ip address?

    My ipad recognizes my home network but will not connect to the internet. When I click on AirPort/preferences at the top of the imac screen it says..."AirPort has a self-assigned ip address and may not connect to the internet". If this is the root of the problem,how can I change ip address?
    Ipad will connect no problem to other networks.

    First thing you need I think is to get your iMac connected to the Internet.
    Shut down your iMac and you iPad. Then power off your router. Wait 30 seconds and power up the router.
    After the router indicates that it is connected to the Internet then start up your iMac and see if it connects. If the iMac connects to the Internet then your iPad should too.
    If this power up sequence doesn't work you'll have to dig into the router setup to make sure it is working properly.

  • I open iWeb but the main window doesn't open/appear on screen. The little windows like the inspector and font windows appear. Can anyone help?

    I open iWeb but the main window doesn't open/appear on screen. The little windows like the inspector and font windows appear. Can anyone help?

    Try the following:
    1 - delete the iWeb preference file, com.apple.iWeb.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iWeb's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iWeb folder (Snow Leopard and Earlier).
    3 - launch iWeb and try again.
    NOTE:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    OT

  • My family put multiple devices on the icloud, and I need to know how to manage duplicate entries.  Specifically contacts.  If I fix the contact list on my pc will it push the info out to the other devices and maintain it correctly?

    My family put multiple devices on the icloud, and I need to know how to manage duplicate entries.  Specifically contacts.  If I fix the contact list on my pc will it push the info out to the other devices and maintain it correctly?

    All devices signed into the same iCloud account will finish up with the same contacts. Of course if prior to joining iCloud two family members each had an entry for Uncle Fred, then you will finish up with two contact cards for Uncle Fred, and so on. If you tidy this up on your computer then the changes will propagate to everyone else.

  • I have an iPhone 4 and want to be able to send photos via ams. I hold down the copy button on the picture but when I go to paste it in the text of a message it won't paste. Any ideas on this please.Thanks

    I have an iPhone 4 and want to be able to send photos via sms. I hold down the copy button on the picture but when I go to paste it in the text of a message it won't paste. Any ideas on this please??Thanks

    No phone can send photos via SMS. You would need MMS (or iMessage or a 3rd party app such as WhatsApp). SMS messages are limited to 160 characters of text only.

Maybe you are looking for