Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

z-index (or bring back flash, all is forgiven)

$
0
0

Dear god how do I get something to the top of the z-index so that I can create a simple hypertext link?

 

This is what I am trying to achieve:

A series of buttons - call them A,B,C

When a button is clicked an info box appears

The info boxes for A,B,C appear in the same place in the scene

i want links within the scenes to work

 

http://www.lizchandler.co/oxleas/Oxleas_v5.html

 

This is what I did:

The buttons are on one layer

The info boxes are symbols embedded in a container symbol

The container is called "states", the symbols are called "scenex"

Each scene has a timeline that starts with a display OFF, and a lable "in"

To show the scene I do:

sym.getSymbol("states").getSymbol("scenex").play("in");

 

Lovely

 

But ..

 

If I want a hyperlink to work within a scene it needs to be at the top of the z-index

 

sym.getSymbol("states").getSymbol("scenex").getSymbolElement().css("z- index",9999999);

Fail

 

Maybe hide and show?

sym.$(sym.getSymbol("states").getSymbol(("oldScenex")).hide();

sym.$(sym.getSymbol("states").getSymbol(("newScenex")).show();

Fail

 

 

I think I am missing some fundamentals here, this is my first edge project

 

Any ideas how to structure this most appreciated

 

thank you


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>