Skip to main content
Srihari_Ch
Known Participant
February 4, 2009
Question

A minor problem about flash components

  • February 4, 2009
  • 2 replies
  • 423 views
Hi all,
I am using flash CS3 with ActionScript 3.0. Suppose, I created a button component and a Combo-box
component. Hence, SWF file consists of a Button and a Combo-box component.

Now, my requirement is, How to access the instances and properties of these components(Button and Combo-box), so that I can create HTML webpages depending upon the Combo-box selection and the Button click
events occurred on flash components?

Note: Here, we need to pass/send the flash components' instances to HTML. How can we do it?

All I want is to access the flash components in HTML.

Thanx in advance.... Reply me please.... It's very urgent.


Srihari.Ch
This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
February 4, 2009
what exactly do you want to do? have an event in your swf change something in your html page or have html/javascript events in your html change something in your swf?
kglad
Community Expert
Community Expert
February 4, 2009
use javascript in your html file to call functions in your swf using the externalinterface class.
Srihari_Ch
Known Participant
February 4, 2009
Hi kglad,

You said "use javascript in your html file to call functions in your swf using the externalinterface class"
But, how can we do that?
Please, can you send me a sample coderegarding this.
Thanks a lot for your reply.

Please, reply me....

Srihari.Ch