
Welcome Guest
|
#1
|
|||
|
|||
|
AS3 Variables
how do I access a variable that was created in a function? For example
Actionscript:
function create()
{
var myvariable:string='hello world';
}
trace myvariabledoes anyone have a solution for this? |
|
#2
|
||||
|
||||
|
That variable is local to the function. You cannot access it outside of the function.
__________________
Our greatest glory is not in never falling but in rising everytime we fall. - Confucius Blog | Shared Items |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Passing Variables from AS3 to XML | JamieUK | ActionScript 3.0 |
1 | 12-18-2009 06:56 AM |
| AS3 MySQL Gallery | vennasa | ActionScript 3.0 |
0 | 05-04-2009 04:34 AM |
| AS3 debug list variables not showing | FlashMove | Flash Wishlist and Bugs |
2 | 10-10-2007 03:33 PM |
| problems with .load using variables | longanimous | Newbies |
2 | 04-27-2004 05:39 PM |
| Sending Variables between html pages | ifonly | Flash MX ActionScript |
1 | 07-25-2003 04:31 AM |

Programming Languages



