Problem with setting source path in Flash Builder

In trying to learn ActionScript in FlashBuilder, I ran across a Library that needs to be added to my project.  The code is at http://www.rightactionscript.com/ascb (the ascb.display package).  I have tried placing it in several directories on my hard drive and setting the build path to those directories (Projects -> Properties -> ActionScript Build Path), but get an error (non-verbose, i.e. no explanation) on attempting to run the code.  Within FlashBuilder, the classes show up in the Package Explorer, and the code completion works fine....what am I missing?

Yes, mc1 and mc2 are both on the root timeline. The similar issue is that using a relative path does not work. Its been awhile since I used Flash and could do wonders with AS 2, but AS 3 is hard to get used to. (second nature to start typing _root...). I was told to avoid absolute paths and vars, and use events. What is the best way to have a movie clip play and then tell another (sibling) movie clip to play when it reaches a certain frame? When mc1 stops on frame x, the code below runs. The commented line is the one that does not work.
var fl_SecondsToCountDown:Number = 1;
var fl_CountDownTimerInstance:Timer = new Timer(1000, fl_SecondsToCountDown);
fl_CountDownTimerInstance.addEventListener(TimerEvent.TIMER, fl_CountDownTimerHandler);
fl_CountDownTimerInstance.start();
function fl_CountDownTimerHandler(event:TimerEvent):void
Object(root).mc2.play();
//Object(this).mc2.play();
fl_SecondsToCountDown--;

Similar Messages

  • Problem with setting Source Level in Sun Studio 2

    I've got problem with setting Source Level to 1.5 in Sun Studio 2. When I try to set it to 1.5 in Project properties and click Ok everything seem to go well, but when I open Project Properties again Source Level is set to 1.4. I need this to work cause I started to lear Java recently and I want to use foreach loop.
    Please help

    I'm just citing an example using Date().
    In fact, whether I use DateFormat or Calendar, it shows the same result.
    When I set the date to 1 Jan 1950 0 hours 0 minutes 0 seconds,
    jdk1.4.2 will always return me 1 Jan 1950 0 hours 10 minutes 0 seconds.
    It works correctly under jdk1.3.1

  • Problems with Dashboard Demo App in Flash Builder 4

    I imported the Adobe Flex Dashboard app into Flash Builder 4 using SD 4.1 and selected "Use Flex 3 compatibility mode", but there are still some issues after import.
    I'm not talking about having to create the "libs" folder and re-generate the HTML templates. I know why that needs to be done. I'm also not talking about the IStroke and IFill errors you get for the number of arguments to the apply() and begin() methods, as those interfaces changed in Flex 3.5.
    But when I get the app launched, the chart datatips are just a black rectangle (no text) and the combobox entry text is invisible.
    I'm going to try and fix these, but I thought selecting "Use Flex 3 compatibility mode" meant no changed required?

    Here is a simple example. Create a new project in Flash Builder 4 and in the project properties  compiler section, select "Use Flex 3 compatibility mode". Then launch the app, hover over a column in the chart and you see black rectangles, not data tips. Why is this and how to fix?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
      xmlns:mx="http://www.adobe.com/2006/mxml"
      creationComplete="srv.send()"
      height="600">
      <mx:HTTPService id="srv"
        url="http://aspexamples.adobe.com/chart_examples/expenses-xml.aspx"/>
      <mx:ComboBox dataProvider="{srv.lastResult.data.result}" labelField="month"/>
      <mx:Panel title="Column Chart">
        <mx:ColumnChart id="myChart" showDataTips="true"
          dataProvider="{srv.lastResult.data.result}">     
          <mx:horizontalAxis>
            <mx:CategoryAxis categoryField="month"/>
          </mx:horizontalAxis>
          <mx:series>
            <mx:ColumnSeries xField="month" yField="profit"
              displayName="Profit"/>
            <mx:ColumnSeries xField="month" yField="expenses"
              displayName="Expenses"/>
          </mx:series>
        </mx:ColumnChart>
        <mx:Legend dataProvider="{myChart}"/>
      </mx:Panel>
    </mx:Application>

  • I just bought an AirPort Extreme system over this weekend and I am having problem with setting it up. I plugged the cable as explained in the manual but there is no way I can get a steady green light. I all see is flashing amber light. Can anyone help me,

    I just bought an AirPort Extreme system over this weekend and I am having problem with setting it up. I plugged the cable as explained in the manual but there is no way I can get a steady green light. I all see is flashing amber light. Can anyone help me,

    Think you need to provide some more details about what you are connecting

  • Linkage and performance problems with "Additional source folders"

    Hello
    There seems to be a some problems when using "additional source folders" in Flash Builder 4.5 and 4.5.1 (links to folders outside a project see pic below). Hopefully I'm doing something wrong and some kind soul could point it out.
    I have a library project which is referenced from a Flex application. When I try to use the tools to go to any of the declarations in the library project from the flex application project, I get a "Code Navigation Error" insetad of seeing the source code in the library project:
    Typeing with code completion turned on is super-duper slow, characters take around half a second to appear.
    What would really help is to know if there's a way to tell Flash Builder how to locate the source files for library swc's, and if there was a way to improve the performance of the text editor.

    Thanks for replying.
    I didn't specifically embed the source. How would one do that? I tried the "-debug" additional compiler option (from here  http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7ad5.html) but I get an error saying "Option -debug cannot be used when compiling in Flash Builder":
    I also did add the common swc into the libraries path using "Add project" in the Flex Application project:
    The linked source folders are in the library project, however I still get the same problem wven when not using linkled source folders so I don't think that is the cause:

  • Problem with Set/Get volume of input device with single channel

    from Symadept <[email protected]>
    to Cocoa Developers <[email protected]>,
    coreaudio-api <[email protected]>
    date Thu, Dec 10, 2009 at 2:45 PM
    subject Problem with Set/Get volume of input device with single channel
    mailed-by gmail.com
    hide details 2:45 PM (2 hours ago)
    Hi,
    I am trying to Set/Get Volume level of Input device which has only single channel but no master channel, then it fails to retrieve the kAudioDevicePropertyPreferredChannelsForStereo and intermittently kAudioDevicePropertyVolumeScalar for each channel. But this works well for Output device.
    So is there any difference in setting/getting the volume of input channels?
    I am pasting the downloadable link to sample.
    http://www.4shared.com/file/169494513/f53ed27/VolumeManagerTest.html
    Thanks in advance.
    Regards
    Mustafa
    Tags: MacOSX, CoreAudio, Objective C.

    That works but the the game will not be in full screen, it will have an empty strip at the bottom.
    I actually found out what's the problem. I traced the stageWidth and stageHeight during resizing event. I found out that when it first resized, the stage width and height were the size with the notification bar. So when I pass the stage into startling, myStarling = new Starling(Game,stage), the stage is in the wrong size. For some reason, I can only get the correct stage width and height after the third resizing event.
    So now I need to restart Starling everytime a resizing event happened. It gives me the right result but I am not sure it is a good idea to do that.
    And thanks a lot for your time kglad~I really appriciate your help.

  • Problem with SET GET parameters

    Hi all,
    I am facing a problem using SET and GET parameters.
    There is a Z transaction(Dialog program) where some fields of screen are having parameter ID's. That transaction is designed to diaplay/change status of only one inspection lot at a time.
    Now I need to call that transaction in a loop using BDC. I mean i need to update the status of multiple inspection lots(one after the other). Before calling the transaction I am using
    SET PARAMETER ID 'QLS' FIELD lv_prueflos.
    Unfortunately the transaction is only changing the first inspection lot. When I debugged I found that the screen field is changing in PAI. Even though in PBO it shows the next value, when it goes to PAI it is automatically changing to the first value(inspection lot).
    Example: Inspection Lots : 4100000234
                                               4100000235
                                              4100000236
    Now first time when the call transaction is being made the status of insp lot 4100000234 is changed. For the second time when insp lot 4100000235 is being passed in PBO ican see this. But the moment it enters PAI the screen field changes to 4100000234.
    Could you pls help me in solving this issue.
    Thanks,
    Aravind

    Hi,
    Problem with SET GET parameters
    Regarding on your query. Follow this below link.
    It will help you.
    Re: Problem with Set parameter ID
    Re: Problem in Set parameter ID
    I Hope it will helps to you.
    Regards,
    Sekhar

  • Button in Bex Analyser 7.0 - problem with setting up Static Parameters

    Hello,
    I know a similar problem has been discussed here already, but I am still having problems with setting up Static Parameters of my Button in BEx Analyser 7.0, so that I can pass Variable values from that button to my query.
    This is what I do - in Static Parameters of my Button I set the following values:
    Name                          Index          Value
    DATA_PROVIDER        0               DP_1
    CMD                             0               PROCESS_VARIABLES
    SUBCMD                      0               VAR_SUBMIT
    VAR_NAME                 0               0RMA_FIP
    VAR_VALUE               0               004/2010
    As a result, I would like the value 004/2010 to be passed to variable 0RMA_FIP (which is mandatory) and the query to be executed with that value. For some reason, however, the value is not passed correctly, and instead the variable is filled with a blank or not filled at all, and I am getting a message "Specifiy value for variable Fiscal year/period". What do I do wrong?
    Just to give you a broader picture - I would like to later use this logic to pass more than one variables into a query, including a hierarchy node, and read the values from an Excel worksheet - however, after many attempts to do so, I started playing with just one variable to figure out what the problem was.
    I have already seen the following two threads and SAP notes on passing variable values from the button:
    Re: Button in BEx Analyzer 7.0
    Re: How to set variables values via VBA.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be?quicklink=index&overridelayout=true
    Can anyone please advise?
    Cheers,
    AL

    I managed to figure it out myself!
    Instead of VAR_VALUE I need to enter VAR_VALUE_EXT, and it works fine.
    I will mark this thread as "answered".

  • Problems with setting up my ISP's mail server in Windows Live Mail and Thunderbird

    The laptop is a G60-535DX with Windows 7  64 bit. I've managed to setup my gmail account fine in Live Mail, but when setting  up my ISP' mail server, it doesn't work. I get the message that the information was entered correctly, and I see the 'connecting' at the bottom of the page, and then 'error', and clicking on it shows a socket error #10061. In Thunderbird, I get a timeout error message. I've entered all the incoming and outgoing server information correctly, (I've done this over 8-9 times now), the ports are the defaults(110,25), no SSL, no authentication. I've talked with my ISP several times. Just a couple of hours ago was the last time. Their only other possibilities were that Live Mail had problems with setting up more than one account, that Live Mail needed updating, that Windows 7 was a new operating system and there were 'kinks'. I removed the gmail account, set up the ISP's mail by itself; didn't help. I checked for Live Mail updates, but found out that they all come from Windows updates(which are current).  The folks on PCQ&A inform me that they have 3 or 4 accounts with Live Mail. I can get my mail, by logging onto my ISP's website, but that' kind of a nuisance. I posted this in Seven Forums and they didn't have any ideas. As I said, I also can't get my mail server to work in Thunderbird, either.  I don't know what else to try. (short of activating the recovery partition and starting from scratch). Any ideas would be more that welcome.
    Thanks,
    Steve

    Stevehiker wrote:
    Nevermind, it's fixed. One of the guys on PCQ&A suggested going to my ISP's website to see if they had a support page. They did and it stated that under certain circumstances that for the login ID the whole email address should be entered. For XP and Outlook Express one only uses the first part of the email address (your name); so just for grins I entered the whole address, name and all and everyting worked. Called my ISP and was told that that wasn't the way it's supposed to work. Well----
    Thanks anyway,
    Steve
    Mine works the same way_must enter full email address as login. AT&T?
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Obiee 11g . problem with set default as columnname in interaction tab

    Hi Obiee gurus ,
    I have small problem with set default option in interaction tab in column properties. actually my problem is , i changed one column bold save as set default option bold and how to revert back to my column option. when i create new analysis with same name . it takes set default option for that column.
    can Please give some suggestion for this problem.
    regards
    Srinivas

    Hi Srinivas,
    i guess this will be same for 11G
    Refer
    http://blogs.oracle.com/siebelessentials//2008/08/remove_systemwide_default_sett.html
    thanks,
    Saichand.v

  • Problem with setting Item level permissions lists

    Hello!
    I have SPS 2013 on-premised environment with AD authentication.
    At some moment I've noticed that we have a problem with setting the item level permissions on any lists except the document libraries.
    When I click the "shared with" button I see a popup form with a list of users who have an access to that list but there is no "invite people" link or "Advanced" link. Moreover, the "loading" ring rotates
    instanly like some operation was'nt ended. 
    The same operation with documents in libraries works well.
    I am be grateful for any help!

    Hi Mischael,
    From your description, my understanding is that there were no "invite people" or "Advanced" link when some users clicked "shared with" button in some lists.
    This issue seems like about permissions. Please log on your site with site collection administrator or a user who has full control for the site, then go to a problematic list->List settings->Permissions for this list, check whether the list
    has unique permissions. Then click "Check Permissions", check the permission level for the problematic users and then go to Site Settings->Site permissions->Permission levels, check whether the permission level contains "Manage permissions".
    If not, add the permission into the permission level.
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I'm having problems with 7.1 update my flash "flashes" now when I receive txt's and notifications! And I'm also having problems with freezing and wifi problems! How do I solve this?

    I'm having problems with 7.1 update my flash "flashes" now when I receive txt's and notifications! And I'm also having problems with freezing and wifi problems! How do I solve this?

    Doh! Rectified flash!
    But when face timing 2 seconds after it connects wifi disconnects? Any thoughts

  • Problem signing application to BlackBerry from Flash builder 4.6 premium

    Hi,
    I would like generate "BlackBerry" version of my application with Flash Builder, for this i'm using this guide.
    http://docs.blackberry.com/en/developers/deliverables/37176/BlackBerry_Tablet_OS_SDK_for_A dobe_AIR-Getting_Started_Guide_for_Windows_Developers--1943146-1206065540-001-2.0_Beta-US. pdf
    First, i have uninstalled older flash builder versions, and i have installed Flash builder 4.6 premium.
    After, I have installed the BlackBerry Tablet OS SDK for Adobe AIR.
    Next, I have updated the BlackBerry Tablet OS SDK plug-in.
    But, my problem is using the deployment setup wizard.
    I tried with the BlackBerry Tablet Simulator started, but when I click "Run the BlackBerry Tablet OS Deployment Setup Wizard" to configure your development environment, the wizard is not showing.
    I would like generate my application, ".bar" file, signed with the reals certificates of BlackBerry. But i don´t know what is the problem.
    Somebody have tested if this wizard is working to Flash builder 4.6.
    Furthermore, i have tried to setting the reals certificates of BlackBerry, with the preferences window:
    Flash Builder > Preferences > Flash Builder > Target Platforms > BlackBerry Tablet OS > Signing.
    Such as at this url:
    http://www.adobe.com/devnet/air/articles/packaging-air-apps-blackberry.html
    But when i click Register button, the dialog is not showing.
    Any idea is wellcome.
    Thanks

    Hi all,
    I have found the problem
    BlackBerry Tablet OS search a path that don´t exist in my spanish Windows X.
    As my system is at spanish, BlackBerry Tablet OS installer create this path:
    %HOMEPATH%\Configuraci¾n local\Datos de programa\Research In Motion
    To resolve the problem, you must to create the path in english and copy the content of spanish path:
    %HOMEPATH%\Local Settings\Application Data\Research In Motion
    By default, code signing keys are stored in a central location in your profile directory and used by all BlackBerry Tablet OS development tools. The default locations of these files vary based on operating system and  are outlined in the following table.  
    Note: In a Windows XP environment, the default  %HOMEPATH% is C:\Documents and Settings\<username>.  In a Windows Vista and Windows 7 environment, the default %HOMEPATH% is  C:\Users\<username>.
    Windows XP
    %HOMEPATH%\Local Settings\Application Data\Research In Motion
    Windows Vista  and  Windows 7
    %HOMEPATH%\AppData\Local\Research In Motion
    Mac OS
    ~/Library/Research In Motion
    UNIX and Linux
    ~/.rim

  • SWC PNG's invisible when compression is set to JPEG in Flash Builder 4.7/AIR 3.4

    Moved my ActionScript Mobile Project game from Flash Builder 4.6 / AIR 3.2 yesterday to the new release of 4.7 / AIR 3.4. One side effect was that when my PNG's in my assets SWC were set to use JPEG compression instead of PNG, they are invisible at runtime. I haven't found any mention of this when searching so far. I can just use PNG compression for now, but it's nice to have the choice. Anyone else run into this problem?

    I haven't seen this come up, however you might want to give our latest AIR 3.5 build a try (12/11/2012 - AIR 3.5 Runtime and SDK Update).  If it still occurs, could you please open a new bug report on this over at bugbase.adobe.com?  Please post back with the URL so that others affected can add their comments and votes.

  • TED chained applications with same source path produce large distribution file

    Hello,
    after using an application successful in my central location I want to
    distribute it - what's the problem: The application itself contains 13
    simple msi installations as dependent....
    So what happens: The source path contains 13 msi files, the
    distribution file contains all files for every application...even if
    they are the same...
    I was curious about not getting the gather finished, instead I got a
    "volume almost out of space" message.
    My question: Is this working as designed, will it be changed (it doesnt
    make sense to distribute the same files multiple times...), is it a bug
    only?:)
    I'm going to put the msi into different subfolders now (change of
    source path, origin path is needed too...) - I think this would work
    well as a workaround, however I would like to know if it's designed
    that way - so you have to take care not to share any folders or
    subfolders...
    Thx in advance
    Dirk
    ObiwanRedN

    Jared,
    hard to get right now..had to remove the old apps...
    Trying to explain short:
    - 13 small msi install applications, every source in a different folder
    now
    - "package" application (call it "PACKAGE")-> associated to selected
    workstations (or ws group), start menu/desktop to do a manual install,
    this app doesn't do anything except having the 13 dependent
    applications
    - "update" application (thats what I named "3rd"...sorry for the
    confusing name;))-> associated to all workstations, set to force run if
    special conditions are met (so something showing one of the partial
    apps is outdated, the partial app will have a new version number
    assigned). This application had the dependent app "PACKAGE" -> worked
    fine in local distribution but would start to distribute the apps 1-13
    again....(?not sure)
    Finally I came to a general conclusion: If you have some special basic
    application (lets say dot-net 3.0, 2.0 etc..., a special patch) that
    might be required for different applications -> it's not a good idea to
    use msi for this one because it will distribute with every app using it
    as a dependent app. I will go to distribute file sources, the app calls
    msiexec so nothing will be distributed for this part...
    Hopefully I explained somewha better...(?)
    Thx in advance
    Dirk
    ObiwanRedN

Maybe you are looking for

  • How to use the remainder opertor in abap

    Hi, I want to use the % operator to get the remainder. What i have done is lv_data = 301. lv_test = lv_data % 3. I want to get the result as 1. But this just fails to work Please suggest a solution. regards,

  • Dv camera not recognised pe10

    hi cant get my panasonic nv-dx110 recognised by premier elements 10. my sony dcr-tr7000e has no problems. it has full remote etc. but the pano is not recognised at all, i have tried refreshing the device listings in the registry, but to no avalil!! u

  • Ldap in solaris 11-11-11

    Does ldap works in solaris 11 ? I am configuring a solaris 11 system to connect with ldap. But i am finding out that the configuration files "nsswitch.conf" cant be edit. edits will be lost. Can you help me seting up the ldap client on this system "s

  • Execute  MCSI report in background : process Output

    Hello Folks, I am working on Ecc 6.0 . i executed the report MCSI (RMCY9200) in background . I need to process the output of that Job , But could not find any spool for the same job ... Then i came to know that the Output of the job has to be seen fr

  • Update 10.7.4 has triggered MBP catastrophic failure.. help!

    Please Help! 2009 Macbook Pro 15.4" 4gb RAM (Unibody) HD 500.11 GB FUJITUS MJA2... I tried to install an update for 10.7.4 via the combo package. The update says it failed so I tried to install it again- every time I got to finalizing/moving things a