[flexcoders] How to create object in parent object.

2006-12-11 Thread odiel
X-IPI Cienfuegos-MailScanner: Found to be clean
X-IPI Cienfuegos-MailScanner-From: [EMAIL PROTECTED]

Hello .

More puzzles problem with dinamyc objects.

I are creating objects like icons on desktop dinamycally, thats work fine.  
I load the desktop swf and load each swf icon and put it on desktop,  so  
when the user make a doubleclick on each icon the inner function must open  
a respetive window, but the windows must be place on the main cointainer  
not in the icon swf file content. Some ideas to implement it?

Best Regards.

-- 
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
MailScanner agradece a IPI Cienfuegos por su apoyo.
Nodo de Comunicaciones del IPI Cienfuegos



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


[flexcoders] problem loading dinamyc SWFs

2006-12-07 Thread odiel
X-IPI Cienfuegos-MailScanner: Found to be clean
X-IPI Cienfuegos-MailScanner-From: [EMAIL PROTECTED]

Hello.

I Have a swf page, that must create the content by loading other swf files
from server. To make that I request to the server the modules by user, and
then create the SWF objects dinamycally to load objetcs. What i make?

The remoteObject return an array with all values I make a cicle to get
each module, and then create a SWF on fly.

first y define the swf on top of all scripts function.

public var swf : SWFLoader;

then...

public function roModulesResultEvent(event:ResultEvent):void
{
var i : Number;

modules = new 
ArrayCollection(ArrayUtil.toArray(event.result));

for each (var item:OsModulesObject in modules)
{
addIcon(item.modulesName, item.modulesIcon);
}
}

and the addIcon function have.



public function addIcon(iconText:String, iconImage:String,
iconAction:String = ''):void
{
var swf:SWFLoader = new SWFLoader();
swf.source = 'commandIcon.swf';
swf.load();

vbxMain.addChild(swf);
}


the SWFs files are loaded and showed fine, but i can't access to
properties of object inside of addIcon function, to redefine the loaded
object and set atributes. When i put the line

Alert.show(swf.bytesLoaded.toString(), '');

inside of function, the print messages is NaN. Some help?? What is wrong??
I want to set the icon and text, to the loade swf object.

Really thanks.




-- 
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
MailScanner agradece a IPI Cienfuegos por su apoyo.
Nodo de Comunicaciones del IPI Cienfuegos



Re: {Disarmed} [flexcoders] Re: KeyboardEvent Question

2006-12-07 Thread odiel
X-IPI Cienfuegos-MailScanner: Found to be clean
X-IPI Cienfuegos-MailScanner-From: [EMAIL PROTECTED]

I don´t understand your explanation.


 When you call the alert remove the event listener. On the close event
 of the alert add it back.


 --
 Este mensaje ha sido analizado por MailScanner
 en busca de virus y otros contenidos peligrosos,
 y se considera que está limpio.
 MailScanner agradece a IPI Cienfuegos por su apoyo.
 Nodo de Comunicaciones del IPI Cienfuegos





-- 
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
MailScanner agradece a IPI Cienfuegos por su apoyo.
Nodo de Comunicaciones del IPI Cienfuegos



[flexcoders] How i can acces to other component of SWF loaded file?

2006-12-06 Thread odiel
X-IPI Cienfuegos-MailScanner: Found to be clean
X-IPI Cienfuegos-MailScanner-From: [EMAIL PROTECTED]

Hello.

I'm a novice in Flex world.

My first application that I working is an intranet. I'm using RemoteObject
tech with php and SabreAMF, it work fine.

My implementation are a first page with login window, then if you can
login, other SWF file are loaded from server and inside of the file others
SWFs, the modules of application load dinamically.

I have some doubts about how load SWFs dinamycally, how (best way) create
SWFLoader and load other modules, and how interact with components inside
of the other SWF file.

Best regards.


-- 
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
MailScanner agradece a IPI Cienfuegos por su apoyo.
Nodo de Comunicaciones del IPI Cienfuegos



[flexcoders] (unknown)

2006-12-06 Thread odiel
X-IPI Cienfuegos-MailScanner: Found to be clean
X-IPI Cienfuegos-MailScanner-From: [EMAIL PROTECTED]
Subject: Re: {Disarmed} RE: [flexcoders] How i can acces to other component

Thanks.

That was very helpfully.


 This won't answer all of your questions, but the doc has an example of
 using the SWFLoader control to load a SWF and then interact with it:

 http://livedocs.macromedia.com/flex/2/docs/0543.html

 SMG

 

 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of [EMAIL PROTECTED]
 Sent: Wednesday, December 06, 2006 8:14 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] How i can acces to other component of SWF loaded
 file?



 X-IPI Cienfuegos-MailScanner: Found to be clean
 X-IPI Cienfuegos-MailScanner-From: [EMAIL PROTECTED]
 mailto:odiel%40ipicfg.rimed.cu

 Hello.

 I'm a novice in Flex world.

 My first application that I working is an intranet. I'm using RemoteObject
 tech with php and SabreAMF, it work fine.

 My implementation are a first page with login window, then if you can
 login, other SWF file are loaded from server and inside of the file others
 SWFs, the modules of application load dinamically.

 I have some doubts about how load SWFs dinamycally, how (best way) create
 SWFLoader and load other modules, and how interact with components inside
 of the other SWF file.

 Best regards.

 --
 Este mensaje ha sido analizado por MailScanner
 en busca de virus y otros contenidos peligrosos,
 y se considera que está limpio.
 MailScanner agradece a IPI Cienfuegos por su apoyo.
 Nodo de Comunicaciones del IPI Cienfuegos





 --
 Este mensaje ha sido analizado por MailScanner
 en busca de virus y otros contenidos peligrosos,
 y se considera que está limpio.
 MailScanner agradece a IPI Cienfuegos por su apoyo.
 Nodo de Comunicaciones del IPI Cienfuegos





-- 
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
MailScanner agradece a IPI Cienfuegos por su apoyo.
Nodo de Comunicaciones del IPI Cienfuegos