Tuesday, August 22, 2006

Using dynamic xml loading in flash

Using dynamic xml loading in flash

---General code--

// load xml
images_xml = new XML();
images_xml.ignoreWhite=true;
images_xml.onLoad = parse;
images_xml.load("images.xml");

-------------------

heres the code to pass the file name from html
---------

value="temp.swf?dyn_text=images.xml" />

in AS
images_xml.load(dyn_text);

----------
On Adobe Forum

Using mailto in Flash

You can get the outlook window opened as the visitor clicks on email ID usin mailto:


1.Add or create simple button
2.Add Actionscript
------------------

on (release) {
getURL("mailto:yourid@domain.com");
}


------------------

How to flash communicate with another flash using html and javascript

Flash have not communicate with another flash so far. but we can use some intermediator inbetween the flash using javascript.

we can trigger javascript on button
--------ex-----

myBtn_btn.onRelease = function(){
getURL("javascript:alert('you clicked me')");
};

-------------

from the javascript you control the movie Ref:
On Adobe Ref

Monday, August 21, 2006

Adobe News