Old 08-04-2004   #1 (permalink)
ahmedtheking
Guest
 
Posts: n/a

flash and mysql

can we root flash so that it works like a php web page and prints data from a mysql database??
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-04-2004   #2 (permalink)
Red Dawn
 
BlodoPKNZ's Avatar
 
Join Date: May 2004
Location: Eastern Europe
Posts: 302

Yes we can if you make a php script which reads from the database itself, then posts the variables directly to the swf.
__________________
BlodoPKNZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-05-2004   #3 (permalink)
ahmedtheking
Guest
 
Posts: n/a

but what do i write in flash that posts it to the flash movie/site/script thing! its confusing!!

where in php/html you would assign varibles like $yea, how can you do that in flash??
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-05-2004   #4 (permalink)
Registered User
 
Join Date: Nov 2003
Location: My vanjeta
Posts: 1,228

Send a message via MSN to Milkdrop
im pretty usre goolge would find you a decent article about this. I really dont have a clue about flash. I think its ****.
__________________
R.I.P Milkdrop, married to biorust but shortly got banned after sexual discussions, 21/8/04

I hate you all so lick my knads!
Milkdrop is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-05-2004   #5 (permalink)
ahmedtheking
Guest
 
Posts: n/a

im just starting to use it, Macromedia flash is ****, theres better ones on the market like swish (thats wot i use) but ive tried searching google and it just ranges in different things and they dont work!!
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-05-2004   #6 (permalink)
Registered User
 
Join Date: Nov 2003
Location: My vanjeta
Posts: 1,228

Send a message via MSN to Milkdrop
yeah swish is amazing little app.
__________________
R.I.P Milkdrop, married to biorust but shortly got banned after sexual discussions, 21/8/04

I hate you all so lick my knads!
Milkdrop is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-06-2004   #7 (permalink)
ahmedtheking
Guest
 
Posts: n/a

its very good isnt it? they say that it can be used with mysql and php but i still havent found that gold tut!!
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-08-2004   #8 (permalink)
Red Dawn
 
BlodoPKNZ's Avatar
 
Join Date: May 2004
Location: Eastern Europe
Posts: 302

Dont know about swish, i use Macromedia Flash MX and think its a great app. Easy with intuitive interface etc. If swish supports the use of actionscript, you could just use loadvars to get all the variables from a php file, like this:
Code:
myvars = new loadVars();
myvars.load("somefile.php");
__________________
BlodoPKNZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-09-2004   #9 (permalink)
ahmedtheking
Guest
 
Posts: n/a

yea ive worked out how to link the mysql connection into it (by the use of macromedia flash mx) but the prob i have is getting it to write the variables!

how is that done?

do i assign a variable to each text/image or whatever in the actionscript??
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-09-2004   #10 (permalink)
Red Dawn
 
BlodoPKNZ's Avatar
 
Join Date: May 2004
Location: Eastern Europe
Posts: 302

Image in actionscript? lol

And arent the variables assigned automatically? I mean the loadvars command will obviously load variables not the entire file, so if you have a variable $foo in the php code, and load it you dont need to process it, you can use it straight away. I think so at least.
__________________
BlodoPKNZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-11-2004   #11 (permalink)
ahmedtheking
Guest
 
Posts: n/a

no no, as in, with a php file, when you want to load a variable or show it (print, echo...) you print or echo it yea, how can that be done in flash? thro text boxs?
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-11-2004   #12 (permalink)
Red Dawn
 
BlodoPKNZ's Avatar
 
Join Date: May 2004
Location: Eastern Europe
Posts: 302

Isnt it obvious? You just make a dynamic text box, give it a varname then use actionscript to "hardcode" them.
__________________
BlodoPKNZ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-11-2004   #13 (permalink)
ahmedtheking
Guest
 
Posts: n/a

oh... ok i get it...
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

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


All times are GMT +1. The time now is 01:22 AM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2007 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT