Tuesday, July 31, 2007

Communicate Swf to Swf using Local Connection

here comes the easy way to commnuicate the between swf to swf in the Html
Add following codes in the Frame Action
//code for sender
var sender = new LocalConnection();

Here we sending data action on button named 'sendTextToMovieB_btn' from
the input box value named 'input_text' using local connection 'sender'
//code for receiver
var receiver = new LocalConnection();
receiver.executeOnReceive = function(receiveText){
display_text.text = receiveText;
Using the local connection 'receiver' receives the sender data by
executeOnReceive function and assign the receiveText to the dynamic text
named the instance 'display_text'

Saturday, July 21, 2007

Communicate external source ActiveX from Flash [Security]

By default Flash disables external source ActiveX for security reason, to activate the domain list to allow the flash communicate with external ActiveX in the project.

Sunday, July 15, 2007

To rid the border style of scrollpane in flash

To rid the border style of scrollpane in flash use the script

this.scroll.setStyle("borderStyle", "none");

Adobe News