Hi, i'm new here. Not totally new in flash (though i still work on flash 8 actionscript 2.0, i still can't get ac 3.0).
Anyways, i am struggling on a script, hope someone could help me out.
i wanna do a flash that reads an xml, in which the xml tells my flash to show or hide movie clips (they have instance names). I've been researching top to bottom for solutions, but can't find the solution. So i did a hard coded version.
//added in the frame
var elights = _root.mc_elights ; var logo = _root.mc_logo ; var croom = _root.mc_croom ;
if (elights._visible = true) { elights._visible = true; } if (logo._visible = true) { logo._visible = false; } if (croom._visible = true) { croom._visible = true; }
i however, want to do this via xml, so that i could have my programmer colleague create a php to call for this database.
thanks so much, hope i could find the solution asap.
PS. sorry if this thread isnt at the correct place, i just dunno where to write this thread.
-- "If you can laugh at yourself, loud and hard, everytime you fall........ people will think you're drunk" - Conan O'Brien, host of The Tonight Show with Conan O'Brien
Hi, i'm new here. Not totally new in flash (though i still work on flash 8 actionscript 2.0, i still can't get ac 3.0).
Anyways, i am struggling on a script, hope someone could help me out.
i wanna do a flash that reads an xml, in which the xml tells my flash to show or hide movie clips (they have instance names). I've been researching top to bottom for solutions, but can't find the solution. So i did a hard coded version.
//added in the frame
var elights = _root.mc_elights ; var logo = _root.mc_logo ; var croom = _root.mc_croom ;
if (elights._visible = true) { elights._visible = true; } if (logo._visible = true) { logo._visible = false; } if (croom._visible = true) { croom._visible = true; }
i however, want to do this via xml, so that i could have my programmer colleague create a php to call for this database.
thanks so much, hope i could find the solution asap.
PS. sorry if this thread isnt at the correct place, i just dunno where to write this thread.
-- "If you can laugh at yourself, loud and hard, everytime you fall........ people will think you're drunk" - Conan O'Brien, host of The Tonight Show with Conan O'Brien
New deals posted everyday, starting Black Friday and running through the holiday season! No hassles, no lines - just awesome savings on art, deviantWEAR, Premium Memberships and more!
Daily Literature Deviations is a group that is dedicated to bringing literature to the forefront of the deviantArt community. We attempt to accomplish this by daily featuring Literature artists from around the community that deserve the recognition, but are not getting it.
Each day we will feature 5 deviations from the Literature categories in a News Article. In order to support the artists that we feature, we ask that you the news article as well as check out the individual pieces. We understand that each day you may not be able to check out each and every one of the pieces, everyone has their own things going on. We just ask that you make an attempt to help support the growing Literature community.
^Ikue has been a devious member of our community for almost 7 years and in this time he has proven to be nothing short of dedicated and devoted. Whilst volunteering his time over the last 22 months as a Gallery Moderator within the Community Relations Team, Chris has brought the Vector gallery and many vector artists directly into the spotlight. ^Ikue's commitment to the community is evident in everything he touches and you can always find him reaching out to others with an encouraging word. Chris is a natural leader with a vibrant and empathic personality, and is a role model for deviants everywhere. It's ev... Read More
Anyways, i am struggling on a script, hope someone could help me out.
i wanna do a flash that reads an xml, in which the xml tells my flash to show or hide movie clips (they have instance names). I've been researching top to bottom for solutions, but can't find the solution. So i did a hard coded version.
//added in the frame
var elights = _root.mc_elights ;
var logo = _root.mc_logo ;
var croom = _root.mc_croom ;
if (elights._visible = true) {
elights._visible = true;
}
if (logo._visible = true) {
logo._visible = false;
}
if (croom._visible = true) {
croom._visible = true;
}
i however, want to do this via xml, so that i could have my programmer colleague create a php to call for this database.
thanks so much, hope i could find the solution asap.
PS. sorry if this thread isnt at the correct place, i just dunno where to write this thread.
--
"If you can laugh at yourself, loud and hard, everytime you fall........ people will think you're drunk" - Conan O'Brien, host of The Tonight Show with Conan O'Brien
my gallery [link]