Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » Flash--DataBase

Flash--DataBase

Reply
  #1 (permalink)  
Old 03-02-09, 04:27 AM
michael_george michael_george is offline
Newbie Coder
 
Join Date: Dec 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Flash--DataBase

hello...

i have a problem in my script
makes the images not appears ... and i want to get these data from
data base as .. images/team.jpg in a variable in my Flash

here is the ended code i stopped throw....
IN FLASH
var theXML:XML = new XML();
theXML.ignoreWhite = true;

theXML.onLoad = function() {
var nodes = this.firstChild.childNodes;

for(i=0;i<nodes.length;i++) {
txData.text+=nodes[i].firstChild.nodeValue
//trace (nodes[0]);
}
trace ("images/" + nodes[0].firstChild.nodeValue);
var m = "images/" + nodes[0].firstChild.nodeValue;
trace (m);
this.loadMovie(m);
//this.loadMovie("images/" + nodes[1].firstChild.nodeValue);
}

theXML.load("http://localhost/flash_database/products.php");


//var m:String = "images/temple.jpg";
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Create a Quiz with Free Quiz Template in Adobe Flash WPeterson Flash & ActionScript 0 10-22-08 10:54 PM
Generating a Flash menu from a MySQL database needforhelp Flash & ActionScript 2 03-13-07 06:22 AM
database in flash plumbjet Flash & ActionScript 1 09-25-06 05:44 AM
Flash Database SkullShady PHP 1 03-25-06 06:54 PM


All times are GMT -5. The time now is 01:20 PM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.