header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Vipin
Points:0
Posts:0

6/19/2010 8:17:03 AM

Title: call actionscript function inside Html control


How to call ActionScript function from a HTML file loaded inside Adobe AIR?



1
MaxFlash
Points: 600
Posts:0
6/19/2010 1:29:11 PM



use the asfunction identifier in the href to call an actionscript function on html link inside flex or flash application . see this example :


myText.htmlText="<a href='asfunction:clickFunction'>This links calls actionscript</a>";

function clickFunction() {
    trace("Function called from htmltext");
}

I hope its clear :)


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 4+5 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions