|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Loadvars getting vars from a php file
i have this simple php file set up
<?php $name1 = "Hello"; $name2 = "World"; echo $name1 . $name2; ?> i want to load them up in flash the action script in flash var myLoadVars:LoadVars = new LoadVars(); myLoadVars.onLoad = function(success:Boolean) { if(success) { trace(myLoadVars.name1); trace(myLoadVars.name2); }else{ //throw error } } myLoadVars.load("http://localhost/dataDriven/loadvars.php"); however i get this when i test the movie iin flash undefined undefined can anyone point out my mistake thks |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Flash Development > Loadvars getting vars from a php file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|