Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

JAIMESKT

[Resolvido] AS3 Erro:

Recommended Posts

o código está certo ja funcionava anteriormente.. ai tava usando no CS5 apareceu um monte de erros.

 

codigo.

 


var dadosRequest:URLRequest = new URLRequest ()
var dadosLoader:URLLoader = new URLLoader ()
var dadosXML:XML 
var tamanho:uint

dadosLoader.addEventListener(Event.COMPLETE, carregou)

function carregou (e:Event) {
	dadosXML = new XML (	dadosLoader.data )
	tamanho = dadosXML.*.length()
	//
	for (var i:uint = 0; i < tamanho; i++) {
		var copia:Box = new Box ()
		var fotoRequest:URLRequest = new URLRequest ()
		var fotoLoader:Loader = new Loader ()
		//var sombra:DropShadowFilter = 
							//new DropShadowFilter  (10, 45, 0)
		//
		fotoRequest.url = dadosXML.*[ i ].@foto
		fotoLoader.load(fotoRequest)
		this.addChild( copia ) 
		//
		with (copia) {
			addChild(fotoLoader)
			x = 25 + (width * i)	
//			texto_txt.text = dadosXML.*[ i ].@ano
//			texto_txt.backgroundColor = 0x666666
			//filters = [sombra]
		}// with
	}// for
}// function


dadosRequest.url = "matrix.xml"
dadosLoader.load( dadosRequest )

output

 

16 AVMINF: MTHD global$init ()
16 AVMINF: MTHD Object$cinit ()
16 AVMINF: MTHD Class$cinit ()
16 AVMINF: MTHD Function$/emptyCtor () @ 0x3904DEC0
16 AVMINF: MTHD Function$cinit ()
16 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
17 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
17 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
17 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
17 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
17 AVMINF: MTHD Object$/_dontEnumPrototype () @ 0x3904DBCB
17 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
17 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
17 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
17 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
17 AVMINF: MTHD Function$/emptyCtor () @ 0x3904DEC0
17 AVMINF: MTHD MethodClosure$cinit ()
17 AVMINF: MTHD Namespace$cinit ()
17 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
17 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
17 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
17 AVMINF: MTHD Object$/_dontEnumPrototype () @ 0x3904DBCB
17 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
17 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
17 AVMINF: MTHD Boolean$cinit ()
17 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
17 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
17 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
17 AVMINF: MTHD Object$/_dontEnumPrototype () @ 0x3904DBCB
17 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
17 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
18 AVMINF: MTHD Number$cinit ()
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Object$/_dontEnumPrototype () @ 0x3904DBCB
18 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
18 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
18 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
18 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
18 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
18 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
18 AVMINF: MTHD int$cinit ()
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
18 AVMINF: MTHD Object$/_dontEnumPrototype () @ 0x3904DBCB
18 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
18 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
18 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
18 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
18 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
18 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
19 AVMINF: MTHD uint$cinit ()
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Object$/_dontEnumPrototype () @ 0x3904DBCB
19 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
19 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
19 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
19 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
19 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
19 AVMINF: MTHD Object$/_setPropertyIsEnumerable () @ 0x62DE5650
19 AVMINF: MTHD String$cinit ()
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
19 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
20 AVMINF: MTHD Class/get prototype () @ 0x62DE5650
20 AVMINF: MTHD Class/get prototype () @ 0x62DE5650

até 3000mil e pouco..vou continuar pesquisando aqui..

oque pode ser?

abraços !

Compartilhar este post


Link para o post
Compartilhar em outros sites

importei todo tipo de evento.. usando as pastas e .*

 

mais nada funciono e continua os erro..

Compartilhar este post


Link para o post
Compartilhar em outros sites

então o código tá bala !

 

o problema é no flash li umas coisas a respeito de um arquivo mm.cfg, mais o meu ta correto...

 

vo continuar a procurar enquanto isso faço no cs3 pra quebra galho.. o ruim e so a interface que vo ter que desenhar denovo. pq nao copia.. :/

assim que eu resolver ja posto qui porque acho que é um erro do proprio cs5..

porem deixo em aberto aqui os erros pode ser que alguem venha se deparar com isso !

 

 

 

Abraços ! valeu !!

 

i é o CS5 do meu pc ainda ! no da menina aqui do lado funfo ¬¬.. tomei conta do pc dela...

 

mas vo continuar pesquisando porem acho que terei que formatar..

 

Abraços !

Compartilhar este post


Link para o post
Compartilhar em outros sites

é acho que o jeito e formata meu pc mesmo, pq ja reinstalei varias vezes e nada

Compartilhar este post


Link para o post
Compartilhar em outros sites

Unica forma que consegui resolver o problema foi formatando o computador mesmo ! Obrigado..

 

 

Abraços,

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.