What is the proper syntax to hide a div on the stage from within two nested symbols?

Hi everyone, I have recently started to use Adobe Edge and had some prior experience with Flash.
I have a button with a click action inside two symbols that should hide a symbol placed on the stage, which in turn its is parent symbol.
I tried using the following code but it didn't work:
sym.$("Step1").hide();
Thank you!
Nuno

I've got a similar issue and I thought I'd piggyback on this thread since I can't get your suggestions to work.
Here's what I've got in my file -
stage / fullRadial symbol / smRadial symbol / gold_btn element
When you click gold_btn I want to hide a different symbol inside of fullRadial call measuringContent. This is the latest code I've tried within the gold_btn element -
On click:
sym.getComposition().getStage().getSymbol("fullRadial").play("Gold Corner");
sym.getComposition().getStage().getSymbol("fullRadial").getSymbol("measuringContent").hide ();
It plays my Gold Corner label just fine, but I've I can't get the hide to work with anything I've tried.
Thanks for any help you can give.

Similar Messages

  • I need to know the proper syntax for my SELECT query, please.

    Hello All,
    Quick one for you:
    Let's say that I have several columns in a table with names such as subject_1, subject_2, subject_3, etc. The table's name is subject_names.
    The number in each of the three column name examples is also a value passed along a query string, the user can select choices, 1, 2 or 3. That query string's variable is $qs.
    So, what I want is a SELECT query that uses the query string value as follows (KEEP IN MIND, I know this is not the proper syntax):
    "SELECT subject_[$qs]
    FROM subject_names";
    I have tried all sorts of cominations of quotes (single and double), dots, brackets, braces and parenthesis. I just want to know how to include such a variable within this code.
    Any and all help is sincerely appreciated!
    Cheers,
    wordman

    Well, I did give you the syntax though.
    $query = 'SELECT ' . $qs . ' FROM tbl_name';
    I put spaces between the periods this time to make it more clear.
    If you put the actual word 'subject' in there and just want your form to name it's options as the numbers available you could do this:
    $query = 'SELECT subject_' . $qs . ' FROM tbl_name';
    In PHP you can use either single or double quotes around your query string, I always just use single quotes. I see a lot of other use double quotes.
    Double quotes would look like:
    $query = "SELECT subject_' . $qs . ' FROM tbl_name";
    Or when using double quotes you can actually just place the variable right in the string without having to concatenate multiple strings like above.
    Since you mentioned that you are good with passing variables I probably don't have to mention that you need to set the value attribute of your option tags (if you are using a select) to the value you want them to pass.
    Ex:
    <select name="choices">
         <option value="1">1</option>
         <option value="2">2</option>
         <option value="3">3</option>
    </select>
    If you have that part all figured out then you can use the syntax above for your query string.
    Good luck.

  • My left shift key on Macbook Pro Retina (15") is behaving like the F11 key (show/hide open windows).  The key behaves the same for the laptop keyboard and for an external Apple keyboard?  This just started in last week after 6 months of use

    My left shift key on Macbook Pro Retina (15") is behaving like the F11 key (show/hide open windows). 
    The left shift key behaves the same on the laptop keyboard and on an external Apple keyboard. 
    This just started in last week after 6 months of use.  The right shift key and other keys on the keyboard all appear to work correctly.
    Suggestions greatly appreciated.

    I have a solution to this issue now after a discussion with Apple Support.  Some where in the last few weeks, there was a change in the key that would do a Show Desktop under the Mission Control settings in the System Preferences.  Even though the key sequence that was shown for the Show Desktop setting did not include the Left SHift key, by changing this first to having no key sequence and applying that and then changing it back to the F11 key, the Left SHift key issue that I was having has cleared up.
    A second issue that was uncovered was that the SSD had some issues (uncovered when I ran Disk Utility using the Repair Disk key).  I had to restart and use the Disk Utility through the Command R sequence to get to the stand alone Disk Utility.  The SSD appears to be running better as a result as well.
    Hope that this is of use to someone else in the future.

  • What is the proper way to add 16GB ram to the existing 8GB in my 27" Retina iMac?

    I've searched the web for the best answer to this question: What's the best way to add 16GB ram to the existing 8GB in my late 2014 Retina iMac (ending up with a total of 24GB ram)?
    I'm seeing conflicting and ultimately confusing advice. Most people are saying to just pop in the new 16GB (2X8GB) into the 2 open slots and you're done. Others are saying no, remove the 2 4GB sticks, replace those now empty slots with the 2 new 8GB sticks, and put the 4GB sticks in the remaining 2 slots, which viewed from the bottom would be 8,4,8,4.
    A third option (to make things even more confusing) seems to be keeping the 2X4GB and 2X8GB sticks together, side by side, so that viewed from the bottom you'll see 8,8,4,4 or 4,4,8,8.
    I have no idea which configuration is best: They all seem to "work" according to those advocating their method. I want to know what Apple recommends, if they indeed have a preferred method.

    Crucial. 16GB 2X8 204P SODIMM PC3-12800 MAC to be specific.
    The OEM RAM is in slots 2 + 4 from the top, at least in mine. BANK 0/DIMM0 and BANK 1/DIMM0.
    A little background: I installed new RAM in the slots last week when my new iMac arrived, in the open slots, 1 + 3 from the top. I then started up for the first time and installed my account from Time Machine. So far, so good. About 2 hours into my first day usage I started getting random crashes. By day 2 I'd had maybe 15 crashes and a dozen kernel panics. I removed the RAM and re-seated it. Same problem. I created a new user account, thinking maybe I had some corrupt data. Ran fine for a couple of hours then BOOM same problem, again. Removed the new RAM and presto, no more crashes, going on 4 days now. I returned the RAM to the vender, requesting a replacement in the hopes that I just had a bad stick (even though I ran TechTool 7 and found no problems... which struck me as weird).
    So now I'm a little bit concerned about using the best, most Apple-approved method for installing the replacement RAM when it arrives. I'm not exactly a newbie. I've read things in the past about it being important to install RAM in a specific order, but it's been a while since I've had a new Mac, and things change. I want to be careful, but it sounds like it doesn't matter a whole lot. My fingers are crossed, not that I'm superstitious.

  • Can't find the proper sdk exe to start and run the SDK along with classes

    Hello:
    I have downloaded the java sdk development, several versions of it. However, I cannot find not one proper exe file that will open the sdk development interfaces. I have searched my computer and it does seem that I have all the files such as bin, ect... , even some sample classes, except for the main sdk exe that will open the java classes. So, I need some help with this issue, which would be greatly appreciated.
    Recency

    The SDK is not one single executable. And to "open java classes" doesn't really mean anything.
    You'll want to start here:
    http://download.oracle.com/javase/tutorial/getStarted/cupojava/index.html
    Perhaps by "executing the JDK", you're talking about an IDE? If so, the NetBeans link on that page is what you're looking for. However, I strongly advise you to avoid IDEs and do things with a simple programmer's editor and command line until you a) have a good grasp of the language basics, and b) are clear on the concepts of language, IDE, JDK, and core API, and what separates one from the others.

  • I need to take elements from within 2 nested for loops and place them in an array at the specific row and column that I need.

    I have tried intializing an array and replacing elements by specifying a particular row, and column, but in the end I get an array with only one element replaced, and I suspect that it is because as the for loops are running through their iterations each time the array is re-initializing. I have a simple vi that I will post below, it is not the exact situation that I have but is a good place for me to get some understanding. I have the row and column indexes being driven by the inner and outer loop iterations, which gives me the pattern I need. I am using the inner iterations as array elements. How do I set this up so that it works and d
    oes keep re-initializing my array.
    Attachments:
    Untitled.vi ‏26 KB

    I have fixed a number of things in your vi.
    You were right in thinking that the array was continuously re-initialized. To avoid this, use a shift register (right-click the loop border), which will pass the updated array into the next iteration.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    your_vi.vi.zip ‏13 KB

  • TS4149 What is the proper command, it is cut off at the end

    Help please, this is driving the office crazy

    Thanks for reply. If you read this article on apple support.
    http://support.apple.com/kb/TS4149?viewlocale=en_US&locale=en_US
    The end of the command to turn ACL on SMB shares is cut off.

  • What is the proper vehicle power adapter to use with the hp 2000-2a28dx notebook?

    I would like to buy a vehicle power adapter for my HP 2000-2A28DX notebook, preferably by part number, voltage, and wattage.

    I found 2
    http://www.shopping.hp.com/en_US/home-office/-/products/Accessories/AC-Adapters/ER691AA?HP-90W-Noteb...
    http://www.shopping.hp.com/en_US/home-office/-/products/Accessories/AC-Adapters/KS474AA?HP-90W-Smart...

  • What are the proper setting for connecting a mic to the line out?

    How should I set this up in my system and garageband preferences?

    http://thehangtime.com/gb/gbfaq2.html#micline

  • How to refer to a Label on the Stage from within a Symbol

    Hi Edgefriends,
    I'm working on a project in Edge Animate, however I have about zero experience with JavaScript and I can't seem to get this working without it so I hope someone can help me to get this done.
    Below you see the code I need help with. It's part of a Symbol situated on the Stage. What I need it to do is to play from a Label ('subFontsTitels') situated on the Stage-level. I've tried a lot of posibilities but with no (satisfying) results. Could you please help me?
    Part of the code:
    Symbol.bindElementAction(compId, symbolName, "${_Button}", "click", function(sym, e) {
    // play the timeline from the given position (ms or label)
    sym.getComposition().getStage().sym.play('subFontsTitels');
    // insert code for mouse click here
    //Edge binding end

    hmmm it doesn't seem to solve the problem yet. I'll paste the full code attached to the symbol, maybe there's a problem with the whole combination of the code:
    Code
    Symbol.bindElementAction(compId, symbolName, "${_Button}", "mouseover", function(sym, e) {
    sym.stop("over");
    //Edge binding end
    Symbol.bindElementAction(compId, symbolName, "${_Button}", "mousedown", function(sym, e) {
    sym.stop("down");
    //Edge binding end
    Symbol.bindElementAction(compId, symbolName, "${_Button}", "mouseup", function(sym, e) {
    sym.stop("up");
    //Edge binding end
    Symbol.bindElementAction(compId, symbolName, "${_Button}", "mouseout", function(sym, e) {
    sym.stop("normal");
    //Edge binding end
    Symbol.bindElementAction(compId, symbolName, "${_Button}", "click", function(sym, e) {
    // play the timeline from the given position (ms or label)
    sym.play("subFontsTitels");
    //Edge binding end
    The symbol's name is SubTekstTitels and it's located directly on the Stage. The label "subFontsTitels" is located on the Stage aswell. I hope this will help getting this done.

  • What is the expression syntax to make the visibility of a column hidden in a Tablix?

    So if my Parameter value is...
    MCCL, MCMA, MCPL, MCPR, MCRE, MCSE, MCSN, MCVA, MCCL, MCEP, MCMA, MCRE out of 43 possible choices, what is the expression syntax to hide my tablix column based on my parameter value?
    =iif(instr(Join(Parameters!ColumnVisibility.Value,","),"MCCL","MCMA","MCPL"...)>0,false,true)
    Just not sure of the syntax...or do I have to qualify each one???
    = IIf(Parameter!PF1.Value = "MCCL" OR Parameter!PF1.Value = "MCMA"..., TRUE, FALSE)

    Hi ITBobbyP,
    Per my understanding that you have create multiple values parameter "ColumnVisibility" based on the fields LineofBusiness and the fields LineofBusiness have the n to 1 relationship with the BusinessUnit like below(Sample Data):
    When you select values from the dropdown list which only include the "FM" or "MC", the column "HCFNumber" will show or it will hide, right?
    If so, If you have two many values in the lineofBusiness mapped of the BusinessUnit, you can create an new cascading parameter "BusinessUnit" based on the BusinessUnit field like below:
    select distinct a.BusinessUnit from (select 'MCCL' lineofBusiness, 'MC' BusinessUnit ,11 HCFANumber
    union
    select 'MCCS' lineofBusiness, 'MC' BusinessUnit ,11 HCFANumber
    union
    select 'COLG' lineofBusiness, 'CO' BusinessUnit ,11 HCFANumber
    union
    select 'COSM' lineofBusiness, 'CO' BusinessUnit ,22 HCFANumber
    union
    select 'FMMS' lineofBusiness, 'FM' BusinessUnit ,33 HCFANumber
    union
    select 'FMCG' lineofBusiness, 'FM' BusinessUnit ,44 HCFANumber)a
    where lineofBusiness in (@LineofBusiness)
    Add another filter in the (@BusinessUnit) and use expression below on the column visibility:
    =IIF(Join(Parameters!BusinessUnit.Value,",")="FM" or Join(Parameters!BusinessUnit.Value,",")="MC" or Join(Parameters!BusinessUnit.Value,",")="FM,MC" , false,true)
    Preview like below:
    If you still have any problem, please try to provide more details information about the expect result you want to get based on the show/hide.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Proper syntax of the file name to attach files in FNDATTCH.fmb

    Can you please tell me the proper syntax of the file name to attach files in FNDATTCH.fmb ?
    i am not able to open attached document if it contains & in the file name..So i wanted to know the rules to give the file name

    This has nothing to do with the TB display.  You should repost in the computer forum

  • What is proper syntax for using PassBack in a Report page select statement

    In my select statement I reference the passBack function using:
    onClick="javascript:passBack()"
    In my Page Header I (Typically) define the passBack function as:
    <script language="JavaScript" type="text/javascript">
    function passBack(passVal1,passVal2) {
    opener.document.getElementById("P2000_CABLE_ID").value = passVal1;
    opener.document.getElementById("P2000_CABLE_LABEL").value = passVal2;
    window.opener.location.reload(true);
    </script>
    But I have never used the passBack function from the Select statement before and cannot happen onto the proper syntax.
    The Page Items I want to pass are:
    1. :P2004_CABLE_ID
    2. :P2004_LABEL
    I want to pass them to:
    1. :P2000_CABLE_ID
    2. :P2000_CABLE_LABEL
    Can someone please help me out... Again?
    Thanks- Gary

    Let's assume column XYZ has both numbers (1), and letters (any alphabet).
    I have a case statement on SQL to turn any value that's not 1 into 0, then I am getting a sum of that column.
    I am also grouping by Row A, B etc to get aggregated sum of column XYZ for those group.
    Now on Crystal Reports function, I need to sum up values under column XYZ for all the groups.
    If I try using sum function like below, I get an error stating:
    "A number field or currency amount field is required here"
    (sum({Command.XYZ}))
    So I thought if I can use a case statement to change the non-numbers to 0 prior to sum that will probably resolve it. But I could not get the below case statement to work either (Error: A string is required). 
    SELECT {Command.XYZ}
       Case 1:
          1 
       Default:
          0;

  • What is the proper way to create a monotone image with real looking contrast?

    Once I apply a color to my previously created black and white image everything looks washed out.
    I have an artwork with 3D representation of the letterforms, casting shadows on the textured surface. Shadows are deep black. I need this artwork to be colored in gold. My client forwarded me the specs for the metallic gold which he got from the PANTONE. They are:Gold (871); Adobe 1998 RGB: 126-113-76
    HSB*: 44 degrees-40%-50%
    What is the proper way of applying those values to the desired image.
    My idea was to make the image black and white and than create a monotone image with the above specs. In this case the image gets washed out as the darkest black in the shadows becomes this Pantone gold. Is there any other way?

    A duotone will work, however you are going to want to work closely with your printer . Most printers will want the second color in CMYK (Possibly C60 M40 Y0 K100 instead of RGB values or specify a Pantone Rich Black (I personally like 6C)but it will cost you more for the wash up of both heads of the printer...
    Go to Image>Mode>Duotone (image must be greyscale first for this to work) then add the desired colors to your ink scales.

  • What is the proper name for Mac OS? OS X? Apple Mac OS X?

    It's a tad bit confusing for me since I am new to Apple.
    What do you call it the true name for it?
    Apple Mac OS?
    OS X?
    If I type in OS X It shows all the versions released form Apple.
    Like in the snap shot below.
    http://i1157.photobucket.com/albums/p600/napninjanx/Snapshots/Untitled_zps2d1aa9 90.png
    When I searched for MAC OS it did not show the versions of released OS X for Apple.
    Like in the snapshow below.
    http://i1157.photobucket.com/albums/p600/napninjanx/Snapshots/2_zpsbae85e49.png
    But when I searched on eBay for Snow Leopard it showed the brand name
    http://i1157.photobucket.com/albums/p600/napninjanx/Snapshots/3_zpsbcb588ac.png
    Then I thought going by brand name and model is the way to know the proper name for it.
    I think the proper name for it is Apple Mac OS X that's how you type it in order to know other realses if I am not mistaken.

    You can call it Mac OS X or OS X and others will know what you mean.
    If you click the apple at the left side of the menu bar, About This Mac, you will see OS X so that is what Apple calls it.

Maybe you are looking for