[flexcoders] Re: Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Pablo Apanasionek
Sure!

First of all, I have my JSP based application, which manages all the 
interaction between pages and business objects.

When reaching the frontend subject, we thought of Flex for that job. 
So we began analyzing building some UI components which combine 
business logic in a fancy way. Those components (in SWF format), 
we'd like to use several times across the application, in different 
use cases.

At the bottom line, we end up having (for example) a JSP page with 
2+ embedded SWF/Flex files, that we would like to interact with each 
other. For instance, imagine a "Registration" component working with 
a "Shopping Cart" component as two different SWF files in the same 
JSP, and then reusing the "Registration" one with another SWF file 
in another page.

I might be looking it the wrong way, but it's the approach we were 
looking for. (By the way, I'd be really interesting to find out it 
is wrong.) =)

Thanks in advance

--- In flexcoders@yahoogroups.com, Clint Modien <[EMAIL PROTECTED]> wrote:
>
> Can you tell the list a bit more about your trying to do... it 
sounds like
> your going about this the wrong way?
> 
>  On 11/3/05, Pablo Apanasionek <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > i'm extremely new to Flex and, although I've seen in a few days 
part
> > of the potential it has to give, I still got a lot to learn.
> >
> > Question comes here: I've tested the ability to drag-and-drop 
between
> > two different custom components and it works amazingly well 
without
> > demanding a lot of code. However, I'd like to do this between two
> > different Flex files embedded in a JSP page (to accomplish some 
reuse
> > of the SWF "pages" through the whole JSP application).
> >
> > I've tested a few things and googled about it, without getting 
any
> > conclusion. Is this possible? If so, how?
> >
> > Thanks in advance
> > Pablo Apanasionek
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
>







 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] Re: Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Pablo Apanasionek
Tom,

thanks for your answer.

In a middle step in my way of discover, I tried using a wrapper and 
it worked well, including D&D effects and events.

Thanks for the localConnection tip too!

Pablo Apanasionek


--- In flexcoders@yahoogroups.com, "Tom Versweyveld" <[EMAIL PROTECTED]> 
wrote:
>
> It's not possible to drag an mc from one embedded swf to another, 
not
> visually, at least...
> So the only option imo, is to design your html page in such a way 
that
> the 2 swfs can be loaded into 1 wrapper swf...essentially making 
it 1
> application...
> You can however, let two embedded swfs transfer data to another 
using
> localconnection, but then you loose the visual d&d handling...
> 
> Grtz,
> t
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Pablo Apanasionek
> Sent: donderdag 3 november 2005 15:40
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Newbie Question: Drag-And-Drop between 
two
> Flex-SWF files
> 
> Sure!
> 
> First of all, I have my JSP based application, which manages all 
the 
> interaction between pages and business objects.
> 
> When reaching the frontend subject, we thought of Flex for that 
job. 
> So we began analyzing building some UI components which combine 
> business logic in a fancy way. Those components (in SWF format), 
> we'd like to use several times across the application, in 
different 
> use cases.
> 
> At the bottom line, we end up having (for example) a JSP page with 
> 2+ embedded SWF/Flex files, that we would like to interact with 
each 
> other. For instance, imagine a "Registration" component working 
with 
> a "Shopping Cart" component as two different SWF files in the same 
> JSP, and then reusing the "Registration" one with another SWF file 
> in another page.
> 
> I might be looking it the wrong way, but it's the approach we were 
> looking for. (By the way, I'd be really interesting to find out it 
> is wrong.) =)
> 
> Thanks in advance
> 
> --- In flexcoders@yahoogroups.com, Clint Modien <[EMAIL PROTECTED]> 
wrote:
> >
> > Can you tell the list a bit more about your trying to do... it 
> sounds like
> > your going about this the wrong way?
> > 
> >  On 11/3/05, Pablo Apanasionek <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > i'm extremely new to Flex and, although I've seen in a few 
days 
> part
> > > of the potential it has to give, I still got a lot to learn.
> > >
> > > Question comes here: I've tested the ability to drag-and-drop 
> between
> > > two different custom components and it works amazingly well 
> without
> > > demanding a lot of code. However, I'd like to do this between 
two
> > > different Flex files embedded in a JSP page (to accomplish 
some 
> reuse
> > > of the SWF "pages" through the whole JSP application).
> > >
> > > I've tested a few things and googled about it, without getting 
> any
> > > conclusion. Is this possible? If so, how?
> > >
> > > Thanks in advance
> > > Pablo Apanasionek
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > 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
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> 
> 
> 
> 
> 
> 
> 
> 
> --
> 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
>






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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] Re: Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Pablo Apanasionek
Tom,

it's me again. I've tested it the good and the bad way: Flex and 
localConnection via JS, but using simple operations like sending 
messages to each SWF, etc.

Do you have any examples or link where it shows how to drag and drop 
using localConnection?

Thanks in advance

--- In flexcoders@yahoogroups.com, "Tom Versweyveld" <[EMAIL PROTECTED]> 
wrote:
>
> It's not possible to drag an mc from one embedded swf to another, 
not
> visually, at least...
> So the only option imo, is to design your html page in such a way 
that
> the 2 swfs can be loaded into 1 wrapper swf...essentially making 
it 1
> application...
> You can however, let two embedded swfs transfer data to another 
using
> localconnection, but then you loose the visual d&d handling...
> 
> Grtz,
> t
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Pablo Apanasionek
> Sent: donderdag 3 november 2005 15:40
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Newbie Question: Drag-And-Drop between 
two
> Flex-SWF files
> 
> Sure!
> 
> First of all, I have my JSP based application, which manages all 
the 
> interaction between pages and business objects.
> 
> When reaching the frontend subject, we thought of Flex for that 
job. 
> So we began analyzing building some UI components which combine 
> business logic in a fancy way. Those components (in SWF format), 
> we'd like to use several times across the application, in 
different 
> use cases.
> 
> At the bottom line, we end up having (for example) a JSP page with 
> 2+ embedded SWF/Flex files, that we would like to interact with 
each 
> other. For instance, imagine a "Registration" component working 
with 
> a "Shopping Cart" component as two different SWF files in the same 
> JSP, and then reusing the "Registration" one with another SWF file 
> in another page.
> 
> I might be looking it the wrong way, but it's the approach we were 
> looking for. (By the way, I'd be really interesting to find out it 
> is wrong.) =)
> 
> Thanks in advance
> 
> --- In flexcoders@yahoogroups.com, Clint Modien <[EMAIL PROTECTED]> 
wrote:
> >
> > Can you tell the list a bit more about your trying to do... it 
> sounds like
> > your going about this the wrong way?
> > 
> >  On 11/3/05, Pablo Apanasionek <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > i'm extremely new to Flex and, although I've seen in a few 
days 
> part
> > > of the potential it has to give, I still got a lot to learn.
> > >
> > > Question comes here: I've tested the ability to drag-and-drop 
> between
> > > two different custom components and it works amazingly well 
> without
> > > demanding a lot of code. However, I'd like to do this between 
two
> > > different Flex files embedded in a JSP page (to accomplish 
some 
> reuse
> > > of the SWF "pages" through the whole JSP application).
> > >
> > > I've tested a few things and googled about it, without getting 
> any
> > > conclusion. Is this possible? If so, how?
> > >
> > > Thanks in advance
> > > Pablo Apanasionek
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > 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
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> 
> 
> 
> 
> 
> 
> 
> 
> --
> 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
>






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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/
 





RE: [flexcoders] Re: Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Tom Versweyveld
It's not possible to drag an mc from one embedded swf to another, not
visually, at least...
So the only option imo, is to design your html page in such a way that
the 2 swfs can be loaded into 1 wrapper swf...essentially making it 1
application...
You can however, let two embedded swfs transfer data to another using
localconnection, but then you loose the visual d&d handling...

Grtz,
t

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Pablo Apanasionek
Sent: donderdag 3 november 2005 15:40
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Newbie Question: Drag-And-Drop between two
Flex-SWF files

Sure!

First of all, I have my JSP based application, which manages all the 
interaction between pages and business objects.

When reaching the frontend subject, we thought of Flex for that job. 
So we began analyzing building some UI components which combine 
business logic in a fancy way. Those components (in SWF format), 
we'd like to use several times across the application, in different 
use cases.

At the bottom line, we end up having (for example) a JSP page with 
2+ embedded SWF/Flex files, that we would like to interact with each 
other. For instance, imagine a "Registration" component working with 
a "Shopping Cart" component as two different SWF files in the same 
JSP, and then reusing the "Registration" one with another SWF file 
in another page.

I might be looking it the wrong way, but it's the approach we were 
looking for. (By the way, I'd be really interesting to find out it 
is wrong.) =)

Thanks in advance

--- In flexcoders@yahoogroups.com, Clint Modien <[EMAIL PROTECTED]> wrote:
>
> Can you tell the list a bit more about your trying to do... it 
sounds like
> your going about this the wrong way?
> 
>  On 11/3/05, Pablo Apanasionek <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > i'm extremely new to Flex and, although I've seen in a few days 
part
> > of the potential it has to give, I still got a lot to learn.
> >
> > Question comes here: I've tested the ability to drag-and-drop 
between
> > two different custom components and it works amazingly well 
without
> > demanding a lot of code. However, I'd like to do this between two
> > different Flex files embedded in a JSP page (to accomplish some 
reuse
> > of the SWF "pages" through the whole JSP application).
> >
> > I've tested a few things and googled about it, without getting 
any
> > conclusion. Is this possible? If so, how?
> >
> > Thanks in advance
> > Pablo Apanasionek
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
>








--
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



 




 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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/

<*> 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/
 




Re: [flexcoders] Re: Newbie Question: Drag-And-Drop between two Flex-SWF files

2005-11-03 Thread Clint Modien



Ya I thought so...  technically no it isn't "wrong"  it's just not what flex was meant for.  Instead of writing multiple small flex SWF "pages" you'd write one user interface in flex and use ActionScript to control the interaction on the client.  There are so many advantages of doing it this way over your traditional JSP/HTML application I really wouldn't know where to start.  (client side caching... zero post backs... drag and drop... drawing...  ).  Flex is a beautiful framework to write web apps in and based on what you've said your leveraging very few of what flex has to offer.  I would SERIOUSLY consider re-architecting your application.  The data interaction you've already written can still be used with flex through remote objects and unless you have an incredibly large JSP app I'm willing to bet recoding it in mxml would be very painless.  

On 11/3/05, Pablo Apanasionek <[EMAIL PROTECTED]> wrote:
Sure!First of all, I have my JSP based application, which manages all theinteraction between pages and business objects.
When reaching the frontend subject, we thought of Flex for that job.So we began analyzing building some UI components which combinebusiness logic in a fancy way. Those components (in SWF format),we'd like to use several times across the application, in different
use cases.At the bottom line, we end up having (for example) a JSP page with2+ embedded SWF/Flex files, that we would like to interact with eachother. For instance, imagine a "Registration" component working with
a "Shopping Cart" component as two different SWF files in the sameJSP, and then reusing the "Registration" one with another SWF filein another page.I might be looking it the wrong way, but it's the approach we were
looking for. (By the way, I'd be really interesting to find out itis wrong.) =)Thanks in advance--- In flexcoders@yahoogroups.com, Clint Modien <[EMAIL PROTECTED]
...> wrote:>> Can you tell the list a bit more about your trying to do... itsounds like> your going about this the wrong way?>>  On 11/3/05, Pablo Apanasionek <[EMAIL PROTECTED]> wrote:
> >> > Hi,> >> > i'm extremely new to Flex and, although I've seen in a few dayspart> > of the potential it has to give, I still got a lot to learn.> >> > Question comes here: I've tested the ability to drag-and-drop
between> > two different custom components and it works amazingly wellwithout> > demanding a lot of code. However, I'd like to do this between two> > different Flex files embedded in a JSP page (to accomplish some
reuse> > of the SWF "pages" through the whole JSP application).> >> > I've tested a few things and googled about it, without gettingany> > conclusion. Is this possible? If so, how?
> >> > Thanks in advance> > Pablo Apanasionek> >> >> >> >> >> >> > --> > 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> >> >> >> >> >> >> >
> Yahoo! Groups Sponsor ~-->Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM~->--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
<*> To visit your group on the web, go to:   http://groups.yahoo.com/group/flexcoders/<*> 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 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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.