Why don't lower level classes recognize symbols used in the .fla file?

I'm trying to reorganize my code. I have a Paradox.as file, which is linked to a Paradox.fla file.  When I referenced symbols placed on the timeline in my Paradox.as file, my animation code works.  Then I decided to move the code lower down into the hierarchy.  In my Paradox.as file, I create new instances of the Character class.  The following is the folder hierarchy for the related files.  * denotes a folder, and tab denotes its contents:
*Paradox 1-3
     Paradox.fla
     *code
          Paradox.as
          * Player
               Character.as
The symbol "player" is a Character type symbol on the Paradox.fla timeline, as are several other symbols.  Everything works just fine if I'm referencing these symbols in Paradox.as.  However, when I moved the code to Character.as (changing former references to Character type symbols in Paradox.as to "this" in Character.as), none of the symbols on the timeline are recognized any longer.  This is true of both Character type symbols and other types of symbols placed on the timeline.  Why?  Does Paradox.as recognize the symbols only because it is linked to Paradox.fla as the Document Class?  I even exported the Character symbol to Character.as...

Oh.  Yeah.  The .as file linked to the .fla file works just fine.  What I was saying in my original post was, even though that part worked fine, when I transferred to a lower level class that was not linked to the .fla file but was instantiated in the .as file that was linked to the .fla file, I couldn't access anything on the stage directly.  What I ended up doing was passing the references to the lower level class.
I can't find the checkbox where it says "Automatically declare stage instances", but fortunately for me it's enabled.  When calling a MovieClip that's on the stage, I only have to use its name in the .as file that's linked to the .fla file.

Similar Messages

  • Hello - can anyone tell me why my iPad (4th Gen) screen will no longer rotate. I don't have a screen lock symbol next to the battery icon. I have the rotate icon on my desktop but still can't get the screen to rotate.

    Hello - can anyone tell me why my iPad (4th Gen) screen will no longer rotate. I don't have a screen lock symbol next to the battery icon. I have the rotate icon on my desktop but still can't get the screen to rotate.

    Double-click the Home button and swipe Task Bar to the right. Check the Rotation Lock on the far left of Task Bar.
    http://i1224.photobucket.com/albums/ee374/Diavonex/ba23c598623fe4fd062a40e349af2 18d.jpg

  • Why don't installed SSIS Add-ins appear in either the Toolbox or SSIS Toolbox?

    Greetings!
    Why don't installed SSIS Add-ins appear in either the Toolbox or SSIS Toolbox? I have restarted Visual Studio and (heard this might work) restarted the SSIS service, but I still never see any installed add-in.
    Thank you.
    ---------------- GeorgeS, aka "SQLPadawan"

    Hi George,
    What’s the version of your SQL Server? If the SQL Server Integration Services version is 2012, we should use SSDT which can be installed from Shared Features or SQL Server Data Tools – Business Intelligence for Visual Studio 2012 which should be installed
    separately or installed within Professional, Ultimate, or Premium Edition of Visual Studio 2012.
    If the SQL Server Integration Services version is 2014(except Microsoft SQL Server 2014 CTP2), we can only use this tool Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2013.
    The difference between SSDT for Visual Studio versions as below:
    SSDT-BI for Visual Studio 2013 (SSDT-BI for SQL Server 2014) will support various SQL Server versions as follows:
    SSAS projects can target SQL Server 2014 or lower
    SSRS projects can target SQL Server 2014 or lower
    SSIS projects can target only SQL Server 2014
    SSDT-BI for Visual Studio 2012 and SQL Server Data Tools - Visual Studio 2010 support versions of SQL Server as follows:
    SSAS project can target SQL 2012 or lower
    SSRS project can target SQL 2012 or lower
    SSIS project can target only SQL 2012
    So please open the right SQL Server Data Tools, then based on the SQL Server version to refresh the component. For more details, please see blog post by Vaibhav.
    Reference:
    Interoperability and Coexistence (Integration Services)
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Why don't my all day events show up in the notification screen with ios7?

    Why don't my all day events show up in the notification screen with ios7?

    First I would try to update Reader to 11.0.09.  And yes, try installing the Extended Language Pack.
    If that does not help, can you share such a PDF with us: https://forums.adobe.com/thread/1408375

  • Why don't songs that I have purchased show under the "Purchased" section in the I-tunes Store? I have purchased a large quantity

    Why don't songs that I have purchased show under the "Purchased" section in the I-tunes Store? I have purchased a large quantity & it only shows 2.
    vlonnon

    1. iTunes won't offer cloud downloads for songs that it "thinks" are in your library, even if it "knows" the files are missing. If you've exhaustively searched for the missing files and there is no prospect of repair by restoring to them to their original locations, or connecting to new ones, then delete that tracks that display both the missing exclamation mark and are of media kind Purchased/Protected AAC audio file. Don't hide from iTunes in the cloud when asked, close iTunes, then reopen. You can download from the cloud links or iTunes Store > Quicklinks > Purchased > Music > Not on this computer > All songs > Download all.
    2. Why? Not sure, perhaps 3rd party tools or accidental key presses combined with previously hidden warning messages when trying to organize the library. There is a hint that using the feature to downsample media as it is synced to a device may also be involved, though I've not replicated it. Whatever the reason a backup would protect your media.
    tt2

  • Why don't new events created by importing go to the end of events (become the last event) like with previous version of iPhoto?

    Why don't new events created by importing go to the end of events (become the last event) like with previous version of iPhoto?

    View Menu -> Sort Events.

  • This is a new notification coming up with iTunes, why and how do I fix it? The song "Penny Lane" could not be used because the original file could not be found. Would you like to locate it?

    This is a new notification coming up with iTunes, why and how do I fix it?
    The song “Penny Lane” could not be used because the original file could not be found. Would you like to locate it?
    Max

    Hey xxCreepyFiaxx,
    First, I would try the following suggested steps for when you don't see content in iTunes after updating:
    Quit iTunes.
    Download and install the latest version of iTunes.
    Use the Finder (Mac) or Windows Explorer (Windows) to go to the iTunes folder that contains the iTunes library files:
    Mac OS X
    /Users/username/Music/iTunes/
    Microsoft Windows Windows XP and Windows 2000
    \Documents and Settings\username\My Documents\My Music\iTunes\
    Microsoft Windows Windows Vista and Windows 7
    \Users\username\Music\iTunes\
    Drag the iTunes Library file from the above location to the Desktop.
    Open the Previous iTunes Libraries folder in the iTunes folder.
    Locate the file named iTunes Library YYYY-MM-DD where YYYY-MM-DD is the date you upgraded iTunes (Year-Month-Day).
    Drag this file to the iTunes folder (the enclosing folder).
    Rename this file to iTunes Library.
    Open iTunes.
    You should now see your missing content in iTunes.
    via: No content shows up in iTunes after updating
    http://support.apple.com/kb/TS1967
    If that doesn't resolve the issue, then I'd go through the steps in here:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Have a good one,
    Delgadoh

  • "DSCF0019.RAF" could not be used because the original file could not be found.  Why is this occuring on my iMac with Lightroom 5?

    “DSCF0019.RAF” could not be used because the original file could not be found.
    Why is this occuring on my iMac with Lightroom 5?
    Is there something I've done that causes some images to go missing?

    Why is this occuring
    The usual reason is because you moved the file to another location using Finder. No way for LR to know that unless you tell it by clicking on the exclamation mark icon in the grid view and then clicking "Locate".

  • My iTunes account sayscould not be used because the original file could not be found. Would you like to locate it? whenever i click on a song and i didn't move the songs anywhere. I don't know if i saved them to my hard drive so i can't find any songs

    I downloaded something that was told to me to get to put some of my itunes songs onto my android phone. I think it synced my account, though. Whenever i click on a song an exclamation point comes up and something pops up and says "could not be used because the original file could not be found. Would you like to locate it?" and i don't remember ever backing up my songs (this computer is fairly new) and now none of my songs come up. I have no idea what to do but ive spent hundreds of dollars on this account purchasing from the itunes store. Please help me!

    Tunes works through a database file which has a list of your tracks.  When you click on a track it looks up in the database which file it needs to play, then plays the file.  If something breaks this link then you get !  The two main ways to get ! are to move a file from where iTunes expects it to be, or to delete it altogether.  I don't know which has happened in your case.  You can try using Spotlight to find a file for the one referred to in a broken link.  If the files have been moved then they need to be moved back.  If they were deleted completely you will have to restore them from a backup or download them again from the iTunes Store and rebuild your library.

  • TS1718 Why do I get this message:  The song "title" could not be used because the oringinal file could not be found.  Would you like to locate it?

    Why do I get this message:  The song "title" could not be used because the oringinal file could not be found.  Would you like to locate it?

    John Black3 wrote:
    Many of my songs in my iTunes Library no longer play.  I get this error message: "The song xxx could not be used because the original file could not be found. Would you like to locate it?
    this usually happens when a user moves or deletes files in the finder - a sure way to upset iTunes.
    did you move or delete files in the finder ?
    I cannot locate the song.
    if you let iTunes manage your library, all your content will be in <MacintoshHD>/users/<yourname>/music/iTunes/iTunes music (or media)/music. did you look there ? tried a spotlight search ?
    if the files are really gone, and have been purchased from the iTunes store, see Downloading past purchases from the App Store, iBookstore, and iTunes Store.

  • Does anyone know why SIRI will not be available to be used on the ipad 2nd generation in ios6?

    Does anyone know why SIRI will not be available to be used on the ipad 2nd generation in ios6?

    paulcb wrote:
    Personally, I think the first 5 threads created by a new user should direct them straight to the search function using their post as keywords.
    Nice idea. Submit it to Apple (I think by now you know the link ).

  • How can I get low level access to netstream using OSMF?

    Hi
    I'm trying to gain access to the low level netstream underneath the hood of OSMF so that I can access its netstream.info property for reading metrics.
    I find that I am able to do this for MP4 videos but not for F4M dynamic streaming videos.
    For MP4, I was successfully able to create a VideoElement that used a CustomNetLoader class which overrided the createNetStream method to return a netstream object.
    However, for F4M, I have to use either the MediaFactory.createMediaElement(element) method or the F4MElement. The F4MElement does not allow a CustomNetLoader to be used and it seems to only accept a F4MLoader class.
    Any advice on how I can access either the netstream object or the metrics of F4M videos?
    Thanks

    ok, I finally got access to the direct netstream object - someone from Akamai gave me the answer.
    Seeing how I wasn't able to find this answer anywhere on Google, I'm going to post the solution here as there's no way I would have known this solution without someone who knew how to get direct access to the netsteam object in OSMF.
    There's a hidden class that won't show up in the code hint called org.osmf.net.NetStreamLoadTrait that you have to import.
    1) First, your media player playing controlling your MediaElement has to listen for a LoadEvent.LOAD_STATE_CHANGE event after you load the MediaElement into the media player
    mediaPlayer.addEventListener(LoadEvent.LOAD_STATE_CHANGE, onLoadStateChange);
    2) Upon LoadEvent.LOAD_STATE_CHANGE, check for a org.osmf.traits.LoadState.READY - you can only access the NetStream object when it is LoadState.READY or the netstream object will return as null.
    private function onLoadStateChange(e:LoadEvent)
                                  if(e.loadState == LoadState.READY)
    3) Once the LoadState.READY is true, you can create a datatype of NetStreamLoadTrait and type cast it from a Load trait:
    private function onLoadStateChange(e:LoadEvent)
      if(e.loadState == LoadState.READY)
         var nsLoadTrait:NetStreamLoadTrait = mediaPlayer.media.getTrait(MediaTraitType.LOAD) as NetStreamLoadTrait;
    4) Once you successfully type cast the Media Load Trait from your media into NetStreamLoadTrait, you can access the property netstream from the NetStreamLoadTrait object.
    private function onLoadStateChange(e:LoadEvent)
      if(e.loadState == LoadState.READY)
         var nsLoadTrait:NetStreamLoadTrait = mediaPlayer.media.getTrait(MediaTraitType.LOAD) as NetStreamLoadTrait;
         var ns:NetStream = nsLoadTrait.netStream;
    Hope this helps someone out there.

  • Why don't you have any other size monitor than the 27"? You are forcing me to buy another product line and I like Apple?

    I'd like to know why Apple no longer offers any other size display besides the 27"?  I can't use that size, nor do I have that kind of money. You are forcing me to buy another brand and the other brands don't have the compatibility to the new MacBook I just purchased. I would never have bought the new MacBook last month had I known about the display discrimination!  This ***** !

    Well, there are a lot of good screens out there that support mini display port. Just because you bought apple, doesn't mean you have to stick with it. Also you can get adaptors such as mini displayport to hdmi or mini displayport to dvi. Both of those adaptors will allow you to connect your MacBook to a regular monitor.

  • Why don't I see a Padlock symbol in URL Bar when banking/buying etc. with Firefox? How do I know link is secure?

    Usually, when banking, or buying something on line, there will be
    a Padlock symbol, to ensure your transaction/payment info is secure. This is usually seen in the URL address search bar, but I don't see that with Firefox. Why?

    In Firefox 4 you no longer have the Status bar that showed the padlock in previous Firefox versions.<br />
    The padlock only shows that there is a secure connection and doesn't guarantee that you are connected to the right server.<br />
    So you might still be connected to the wrong server if you make a typo in the URL and someone has claimed that mistyped URL.<br />
    The functionality of the padlock has been replaced by the [[Site Identity Button]] on the left end of the location bar.
    See also:
    * http://www.dria.org/wordpress/archives/2008/05/06/635/
    * https://support.mozilla.com/kb/Site+Identity+Button
    You can use this extension to get a padlock on the location bar.
    *Padlock: https://addons.mozilla.org/firefox/addon/padlock-icon/

  • Why don't Audio Levels work in AE CS5.5?

    Hi -
    I have a simple AE (Mac) project.
    I have 2 audio layers of the same narration - slightly different reads.  I was going to pick the best parts of each.  But when I try to silence one completely for a few seconds (by using a Hold Keyframe and dropping the Audio Level down to -66db) the audio still plays through -  as if I didn't lower the db level at all.
    In fact, I don't seem to be able to affect the level using the Audio Level property at all!
    What am I doing wrong?  Is there something new in AE CS5.5?  Is there a setting somewhere??
    TIA some expert advice.
    JL

    Thanks Rick -
    That is one keyboard shortcut I know well and those are the steps I've been taking.
    If I use a Hold Keyframe and set the Audio Level at -100% at that keyframe there should be no sound at all until another keyframe changes that value to other than -100%.   Between the two (Hold keyframe and "regular" keyframe)  the numerical value remains unchanged.   Is that correct?
    Because that is not what is happening.  Sure the numerical value shown in the Layers Switches Pane doesn't change until the Time indicator reaches the diamond shaped keyframe marker - but the audio level I hear changes.
    Am I crazy or is this "broke"?
    JL

Maybe you are looking for

  • Migration from MySQL 5 to Oracle 10g

    Hi All, I'm currently trying to migrate a MySQL database to Oracle and have encountered a few issues, it appears to work fine for most of the tables, with a few errors occurring in the logs for other tables, but they look to be related to connection

  • Customization form at top of screen populate report results at bottom of screen????

    I'm not sure that I was clear on my other question. Is it possible to develop a customization form and its report on the same page? Here is the scenario. We want the customization form on the top of the Portal page, and then we want the results of th

  • Reading HTML data into a DOM

    Hi, I am looking to develop DOM by parsing HTML data. I do not know of how to parse html. Could you please help ? Any tutorial, guide, assistance ?. Thanks in advance. THeo

  • Rental downloaded but won't play

    I rented two movies and they show up in iPod app on iPad. Then, I try to play them from iPod app and they say you have 24 hours and I answer ok. Then my music in the purchased playlist starts playing. The movies never go to the video app.

  • Problems when removing reference of a key-figure structure

    Dear All, While working in the query designer, when I remove the reference from a globally used key-figure structure (using the context menu of the structure) for some editing, the query output is then not the same as it use to be when the reference