|
-
Flash & JavaScript
I'm trying to get flash to toggle a div layers display status.
I have an html version working, but i can't seem to code it properly in AS3
I need to figure out how to issue something like:
<a href="javascript:toggleLayer('componentLevel2');" title="toggle">
toggle
</a>
within this function
function loadBuildingBenefits(event:MouseEvent):void {
// send the methodToExecute method in another movie's
// LocalConnection listening to "lc_example"
outgoing_lc.send("lc_component1", "playBenefitsText");
outgoing_lc.send("lc_example", "playBuildingBenefits");
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|