LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-05-2005, 01:16 PM
Archangel Archangel is offline
Registered User
 
Join Date: Aug 2005
Posts: 5
Rep Power: 0
Archangel is on a distinguished road
Help... loading variables from perl

I have been working with Flash for a short time and I can't make this work...
I have read about loadvars and seen examples (not perl ones)... I tried to make a little flash accessing a little script for testing...

flash part (on layer1: frame 1)
Code:
var xx = new LoadVars(); xx.load("http://bruno.pcsolution.com.br/cgi-bin/qc/oo.pl"); xx.onLoad = ft();
_root.createTextField("txt",1,10,10,300,50); txt.text = xx.opa+" * "+xx.opa2+" : "+xx.toString();
function ft(success) { if (success) { trace("worked"); } else { trace("nope"); } }


perl part (prints on browser &opa=xxx&opa2=abc )
Code:
 #!/usr/bin/perl 
$| = 1;
use CGI qw/:standard :html3/;
use strict;
#print header;
print "Content-type: text/plain\n\n";
print "&opa=xxx&opa2=abc";
die;
print header is on comment, tried using it too, unsuccessfully.
my textfield shows as undefined * undefined : onLoad=undefined
trace shows "nope"

any suggestions? ideas?

thanks in advance
- Bruno
Reply With Quote
 


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

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading Variables Via Mysql > Php > Flash xgermz Flash 8 3 01-14-2007 08:33 AM
loading variables from txt hisp Flash 8 3 01-13-2007 05:09 PM
Loading variables shaggy_LFC Flash MX 6 04-01-2004 04:35 AM
loading variables from external file pht Flash MX ActionScript 3 09-05-2002 10:57 AM
Loading variables into a loaded .swf??? crucial Flash 5 Actionscript 3 03-16-2001 05:12 PM




All times are GMT. The time now is 07:03 PM.