[F8] Help with vote button
Hi, I want to know if it's possible to get the data from this page->http://topwebcomics.com/rankimages/p...x?comicid=8264 and display it inside flash. I've included the .fla file that I'm gonna use(excuse me if you don't like anime heh). Thanks in advance.
Attached Files
FK'n_dog
PHP Code:
lv = new LoadVars ();
lv . load ( "http://topwebcomics.com/rankimages/plaintext.aspx?comicid=8264" );
lv . onLoad = function(){
str = unescape ( this ). split ( "\r\n" ). join ( "" );
arr = str . split ( "=" );
trace ( arr [ 0 ]);
myTxt . text = arr [ 0 ];
};
Ooh, thanks! It's works perfectly!! ^^
Help, the text box keeps displaying onLoad instead of the number
FK'n_dog
Test Movie / List Variables
Search the output for _level0.arr.
you should see -
PHP Code:
Variable _level0 . arr = [ object #3, class 'Array'] [
0 : "273" ,
1 : "&onLoad" ,
2 : "[type Function]"
]
are you getting the same result as me ?
PHP Code:
Variable _level0 . str = "273=&onLoad=[type Function]" Variable _level0 . arr = [ object #3, class 'Array'] [ 0 : "273" , 1 : "&onLoad" , 2 : "[type Function]" ]
In other words yes.
Check my sig to check the site, still onLoad -_-
Last edited by radstylix; 10-11-2008 at 08:51 AM .
FK'n_dog
see your other post for online usage
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width