Re: Pixlib Digest, Vol 33, Issue 1

View: New views
3 Messages — Rating Filter:   Alert me  






Parent Message unknown Re: Pixlib Digest, Vol 33, Issue 1

by Max Erixon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Jag är på semester och är tillbaka den 4/8. Vid brådskande ärenden går det bra att nå mig på 0733 440334.


_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org

Parent Message unknown Re: Pixlib Digest, Vol 33, Issue 1

by Russ Milburn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

the best way to do this is to have a view class for each one of your
swfs

have a common model that the views listen to and once your content
loads broadcast and event saying that the content has been updated



On 22 Jul 2008, at 08:00, pixlib-request@... wrote:

> Send Pixlib mailing list submissions to
> pixlib@...
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://osflash.org/mailman/listinfo/pixlib_osflash.org
> or, via email, send a message with subject or body 'help' to
> pixlib-request@...
>
> You can reach the person managing the list at
> pixlib-owner@...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pixlib digest..."
>
>
> Today's Topics:
>
> 1. Communication between swf (bali sunshine)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 22 Jul 2008 09:00:22 +0200
> From: "bali sunshine" <bali33@...>
> Subject: [Pixlib] Communication between swf
> To: Pixlib@...
> Message-ID:
> <6e73284d0807220000u5ae121bg52a580fbb6e505e3@...
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi List,
>
> It's more a question about OOP thant pixlib question, but I use
> pixlib and
> the MVC FC pattern to build my applications, so I thinks it's a
> question I
> can post here.
> I've a main application based on MVC FC pattern. This application
> always
> load two other swf based or not in the MVC FC pattern too. In order to
> shared information these 3 swf files can access singleton where I
> put some
> datas. It's a way to allow the 2 others swf files loaded to initialize
> themself with the current context of the application. Indeed, when
> theses
> swf files was loaded I don't know the best way to create a
> communication
> between them and the main application. Via the main class of each
> one ? via
> the models of each one ? how ?
> Actualy, I've the same probleme when I want the two others files
> load other
> swf files.
>
> I want :
>
> - A, B, C and D share some data for initialize with the current
> context,
> mostly assets paths and textfield configuration.
> - communication between A and B
> - communication between A and C
> - communication between C and D
> - (maybe) communication between A and D
>
> When I say communication I mean bilateral communication.
>
> What's the best way ? Use a list of events write in a common package
> file
> and allows the swf files to broadcast and listen theses events ?
>
> Thanks for your help
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://osflash.org/pipermail/pixlib_osflash.org/attachments/20080722/4df59795/attachment.html
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: swf_connec copie.jpg
> Type: image/jpeg
> Size: 24645 bytes
> Desc: not available
> Url : http://osflash.org/pipermail/pixlib_osflash.org/attachments/20080722/4df59795/attachment.jpg
>
> ------------------------------
>
> _______________________________________________
> Pixlib mailing list
> Pixlib@...
> http://osflash.org/mailman/listinfo/pixlib_osflash.org
>
>
> End of Pixlib Digest, Vol 33, Issue 1
> *************************************
>
Russ Milburn
FLASH DEVELOPER

020 8871 2656
www.steellondon.com



www.steellondon.co.uk
Latest News:
STEEL wins revolution award for Tacheback
STEEL bids to ‘Free the Mac Monkey’ with Creative Review & Design Week
STEEL designs new customer website for AOL Broadband

2007 Finalist
Retail Category
2007 Finalist
Retail Category
2007 Shortlisted
Travel Category
2008 Winner
Not for profit category
IMAA
NMA
Campaign Digital
Yahoo! Find of the Year

The Information in this electronic mail is privileged and confidential, intended
only for use of the individual or entity named. If you are not the intended recipient,
any dissemination, copying or use of the information is strictly prohibited. If you
received this transmission in error please delete it from your system immediately
and notify STEEL by emailing enquiries@... or phone 020 8871 2656.
Steel Limited - Registered Office: 523 Old York Road, London SW18 1TG
Number: 3437098 in England and Wales
STEEL is a member of the Direct Marketing Association.


_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org

Re: Pixlib Digest, Vol 33, Issue 1

by bali sunshine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Russ,

If I understand your post, you recommand to add a view ( extending MovieClipHelper ?) in each swf in order to create a way to communicate with the model of the main application, added them listening this model ?

If I use my schema, B, C, D do have a view listening A model ?

Is not more logic that the models communicate and dispatch event to the views ?
Application B, C and D, when they are loaded, create a way ( I don't know how) to communicate with the A model, get all information needed for the first initialization and dispatch theses informations to the views. later in the application ,if needed, models can communicate in order to update informations.

I really want to know and understand the best way to resolve this problem. I want to be able to add and remove application, allow theses to communicate with the others, or at least with the main application. All of that properly :-)

Thanks for your help.

2008/7/22 Russ Milburn <russ.milburn@...>:
the best way to do this is to have a view class for each one of your
swfs

have a common model that the views listen to and once your content
loads broadcast and event saying that the content has been updated



On 22 Jul 2008, at 08:00, pixlib-request@... wrote:

> Send Pixlib mailing list submissions to
> pixlib@...
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://osflash.org/mailman/listinfo/pixlib_osflash.org
> or, via email, send a message with subject or body 'help' to
> pixlib-request@...
>
> You can reach the person managing the list at
> pixlib-owner@...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pixlib digest..."
>
>
> Today's Topics:
>
> 1. Communication between swf (bali sunshine)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 22 Jul 2008 09:00:22 +0200
> From: "bali sunshine" <bali33@...>
> Subject: [Pixlib] Communication between swf
> To: Pixlib@...
> Message-ID:
> %3C6e73284d0807220000u5ae121bg52a580fbb6e505e3@...
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi List,
>
> It's more a question about OOP thant pixlib question, but I use
> pixlib and
> the MVC FC pattern to build my applications, so I thinks it's a
> question I
> can post here.
> I've a main application based on MVC FC pattern. This application
> always
> load two other swf based or not in the MVC FC pattern too. In order to
> shared information these 3 swf files can access singleton where I
> put some
> datas. It's a way to allow the 2 others swf files loaded to initialize
> themself with the current context of the application. Indeed, when
> theses
> swf files was loaded I don't know the best way to create a
> communication
> between them and the main application. Via the main class of each
> one ? via
> the models of each one ? how ?
> Actualy, I've the same probleme when I want the two others files
> load other
> swf files.
>
> I want :
>
> - A, B, C and D share some data for initialize with the current
> context,
> mostly assets paths and textfield configuration.
> - communication between A and B
> - communication between A and C
> - communication between C and D
> - (maybe) communication between A and D
>
> When I say communication I mean bilateral communication.
>
> What's the best way ? Use a list of events write in a common package
> file
> and allows the swf files to broadcast and listen theses events ?
>
> Thanks for your help
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://osflash.org/pipermail/pixlib_osflash.org/attachments/20080722/4df59795/attachment.html
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: swf_connec copie.jpg
> Type: image/jpeg
> Size: 24645 bytes
> Desc: not available
> Url : http://osflash.org/pipermail/pixlib_osflash.org/attachments/20080722/4df59795/attachment.jpg
>
> ------------------------------
>
> _______________________________________________
> Pixlib mailing list
> Pixlib@...
> http://osflash.org/mailman/listinfo/pixlib_osflash.org
>
>
> End of Pixlib Digest, Vol 33, Issue 1
> *************************************
>
Russ Milburn
FLASH DEVELOPER

020 8871 2656
www.steellondon.com



www.steellondon.co.uk





Latest News:
STEEL wins revolution award for Tacheback
STEEL bids to 'Free the Mac Monkey' with Creative Review & Design Week
STEEL designs new customer website for AOL Broadband

2007 Finalist
Retail Category
2007 Finalist
Retail Category
2007 Shortlisted
Travel Category
2008 Winner
Not for profit category
IMAA
NMA
Campaign Digital
Yahoo! Find of the Year

The Information in this electronic mail is privileged and confidential, intended
only for use of the individual or entity named. If you are not the intended recipient,
any dissemination, copying or use of the information is strictly prohibited. If you
received this transmission in error please delete it from your system immediately
and notify STEEL by emailing enquiries@... or phone 020 8871 2656.
Steel Limited - Registered Office: 523 Old York Road, London SW18 1TG
Number: 3437098 in England and Wales
STEEL is a member of the Direct Marketing Association.

_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org




_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org