Is there a way to conditionally compile for AS2.0 or AS3.0?

I'm moving some projects with .as files to AS3.0, but I would
like to maintain backwards compatibility with AS 2.0.
One example is in AS 2.0, including files is:
#include "myFile.as"
In AS 3.0, this causes an error, and apparently it likes:
include "myFiles.as"
Is there some way to surround this with some code so that it
can be compiled under either AS 2.0 or AS 3.0?

no. include files are compiled at publication, not during
run-time.

Similar Messages

  • I was recently burglarized and lost a bunch of Apple products. Is there a way to get receipts for items purchased with my apple id?

    I was recently burglarized and lost a bunch of Apple products. Is there a way to get receipts for items purchased with my Apple ID?

    Yes if you go to http://store.apple.com/ on the top right under the search it will say "Account" or your first name. You will click or tap that and you will click "check order status" sign in. After you do that in the middle by the order date and number it will say "print invoices" and as long as your item(s) have been ship you will be able to see and print your invoice receipts. you can view items purchased in the last 18 months.

  • Is there any way to tell which formulas a particular cell is in, reverse look-up style? That is, is there a way to search somehow for which formulas in a sheet contain a particular cell in them without opening all of them up? If not, it would be nice

    Is there any way to tell which formulas a particular cell is in, reverse look-up style? That is, is there a way to search somehow for which formulas in a sheet contain a particular cell in them without opening all of them up? If not, it would be nice.
    I'm fixing a Numbers document that I use in business daily that's become overly complicated, but while I want to clear/delete a number of cells in it to clean it up, I'm not sure if those cells are being used as source for other formulas on the page. I don't have to open all my formulas one by one to see if that cell is in there, do I?! That'd be a huge amount of work if I wanted to eliminate say 10 cells to search each formula on the page to see if it is in there or watch all the cells when I delete that cell to see if the numbers change! There's got to be an easier way! Right click doesn't seem to be any help.
    I don't want to damage my daily tool to make it cleaner and reorganize it. Is there really no way to do a reverse look-up of which formulas a particular cell is in?! Any time I click on a formula it highlights all the CELLS in that formula. Why can't I (or can I?) do the reverse and see all the FORMULAS that contain a particular cell?
    As a Numbers document ages or gets used frequently, you can sometimes forget which cells are tied to which formulas. You just look for the results of your formulas. Would be a nice thing to be able to do. Thoughts? Work-arounds? Answers?

    Answer would be no unless application provided such feature. Numbers does not as far as I know.
    Note that even if you have complete list of formulae used in a table, identifying formulae referencing any given cell is not simple.
    E.g., cell T20 is referenced not only in
    =T20+1
    but also in
    =SUM(T)
    =SUM(20:20)
    =SUM(S19:U22)
    =OFFSET(S1,19,1,1,1)
    =INDIRECT("T"&(10*2))
    In order to identify such formula, we have to actually evaluate it to see if it references the given cell. Especially such formula as OFFSET() and INDIRECT() may not be found by static parser because their parameters can be dynamic.
    Sorry to be the bearer of bad tidings.
    H

  • When I send an email with Mail, I often confuse the account which I'm using. The result is that I send a message with the wrong account! Is there a way to avoid this (for example a reminder before the email is sent)?

    When I send an email with Mail, I often confuse the account which I'm using. The result is that I send a message with the wrong account! Is there a way to avoid this (for example a reminder before the email is sent)?

    Hi, thanks for the answer, I did that already. Unfortunatly this doesn't help me at all, as I often forget to check the menu. For me composing the message is writing the text, the subject, the person to who is addressed and than press "send".
    I often forget to check the "from", and this is a problem because the software select itself one of the accounts.
    Isn't there a way at least to put as a default a blank field instead of one of the accounts? or an account which doesn't work so if I forget to specify the "from" I will be rnotofied that the message can't be sent.
    I guess this could be a rather common problem for many people!
    Thanks
    Sergio

  • Is there any way to use a For Each Loop for each property of an User Defined Type?

    Is there any way to use a For Each Loop for each property of an User Defined Type? That would be very handy!
    Jorge Barbi Martins ([email protected])

    Alas, no, not in VBA.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Is there any way to report users for spamming?

    Is there a way to report users for spamming?
    One of them in this forum is now editing their handle to nearly match genuine users.

    Use the [url http://forums.oracle.com/forums/forum.jspa?forumID=29]Community Feedback and Suggestions Forum to report spam and for question about the Forum performance login performance etc... but not for product related questions.
    Tony

  • Is there any way to Authorization Management for Material Components?

    Hello every body
       Is there any way to Authorization Management for Material Components? 
       For example  i want to create , delete , modify  Material Components,how i can Authorization Management ?
       Enhancement or IMG or other ways?
                                                                                    thanks

    Alas, no, not in VBA.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Is there any way to raise alerts for stock outages in inventory

    Is there any way to raise alerts for stock outages in inventory

    You can use the Check Material Shortages attribute in the Org items under Inventory tab. Oracle will trigger shortage alert notifucations for the checked items. This works in the conjuntion with the Shortage Parameters defined at the Inv ORg level (these parameters are nothing but what business wants to consider as a shortage in WIP and OM). You can notify the cmp planner/buyer , assy planner/job creator..

  • HT1473 I am having to recreate my itunes library and do not understand why prior album artwork appeared in my older library but not the new library?  Is there some way to scan itunes for missing album artwork?

    I am having to recreate my itunes library and do not understand why prior album artwork appeared in my older library but not the new library?  Is there some way to scan itunes for missing album artwork?

    do you have a strongly recommended default "managed" library (the iPhoto preference to "copy imported items to the iPhoto library is in its checked state) or a referenced library - you have unchecked that option?
    It sounds like you have a referenced library and are now experiancing one of the very siginificant drawbacks of a referenced library and one of the many reasons they are strongly not recommended
    Also note that iPhoto '11 may use alises in the originals folder as part of the upgrade
    It is important that we understand exactly what you have and what is not sorking - what error messages you are getting
    You must NEVER make any changes of any sort to the structure of content of the iPhoto library - there are no user servicable parts in it  --  and you can not rebuild yoru librtary - only iPhoto ir iPhoto Library Manager - http://www.fatcatsoftware.com/iplm/ -  can rebuild a library unless you are a SQL programmer and understand the structure that iPhoto uses
    LN

  • Is there a way to have TTS for multiple click boxes on same slide?

    Hi all,
    Using v.7 and Win 7 here. Have a project where I am using Paul's Text-to-speech TTS voice. So far so good. I need to build an interactive slide with mulitple click boxes so the learner can gauge where they are at in the projects progress. Is there a way to use TTS for these mulitple click boxes on the same slide? I see that you can import audio as an MP3 or .wav file but don't know how you would generate the TTS and save it seperately so it could be imported.
    Thanks for the help

    Just generate the TTS on a separate slide and then assign the audio file created in the LIbrary to whatever object you need.

  • Does anyone know if theres a way to create ringtones for text messaging?

    I can create ringtones for phone calls, but is there a way to create ringtones for text messaging?

    There is no current support for that. If you like to give Apple feedback and request this, go to http://www.apple.com/feedback/

  • IPad 2 Mail: Is there a way to set Rules for folders, similar to Mail in the iMac?

    iPad 2 Mail: Is there a way to set Rules for folders, similar to Mail in the iMac?

    Based on your answer, and the answer to another question (which I didn't see before I asked mine, even tho I searched), I get the impression that iPad Mail is just a different face on web mail, that the messages are only stored on the server, not downloaded and stored on the iPad 2. Is that correct?

  • Is there a way to Cross Compile from i386 to x86_64.

    Hi,
    I develop applications in Linux with a i386 arquitecture, but the actual production machine is going to change and became a Dual Core AMD x86_64. Is there a way to cross compile in my computer wihtout having to go to the production machine and compile there all the code?
    Regards,
    Pedro

    Java bytecode is inherently platform portable.Obviously.
    The point is not portability.
    One can compile in any platform as long as the target one contains a JRE.
    My point is that I want to compile with the x86_86 SDK in the i386 platform.
    I might be wrong, but it seems to me that this could be an optimization ... far more suited and specific to a server platform ...
    If so is this the case?
    Is this possible?
    Regards,
    Pedro

  • Is there a way to get ios5 for my 3rd gen ipod touch?

    Is there a way to get ios5 for my 3rd gen ipod touch?

    Yes connect it to iTunes and update.
    http://support.apple.com/kb/HT4623
    Scroll Dow to the update using iTunes section

  • Is there a way to download whatsapp for free onto my iPad 2, without jailing breaking it

    Is there a way to download whatsapp for free onto my iPad 2, without jailing breaking it

    Restting the iPad may reset the Newsstand app as well. One other thing that you can try is to quit Newsstand, restart the iPad and see if that helps.
    To quit Newsstand - Go to the home screen first by tapping the home button. Quit the app by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on the Newsstand app icon until it begins to wiggle. Tap the minus (-) sign in the upper left corner to close the app. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    BTW .... When you download an app again via the Purchased Tab from the App Store, you are downloading from the cloud. That is one of the features of iCloud. Your app purchases are stored "in the cloud" and downloaded from there. There is no need to sync with your computer.

Maybe you are looking for

  • TABLE(CAST()) function not returning the correct results in few scenarios.

    I am using TABLE(CAST()) operation in PL/SQL and it is returning me no data. Here is what I have done: 1.     Created Record type CREATE OR REPLACE TYPE target_rec AS OBJECT target__id          NUMBER(10), target_entity_id NUMBER(10), dd           CH

  • Itunes 7 wont burn cd's

    I recently downloaded the new version of itunes, what a pain that was. I went to burn a cd for the first time with the new software and when I set up the new playlist and press the burn cd button at the bottom right the cd tray keeps sliding out. I h

  • GPS Metadata filter

    I imported a few photos to experiment and added GPS data to some. After adding location to some photos the metadata filter list for GPS Location shows All (2 GPS Locations)  53 Current Map Region 14 Location A     14 This just seems wrong, the number

  • Photoshop Elements 8 Files Won't Open

    Just got my 1st IMAC on Friday and am trying to figure it out.  I have downloaded a trial copy of Photoshop Elements 8 and am not having any luck opening the files I download. The .zip file downloads into the downloads directory,  I double click on i

  • Creative Wireless Music Prob

    Hello, I am ready to return this product for service. It worked somewhat after my initial setup. I updated the software and firmware to improve performance, and now the remote does not communicate with the base station. I can play music through the s