Best way to hide symbols when they're on the stage, but invisible?

I have multiple symbols linked to buttons with .click events...
The problem I'm having is that when I've animated the contents of the symbol with opacity down to zero, etc, but the symbol itself remains on the
Stage, and it blocks other layers' text from being selectible (i.e. if visitors wanna copy and paste my text, they would be unable to with that invisible symbol sitting on top of it in the layer order)
I tried to use sym.$(current).hide();   like below... (The rest of this code is for state management so that an animation will play out, and another one will play in whenever a corresponding button is clicked - it comes from here: http://blogs.adobe.com/edge/2012/07/18/tutorial-leveraging-independent-symbol-timelines/)
var current = sym.getVariable("current");
   if (current != "") {
      sym.getSymbol(current).play("out");
        sym.$(current).hide();                     //tried to use this to hide the symbol after it played "out" but it cancelled the play("out") request and just hid my symbol
sym.getSymbol("WelcomeContent").play("in");
sym.$("WelcomeContent").show();
sym.setVariable("current", "WelcomeContent");
I'm guessing that I've used .hide() in the wrong place, can someone suggest where I should put it so that all the unused symbols on the stage are hidden until their button is clicked?
Here's my SAMPLE file http://www.ruesterprod.com/edgehidesymbols/rpedgerebuild.zip
(I commented out the .hide() code on the .click events I mentioned above to show you the functionality I wanna keep)
Thanks all!
Aza

So, getSymbolElement() is missing.
1) One scripting:
if (current != "") { sym.getSymbol(current).play("out").getSymbolElement().hide(); }
2) Another scripting:
if (current != "") {
               sym.getSymbol(current).play("out");
               sym.getSymbol(current).getSymbolElement().hide();
               //sym.$(current).hide();

Similar Messages

  • Pac-Man   They said all "the stages" but does this mean just new fruits?

    I'm tired of pac man game advertisers saying that they offer "all the stages" only to find out it's the same darn maze over and over.
    Having played this just a few times my take is that they offer the same maze over and over again. I've successfully played up to 5 mazes. Anyone gone further to see if there are actually more mazes?
    One maze is so boring.

    Actually I didn't. As I haven't played Pac-Man on the iPod yet. I apologize for misunderstanding that you meant 'maze pattern'.
    Now, not being an uber Pac-Man player (I top out after 3 or 4 levels a sitting), I do not know how often the pattern changes. But according to a FAQ the 'real' game can be completed by only knowing 5 patterns.
    http://www.mameworld.net/pacman/patterns.html

  • I lost my ipod touch. I know that Find My iPod will work when they connect to the internet, but if they just plug it into a computer and wipe it will it not work?

    So let's just say they never connect my ipod to wifi, if they just plug it into a computer and revert it to factory settings, will my lock command and message not send since it was never on wifi?

    because a factory-resetted iPod has no connection to your Apple-ID naturally. To Itunes / Apple it is just a brandnew device. They can't disable it remotely. Technically maybe, but not legally.
    Your only hope would be the police. Give them the serialnumber of the device. But chances are near to nothing to have it ever returned. I myself have had one stolen and it never was found and was never localized with the "find my iphone" tool. The thief has obviously wiped it and is happily using it.
    iPhones are in a better boat, they can be tracked by their IMEI code. Whenever a phone logs it into a cellular network, this code is transmitted. But wifi-only devices don't have that.

  • My husband and I both have iPads and somehow when they were setup the both we're setup using the same email I'd address. When I go to delete and rename one iPad it says all info and pictures will be erased from my iPad. Is there a way to keep the info iPa

    My husband and I both have iPads and somehow when they were setup the both we're setup using the same email I'd address. When I go to delete and rename one iPad it says all info and pictures will be erased from my iPad. Is there a way to keep the info IPad when doing this?

    You can go to Settings/iCloud and delete the account, then create a new iCloud account.  You can still use the same account for the app store though.

  • What is the best way to avoid latency when using the io plug in?

    What is the best way to avoid latency when using the io plug in?

    Hi colin a.
    Welcome to the Support Communities!
    The article below may be able to help you with this.  Click on the link to see more details and screenshots. 
    Logic: About I/O buffer size and monitoring latency
    http://support.apple.com/kb/ht1314
    Cheers,
    - Judy

  • When syncing my iTunes to my iPad from the laptop, I get a list of missing songs; they are in the library, but not in the music folder on my HD. In particular, I uploaded 3 CDs at the same time, all are in my library - but two are missing from the folder.

    When syncing my iTunes to my iPad from the laptop, I get a list of missing songs; they are in the library, but not in the music folder on my HD. In particular, I uploaded 3 CDs at the same time, all are in my library, and all synced to the iPad - but the music from two of them are missing from the music folder. Questions are (a) where might they have gone? and (b) is there a way of "reverse loading" them back to my hard drive from the iPad? Thanks in advance!

    Hi dones49,
    It sounds like your issue here is that iTunes can not find the files for some of the songs you have brought into it. This happens occasionally even if the songs have not been moved from the location that iTunes places them on import or purchase. When you try to use the song, iTunes prompts you to find the file, as you have seen.
    To find the file, use the information in this article to navigate through the iTunes media folders -
    Locate and organize your iTunes files
    If you are still unable to locate the files, you may need to download them from the iTunes store again, or rip them from your CDs. See this article for assistance with downloading your past purchases -
    Download past purchases
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • PLS-00103: Encountered the symbol "" when expecting one of the following:

    Hi I am creating trigger using CFQUERY tag of cold fusion on oracle..
    <CFQUERY DATASOURCE="CRM">
    create or replace trigger AWC_ACCESSROLESID_TRI
    before insert on AWC_ACCESSROLES
    for each row
    begin
    select AWC_ACCESSROLESID_SEQ.nextval into :new.AR_ID from dual;
    end;
    </CFQUERY>
    But the created trigger is not compiled, it is giving the following error
    "Line # = 1 Column # = 6 Error Text = PLS-00103: Encountered the symbol "" when expecting one of the following: begin case declare exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted delimited-identifier> <a bind variable> << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge <a single-quoted SQL string> pipe The symbol "" was ignored."
    If I edit that trigger in enterprose manager console by pressing space and compile that, it is working fine with out any error. If i run the above statement in sql *plus, It is working fine with out any error.
    Can you please tell me why this is happening if i run it using cfquery tag and also the possible solutions.
    Thanks in advance,
    Vinod

    So it works in Enterprise manager. It works in SQL*Plus. It doesn't work in CFQUERY. Sounds to me like a ColdFusion problem rather than an Oracle problem to be honest. Aren't there any ColdFusion support resources?
    Cheers, APC

  • How can I watch my tv shows when they are in the cloud and I am not near wifi?

    I can't watch my tv shows on my phone when they are in the cloud and I am not near wifi.  How can I get them out of the cloud?

    You have to download them or sync them to your phone ahead of time.

  • I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this?

    I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this? I have found GearGrip's LCD harness so that I can do carry-on onto the plane...  Or maybe use a Pelican Case to do it as a "checked bag"? Or any other suggestions??! Please help!
    Thanks so much!!

    I don't recommend you send the iMac in a checked bag. Might get damaged.
    Check the airlines website for carry on guidelines.
    Or, if you have the original box that the iMac came in, if you have someone who can pick up the iMac for you, send it ahead Fed Ex and insure the package.
    Just make sure the display is covered to protect it. A blanket perhaps.
    Aloha ...

  • When they ask for the gateway address on the Tv what number is that or what number should I be looking for?

    When they ask for the gateway numbers on the TV, what number is that or what should I be looking for? I am trying to connect my wifi network on my Samsung smart TV.

    The "Gateway" address would be the Private (LAN-side) IP address of your Internet router. If you are using an AirPort base station for that router, the default gateway IP address would be: 10.0.1.1

  • IMovie seems to have developed a glitch. When i try to import photos they show in the timeline but not in the movie.

    iMovie seems to have developed a glitch. When i try to import photos they show in the timeline but not in the movie.
    Any ideas?

    You are probably looking in the wrong place - all photos in Photo view and in event too unless you have a corrupted library
    most common cause of your not finding them is bad sort - view menu ==> sort events
    Nest most common cause is a bad data/time on the camera - this can be corrected using a smart album to find the photos from that camera and then using using the adjust time/date command to fix the bad ones
    YOu can alwasy find the event a Photo is in by selecting it and selecting show event
    LN

  • When I FaceTime friends in Tenerife, the video is on for a few seconds then their picture freezes followed by a blank screen with a Poor Connection message. When they Facetime back, the video is perfect. Has anybody any ideas?

    When I FaceTime friends in Tenerife, the video is on for a few seconds then their picture freezes followed by a blank screen with a Poor Connection message. When they Facetime back, the video is perfect. Has anybody any ideas?

    I had this same thing happen to me.  I was using my brand new iphone 5 (texting and listening to music through the speakers) when it flashed the apple logo, stopped my music and brought me to the lock screen. 

  • My iPad screen is not responding, whats the best way to clean it and what could be the problem, its 2 days old

    my iPad screen is not responding, whats the best way to clean it and what could be the problem, its 2 days old

    Braunzoes wrote:
    my iPad screen is not responding, ...
    Try a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    Braunzoes wrote:
    ... whats the best way to clean it ...
    How to Clean Apple Products
    http://support.apple.com/kb/HT3226
    Braunzoes wrote:
    ... its 2 days old
    iPad User Guide iOS 6

  • When they inquery of the code is recorded in table VBEP?

    Good afternoon,
    Could help me?
    When they inquery of the code is recorded in table VBEP?

    Hi Ana Claudia
    Generally the data of Inquiry is stored in VBEP table when  you copy the Inquiry document to Quotation and Quotation document to Sales order and Sales order to Delivery Document to Billing document 
    Inquiry ->Quotation-> Sales order ->Delivery ->Billing
    Regards
    Srinath

  • My facetime doesnt work. If I call somone they see I call but when they accept it doesnt work and when they call me the green camera light turns on but no sound or pop up of the video chat screen appears, please help! Macbook pro user. MacBook Pro, OS X M

    My facetime doesnt work. If I call somone they see I call but when they accept it doesnt work and when they call me the green camera light turns on but no sound or pop up of the video chat screen appears, please help! Macbook pro user.
    MacBook Pro, OS X Mountain Lion

    I just wanted to follow this up by saying that you were entirely correct in your diagnosis of the situation.  My computer did have the faulty part you linked to.  I brought my laptop in and specifically told them to run that test, had it fail and then argued with the person at the genius bar and the manager.  Eventually they offered to have it sent out and have everything replaced for free of charge.  They did so mainly because I had complained about graphical issues almost every other time I had come in with problems and no one ran the test.  They should have caught this problem during my warranty, but they didn't, even though I mentioned the problem.
    Anyhow, after having the part replaced, I haven't had my computer crash a single time since, or had many of the issues mentioned above.  I've never had this experience before.  Even brand new, I got occasional crashes.  Hopefully this new trend continues.
    I do find that web browsing is still incredibly slow.  Web browsers just chug along at a slow pace, even though I have great internet speed.  Maybe I'll try just deleting my web browsers and reinstalling them...
    Anyhow, thank you for your help and knowledge Clinton.

Maybe you are looking for