Welcome, Guest. Please login or register.
Did you miss your activation email?
02/08/12, 08:58
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  Flash and AS 3 (Moderators: papachan, kofi addaquay)
| | |-+  Error #2044 (ioError) and Error #2032 (Stream Error) While loading URL
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Print
Author Topic: Error #2044 (ioError) and Error #2032 (Stream Error) While loading URL  (Read 3516 times)
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6162


View Profile WWW Email
« Reply #15 on: 12/29/09, 12:19 »

sorry, but there is some misunderstanding.
Your stuff is not hosted, it lies in an archive file at a server - the cannot work, and this way I cannot see anything.
If you upload it to a webserver in the same way you are using it at your localhost, I can check, what you are talking about.
I'm pretty sure it has nothing to do with the source code.
Logged

happy flashing
Cool
Ronald
OsmarFraga
Server what's that
*
Posts: 10


View Profile Email
« Reply #16 on: 12/29/09, 16:23 »

Ronald...
I've changed my AS a lot...

Now I got this one:

In my flash file (timeline):

Code:
include 'ActionScriptUserManipulationFile/ActionScriptUserManipulationFile.as'
include 'http://localhost:8500/PhotoUP/dynamic/TempFilesUserIDs/'+newURLParameter+'.as'

loader.addEventListener(Event.COMPLETE,ShowData);
function ShowData(e:Event):void {

function ShowData(event:Event):void {

var Delete:URLRequest = new URLRequest(newPage+'&Action=delete');
var _Delete:URLLoader = new URLLoader();
var __Delete = loader.load(Delete);

}

}

this.addEventListener(Event.ENTER_FRAME,InitPreloader);

function InitPreloader(event:Event):void {
total = int(loaderInfo.bytesTotal / 1024);
carregado = int(loaderInfo.bytesLoaded / 1024);
percent = int(Math.floor(carregado / total * 100));
PercentProgressLoader.text = percent+'%';
LoaderBarra.scaleX = percent / 100;

if(percent==100) {
this.removeEventListener(Event.ENTER_FRAME, InitPreloader);
gotoAndStop(2);
}

}

In my external file (ActionScriptUserManipulationFile.as):

Code:
var TempUserID:Number = Math.round(Math.random()*999999999999)
var _TempUserID:Number = Math.round(Math.random()*99999999999);

var newURLParameter = TempUserID+'1'+_TempUserID;
var thisPage = 'http://localhost:8500/PhotoUP/dynamic/InternalProcess.cfm?RequestCod=FlashApplication';
var newPage = thisPage+'&TempUserID='+newURLParameter;

var comprimento:Number = 0;
var carregado:Number;
var total:Number;
var percent:Number = 0;
var tempFile = '';
var page = 'http://localhost:8500/PhotoUP/dynamic/TempFilesUserIDs/'+newURLParameter+'.as';

PercentProgressLoader.text = percent+'%';
LoaderBarra.scaleX = 0;

var requisicao:URLRequest = new URLRequest(newPage+'&Action=create');
var loader:URLLoader = new URLLoader();
var loading = loader.load(requisicao);
trace(newPage);

Temporary external actionscript file:
Code:
var nome:String = 'name'; var snome:String = 'last name'; var email:String = 'email'; var userID:Number = 'User ID';

The error occurs in the "include"s: "1068: Unable to open included file: C:\ColdFusion8\wwwroot\PhotoUP\http:\localhost:8500\PhotoUP\dynamic\TempFilesUserIDs." and "1086: Syntax error: expecting semicolon before plus."

I'm think i'll give up... lol
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6162


View Profile WWW Email
« Reply #17 on: 12/29/09, 16:54 »

as Nothinggrinder said, you have to include at compiletime.
Includeing at runtime does not work.
If you want to include something at runtime, you have to use loadMovie().

I think, you confused yourself and ran into a dead end.

Make it simple first - then enhance step by step.
Logged

happy flashing
Cool
Ronald
OsmarFraga
Server what's that
*
Posts: 10


View Profile Email
« Reply #18 on: 12/29/09, 17:25 »

Hum...

Look, loadMovie() is no longer supported in AS3...
Could you post a example?
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6162


View Profile WWW Email
« Reply #19 on: 12/30/09, 01:02 »

the difference is, you use a loader component and use the load methode.
Logged

happy flashing
Cool
Ronald
Pages: 1 [2] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!