Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
vorpal #1
impossible to use Set in a onLoad function with flash 8
One could explain why this script works well with flash MX but not with Flash 8?
Thre trace command give me "bague" as expected with flash MX but "undefined"
with Flash 8 !!?
=====================================
tout= new LoadVars();
tout.onLoad = function () {
for (i in tout){ set(i,tout); }
trace (produit);
}
tout.load("vars.txt");
=====================================
vars.txt contains : produit="bague"&produit2="bracelet"
:confused;
vorpal Guest
-
installation de MAcromedia Flash impossible
Bonjour, je n'arrive pas ? installer correctement Macromedia Flash Player... Je suis toutes les indications et... rien!! Y a-t-il quelqu'un pour... -
Frameset Preview in Browsers Impossible, floating menus,search function
Hi All, I posted a query over the weekend that Murray was good enough to reply to, but I haven't been able to make replies for some reason. ... -
Accessing Variables from within a onLoad Function
Hello, I cant seem to access parent variables from within a onLoad function for example. this.s_method = "test val 1" this.a_array = "test... -
When using LoadVars in a class the scope changes in onLoad function
Hi, I have created a class for a component I created using Flash 2004 MX Pro 7.0.1. Within this I set an onload function for LoadVars and perform a... -
is it impossible to insert flash animation into oe
Hi I want to email an animated invitation using outlook express. However it seems to me that this is impossible. The people i will be sending to... -
Motion Maker #2
Re: impossible to use Set in a onLoad function with flash 8
Running your script I get using Flash 8 publishing to Flash 8 format with AS
2.0
produit2=%22bracelet%22&produit=%22bague%22&onLoad =%5Btype%20Function%5D
with your script but not undefined unless I place the trace before the loop.
However why not just use the variables without the loop as follows:
trace(tout.produit);
trace(tout.produit2);
--
Lon Hosford
[url]www.lonhosford.com[/url]
May many happy bits flow your way!
"vorpal" <ademus@free.fr> wrote in message
news:duhqv2$i0g$1@forums.macromedia.com...
One could explain why this script works well with flash MX but not with
Flash 8?
Thre trace command give me "bague" as expected with flash MX but
"undefined"
with Flash 8 !!?
=====================================
tout= new LoadVars();
tout.onLoad = function () {
for (i in tout){ set(i,tout); }
trace (produit);
}
tout.load("vars.txt");
=====================================
vars.txt contains : produit="bague"&produit2="bracelet"
:confused;
Motion Maker Guest
-
vorpal #3
Re: impossible to use Set in a onLoad function withflash 8
However why not just use the variables without the loop as follows:
trace(tout.produit);
trace(tout.produit2);
cause this script was only a limited example of what I intend to do (wich
should be more complex).
vorpal Guest



Reply With Quote

