RE: [flexcoders] Re: Can Flex directly replace Flash????

2007-02-03 Thread Mike Anderson
Thanks for the reply guys :)

Real quick though, could you both clarify what you (Kenny and Cisnky)
mean by "use AS3"?

All AS3 means to me, is that it's the next evolution of ActionScript, in
which you now use Packages instead of Classes, and some
changes/enhancements regarding code syntax & methodologies.  I am sure
there is much more to it than that - I only researched AS3 a little bit.

I was just wondering if you guys were referring to the AS3 Version of
the Flash IDE available on the Adobe Website - and that I should
recode/recompile my existing AS2 Flash Application, with the AS3
methodologies (and then pull that into my Flex App)??

Again, not sure what you both meant exactly, so if you could clarify
that whole thing, I would be extremely grateful.  I am trying very hard,
to see if I can use Flex 100% of the time, and sort of put Flash on the
back-burner for a while.

Thanks in advance for all your wonderful input,

Mike

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lostinrecursion
Sent: Saturday, February 03, 2007 7:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can Flex directly replace Flash

I agree. AS3 actually has the most incredible drag and drop support and
it is also very easy to implement via Flex. In fact, all List based
components have this functionality native to them.

But adding it to a non list base component isn't awfully hard either.
Look in the docs for drag and drop and look for "Image to a Canvas"
examples on drag/drop - I believe that ought to answer many of your
questions.

Good luck with the app. Sounds heavy.
-Kenny



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





RE: [flexcoders] Re: Can Flex directly replace Flash????

2007-02-03 Thread Mike Anderson
Hello Michael!
 
You hit the nail right on the head - this is exactly what I am looking
for.
 
In fact, this scenario closely resembles how I wrote my existing version
with Flash.
 
I will scour your post a few times over, and research every aspect of it
- then hopefully I will be able to put together a game plan in my head,
on how to start the conversion process.  The cool part too, is that I
can port most of my AS 2.0 code over, as it relates to all the GPS
Conversion logic, and all other math logic / coordinate conversion
functions that I had to slave countless hours over figuring out.
 
Again, thank you Michael - you provided several key pieces of
information, and I have a pretty good feel as to what to do next.  I may
still e-mail you off-list however, with some other questions.
 
Take care,
 
Mike



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Schmalle
Sent: Saturday, February 03, 2007 8:56 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Can Flex directly replace Flash


> is how to handle all the Drag/Drop logic with the
Icons,

Sounds interesting. :)

I would make a component, MapViewer extends UIComponent.

Composite 2 components into this component.

- MapLoader extends SWFLoader
- MapAssets extends Canvas

MapViewer will be the control into positioning the icons as your drop
them INTO the MapAssets aka the map assets instance is position 0,0 with
the MapLoader right on top. MapView sizes and positions the MapLoader
and MapAssrts instances. 

Once you have this base set up, set your tool bar

- drag off the tool bar, create a dragData object with a new instance of
the said icon, 
- user drops icon onto MapViewer
- MapViewer konws how to accept dragDrop, then processes the x,y
position converts coords, takes that new instance you created from the
tool bar factory and addChild() into the MapAssets component precisely
where the user dropped it. 

Now that the icon is perfectly placed INSIDE the MapAssets instance as
the user pans the map around, them icon follows because the MapViewer is
positioning the MapLoader along with the MapViewer.

May or may not make sense but from what you described I could easily get
that scenario going. 

Peace, Mike




On 2/3/07, lostinrecursion <[EMAIL PROTECTED]> wrote: 

I agree. AS3 actually has the most incredible drag and drop
support
and it is also very easy to implement via Flex. In fact, all
List
based components have this functionality native to them.

But adding it to a non list base component isn't awfully hard
either.
Look in the docs for drag and drop and look for "Image to a
Canvas"
examples on drag/drop - I believe that ought to answer many of
your
questions.

Good luck with the app. Sounds heavy.
-Kenny








-- 
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com 

You can find more by solving the problem then by 'asking the question'.
 


Re: [flexcoders] Apollo features

2007-02-03 Thread Ryan Stewart
I despise the idea of Apollo allowing hooks into the OS that can potentially 
make an Apollo app only run on a specific OS. I get the stuff about letting 
developers have full control, but part of the great story of Apollo is that it 
enables a new kind of cross platform application. If your client isn't going to 
look at Apollo and like the idea of targeting the other 5% then maybe they 
should be using Windows Presentation Foundation.

=Ryan



-Original Message-
From: [EMAIL PROTECTED]
Sent: Saturday, February 3, 2007 7:15 AM -08:00
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Apollo features

So your saying it's better for a company to re create the wheel then to 
leverage their existing investments. 80%+ of business applications are specific 
to windows not leveraging that investment is just stupid. 

 

So now if I have a client that wants to leverage Apollo I have to let them know 
their going to need to dump everything they have built as it's not cross 
platform, and even though they are a windows platform company they really need 
cross platform.  



I had never stated just target win dll's, and I had meant a value proposition 
for business. Do you honestly think that company is going to look at Apollo and 
say "sweet now I can target the other 5% of the market. Let's dump everything 
and start over"?



I'm totally missing your logic here.

 

jason



  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de Shannon 
Hicks
  Envoyé : vendredi 2 février 2007 18:31
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Apollo features


  The real value of Apollo would be cross-platform applications. I can't run 
your DLL's on my Mac. If you need DLL's, use VB to build your app, and don't 
tease me with the false hope of a cross-platform application by building with 
Apollo and then ruining it with windows-only code. :)

  Shan



  Jason Hawryluk wrote: 

? 

I have to agree here, if we can't extend it with our own dll's then what is 
the real value proposition for Apollo. 



I think support for dll's is important (com, managed, other). Allowing us 
to reuse our existing middle tiers/frameworks, and use Apollo to create 
engaging user experiences.

jason

  -Message d'origine-
  De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de 
Jerome Clarke a.k.a sinatosk
  Envoyé : vendredi 2 février 2007 16:54
  À : flexcoders@yahoogroups.com
  Objet : Re: [flexcoders] Apollo features


  To be honest... all this talk I've been hearing about Apollo being used 
as desktop applications using web technologies... I would kinda expect that you 
can launch exe passing parameters ( like CLI style or something similar ), talk 
to dynamic libraries like .dll ( Windows ), .so ( Linux )... kinda surprised it 
doesn't support any of that yet... yet they call it desktop applications... 
it's more like their own browser in my opinion... I doubt this is how Apollo 
will be all the way. But if it does... can't say people will move to it quickly 
while MDM Zinc is there being able to do all of that ( regardless Zinc is free 
or not ) and WPF/E 

  I had plans to write applications where I can use SQLite, MySQL, GD2, run 
servers using TCP/IP on specific ports and ip addresses, video codecs like 
divx, xvid and others... if all I can do is talk to the file system then I may 
aswell stick with Flex 2... The only use I can see that for is for offline 
storage applications like the ebay application and Amazon application... Thats 
what alot of people want to do anyways but thats not the only thing they want 
to do... 

  but then again I'm assuming quite abit here... I havn't got full info 
about Apollo... but what I've been hearing about WPF/E compared to Apollo... 
I'm assuming Apollo can't do some of the things I said above and I'm not 
interested in WPF/E. As far as I know... only works on Windows but I still 
watch it to see what people say about it... I like to be cross platform 

  I use Flex 2 alot for the things I'm doing now. I don't think I will be 
using Apollo as much as I thought I predicted as I do with Flex 2



  On 2/2/07, Kevin Newman <[EMAIL PROTECTED]> wrote: 
Tom Chiverton wrote:
> Does anyone or has read somewhere, if Apollo will allow you to launch 
native 
> local applications ?
> 
As far as I know, Apollo is using webkit, does this include the ability 
to run other plugins besides Flash (like Java)?

If so, can you use one of those other plugins (java, or perhaps a 
custom 
plugin) to access native dlls and such by communicating from Flash to 
Javascript, then to the other plugin in Javascript?

Kevin N.









   

[flexcoders] Relative / LocalHost Paths and WebServices

2007-02-03 Thread Aly Sidi

In Flex 1.5 I am running a Tomcat server on port 80 which hosts MXML files.
In these MXML files I can reference .NET Webservices on port  which are
also local. So a sample webservice tag would look like this :
http://localhost:"/MyService/MyService.asmx
and everything works just fine when I can my XML from a fully qualified
domain name outside my localhost environment.
Ex : http://mydomain/Sample/Sample.mxml

I am now using Flex 2 and compiling my mxml to swf. So my question is can I
still use the same approach above with compiled swf's or do I have to host
them on TomCat.

I am also having serious issues with crossdomain.xml and
Security.allowDomains, but thats another story.

Ideally i would like to end up with this scenerio if possible :

http://myDomain/Sample/Sample.html which contains a compiled
Sample.swfwhich talks to my local webservice on port . And I wish
to reference the
MX:WebService like :
1. url=" http://localhost:"/MyService/MyService.asmx
2. url="../MyService.asmx"
and avoid opening my webservice to the world by using
url="http://myDomain:/MyService/MyService.asmx
"

hope that makes sense.
cheers
-aly


[flexcoders] Trace log not working

2007-02-03 Thread David Harris
Hi.

I have an issue where my trace log is not working...

I am sure I have the debug player installed, as I have used the
uninstaller and then installed the players located in "Flex Builder
2\Player\debug"

In my "mm.cfg" contains:
TraceOutPutFileName=C:\flashlog.txt
ErrorReportingEnable=1
TraceOutputFileEnable=1
MaxWarnings=0

When I hace a "trace" command in the code, the file "C:\flashlog.txt"
is created, but nothing is  written in to the file.

I am running XPPro, FF2 and IE7.

If I run the "SAFlashPlayer.exe" on the local machine and the trace
log works fine... just not from the browsers...


[flexcoders] Dynamic creation of from xml - placed over an image

2007-02-03 Thread oneproofdk
I am looking into how to make a dynamic form, where I load some values
into an array uisng a httpservice, then a ActionScript function would
dynamic add  fields to the app.

Can anyone help me out with some code (pseudo) or links to docs ?
Donøt know where to look.

Also : Is it possible to place  and other UI components, over
a  ? I'm looking into using a jpg as "background" for the
form, so I need to place the UI components on top of the jpg background.
Is this possible ? Should I use a canvas with a image or ?

Thanks for your help and time

Mark



Re: [flexcoders] Re: Max OS X Flex Builder 2.01 License Issue - still waiting

2007-02-03 Thread Brendan Meutzner

Ouch... OK I feel a little less put out now Paul... :-)

Brendan

On 2/3/07, Paul Evans <[EMAIL PROTECTED]> wrote:


  On 1 Feb 2007, at 18:38, Brendan Meutzner wrote:
> when is a $499 FlexBuilder license expensive

when you have to pay the UK price:
(Including Ireland VAT @21%) : £381.15 = US$749.35 at current exchange.

> It's too bad that the fantastic relationship we have with the Adobe
> engineers can't spread over to the CS department a bit...
+1

Paul
--
[ http://www.creative-cognition.co.uk/ ]
[ http://creacog.wordpress.com/ ]

 





--
Brendan Meutzner
Stretch Media - RIA Adobe Flex Development
[EMAIL PROTECTED]
http://www.stretchmedia.ca


Re: [flexcoders] Re: Max OS X Flex Builder 2.01 License Issue - still waiting

2007-02-03 Thread Paul Evans
On 1 Feb 2007, at 18:38, Brendan Meutzner wrote:
>  when is a $499 FlexBuilder license expensive

when you have to pay the UK price:
(Including Ireland VAT @21%) : £381.15 = US$749.35 at current exchange.

> It's too bad that the fantastic relationship we have with the Adobe  
> engineers can't spread over to the CS department a bit...
+1

Paul
-- 
[ http://www.creative-cognition.co.uk/ ]
[ http://creacog.wordpress.com/ ]



[flexcoders] Re: Flex 2 code to reload the entire application?

2007-02-03 Thread coderjun
Dan,

Like Tracy, I haven't had a chance to use the navigateToUrl either, but
what I have implemented before successfully in my apps is to use the
ExternalInterface to call a JavaScript function after the execution of
any of my Flex logout code.  Example:

 ExternalInterface.call('window.location.reload()');

This works well for me.

-Jun

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> While some might judge it a "hack", others are successfully using
> navigateToUrl, with the url pointing to the flex app url itself, and
the
> target _self.  I've not used it myself, but there was just a thread
> about it here.  Search the archives for more detail.
>
>
>
> Tracy
>
>
>
> 
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of D O
> Sent: Friday, February 02, 2007 6:11 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex 2 code to reload the entire application?
>
>
>
> Hi everyone, is there any actionscript code I can use to reload the
> entire swf? I have a computer based training module that a user can
> reset at the end and erase all of their use data. Right now the data
> is being removed, but I'm not sure how to refresh the swf to reset the
> UI. Something similar to a reload button for web browsers. Maybe
> something like Application.reload??
>
> any help is appreciated.
> thanks!
> dan
>




Re: [flexcoders] Effects on Linkbar links

2007-02-03 Thread Jared Verdi
Ok, so I guess this was fairly easy.

What I ended up doing is catching the ChildExistenceChangeEvent for the 
LinkBar and attaching the rollover event to the added linkbutton:

private function 
addClickEvent(event:ChildExistenceChangedEvent):void {
if(event.type == ChildExistenceChangedEvent.CHILD_ADD && 
event.relatedObject is LinkButton) {
var lb:LinkButton = (event.relatedObject as LinkButton);
lb.addEventListener(MouseEvent.ROLL_OVER, playClick);
}
}

  

Jared Verdi wrote:
>
> Given a sound effect:
>  source="@Embed(source='assets/sounds/click.mp3')" />
>
> and a linkbar which derives its links from a viewstack:
> 
>
> How would I cause each link of the linkbar, rather than the linkbar
> itself to play the sound effect on a rollover event?
>
> Thanks
>
>  



[flexcoders] Re: sort datagridcolumn on numeric field - use sortCompareFunction ?

2007-02-03 Thread amigo_fd
Solution found !

example and code on

http://flextricks.wordpress.com/2007/02/03/sorting-numeric-values-in-a-flex-datagrid/

--- In flexcoders@yahoogroups.com, "amigo_fd" <[EMAIL PROTECTED]> wrote:
>
> any ideas on how to do this with sortCompareFunction ?
> 
> --- In flexcoders@yahoogroups.com, "amigo_fd"  wrote:
> >
> > Hello, it looks like all data in a datagrid is treated as text. So if
> > you sort a column with only numeric fields it is sorted on the value
> > of the textual contect, instead of the numeric value, like this:
> > 
> > 1095
> > 111
> > 1276
> > 144
> > ...
> > 
> > I already converted my webservice-result to numbers at loading, but
> > sorting keeps using text-value ... How to change this ?
> > 
> > dgInvoiceListGrouped.dataProvider = new
XMLListCollection(x.children());
> > var GroupedArray:Array = [];
> > 
> > for (var j:Number = 0; j < dgInvoiceList.dataProvider.length; j++) {
> > GroupedArray[j] = {Name:
> > dgInvoiceListGrouped.dataProvider.getItemAt(j).Name.toString(),
> > Country:
> > dgInvoiceListGrouped.dataProvider.getItemAt(j).Country.toString(),
> > GroupedTotalExcl:
> >
>
Number(dgInvoiceListGrouped.dataProvider.getItemAt(j).GroupedTotalExcl.toString()),
> > GroupedTotalIncl:
> >
>
Number(dgInvoiceListGrouped.dataProvider.getItemAt(j).GroupedTotalIncl.toString())};
> > }
> > 
> > dgInvoiceListGrouped.dataProvider = [];
> > dgInvoiceListGrouped.dataProvider = GroupedArray;
> >
>




[flexcoders] Relative / LocalHost Paths and WebServices

2007-02-03 Thread Aly Sidi

In Flex 1.5 I am running a Tomcat server on port 80 which hosts MXML files.
In these MXML files I can reference .NET Webservices on port  which are
also local. So a sample webservice tag would look like this :
http://localhost:"/MyService/MyService.asmx
and everything works just fine when I can my XML from a fully qualified
domain name outside my localhost environment.
Ex : http://mydomain/Sample/Sample.mxml

I am now using Flex 2 and compiling my mxml to swf. So my question is can I
still use the same approach above with compiled swf's or do I have to host
them on TomCat.

I am also having serious issues with crossdomain.xml and
Security.allowDomains, but thats another story.

Ideally i would like to end up with this scenerio if possible :

http://myDomain/Sample/Sample.html which contains a compiled
Sample.swfwhich talks to my local webservice on port . And I wish
to reference the
MX:WebService like :
1. url="http://localhost:"/MyService/MyService.asmx
2. url="../MyService.asmx"
and avoid opening my webservice to the world by using url="
http://myDomain:/MyService/MyService.asmx";

hope that makes sense.
cheers
-aly


Re: [flexcoders] Apollo features

2007-02-03 Thread Andrey

Haven't replied too often, but this one struck a chord.

In real enterprise-level applications, you are split up into tiers. you have
presentation layer (which apollo/flex/flash/etc fits very nicely in), and
you have your back-end with business logic and the storage). A number of
people I know are thrilled with the fact that there is no data access in
flex, which forces people to at least try to adhere to a proper structure.

Now, in the situation at hand, you'd use apollo to make your pretty
applications which all they do serve as a frontend, and they'd just query
your services to get the actual data they're working with. This way, you can
have anything you want in the backend, the same dll's and the same business
logic which can be written in .net/java/vb or whatever else fancies you.
This way the businesses keep their existing investments, and get a much
better and more user-friendly (hopefully, if designed so) front-end which
runs as a desktop app instead of a browser.

... am I missing anything?

On 2/3/07, Jason Hawryluk <[EMAIL PROTECTED]> wrote:


   So your saying it's better for a company to re create the wheel then to
leverage their existing investments. 80%+ of business applications are
specific to windows not leveraging that investment is just stupid.



So now if I have a client that wants to leverage Apollo I have to let them
know their going to need to dump everything they have built as it's not
cross platform, and even though they are a windows platform company they
really need cross platform.



I had never stated just target win dll's, and I had meant a value
proposition for business. Do you honestly think that company is going to
look at Apollo and say "sweet now I can target the other 5% of the market.
Let's dump everything and start over"?



I'm totally missing your logic here.


jason




-Message d'origine-
*De :* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
la part de* Shannon Hicks
*Envoyé :* vendredi 2 février 2007 18:31
*À :* flexcoders@yahoogroups.com
*Objet :* Re: [flexcoders] Apollo features

 The real value of Apollo would be cross-platform applications. I can't
run your DLL's on my Mac. If you need DLL's, use VB to build your app, and
don't tease me with the false hope of a cross-platform application by
building with Apollo and then ruining it with windows-only code. :)

Shan



Jason Hawryluk wrote:

  I have to agree here, if we can't extend it with our own dll's then what
is the real value proposition for Apollo.

I think support for dll's is important (com, managed, other). Allowing us
to reuse our existing middle tiers/frameworks, and use Apollo to create
engaging user experiences.

jason


-Message d'origine-
*De :* flexcoders@yahoogroups.com [mailto:flexcoders@ 
yahoogroups.com]*De la part de* Jerome Clarke a.k.a sinatosk
*Envoyé :* vendredi 2 février 2007 16:54
*À :* flexcoders@yahoogroups.com
*Objet :* Re: [flexcoders] Apollo features

 To be honest... all this talk I've been hearing about Apollo being used
as desktop applications using web technologies... I would kinda expect that
you can launch exe passing parameters ( like CLI style or something similar
), talk to dynamic libraries like .dll ( Windows ), .so ( Linux )... kinda
surprised it doesn't support any of that yet... yet they call it desktop
applications... it's more like their own browser in my opinion... I doubt
this is how Apollo will be all the way. But if it does... can't say people
will move to it quickly while MDM Zinc is there being able to do all of that
( regardless Zinc is free or not ) and WPF/E

I had plans to write applications where I can use SQLite, MySQL, GD2, run
servers using TCP/IP on specific ports and ip addresses, video codecs like
divx, xvid and others... if all I can do is talk to the file system then I
may aswell stick with Flex 2... The only use I can see that for is for
offline storage applications like the ebay application and Amazon
application... Thats what alot of people want to do anyways but thats not
the only thing they want to do...

but then again I'm assuming quite abit here... I havn't got full info
about Apollo... but what I've been hearing about WPF/E compared to Apollo...
I'm assuming Apollo can't do some of the things I said above and I'm not
interested in WPF/E. As far as I know... only works on Windows but I still
watch it to see what people say about it... I like to be cross platform

I use Flex 2 alot for the things I'm doing now. I don't think I will be
using Apollo as much as I thought I predicted as I do with Flex 2

On 2/2/07, Kevin Newman <[EMAIL PROTECTED]> wrote:
>
>   Tom Chiverton wrote:
> > Does anyone or has read somewhere, if Apollo will allow you to launch
> native
> > local applications ?
> >
> As far as I know, Apollo is using webkit, does this include the ability
> to run other plugins besides Flash (like Java)?
>
> If so, can you use one of those other plugins (java, or perhaps a custom
>
> plugin) to access native d

[flexcoders] text in buttons getting cut off... why?

2007-02-03 Thread Mark
I'm using ToggleButtonBar.  When I add a horizontalGap of anything 
over 2 the button with the most text gets cut off.  If I take that 
out I can have as much text as I need and the button looks fine.  
Why would this be happening and what can I do to make it work with 
the gap and without giving them all the same size?


This is what I have:





ProjectCatalog
Snapshot
Country
Calendar
Radar
Current and Previous







Re: [flexcoders] Apollo features

2007-02-03 Thread Jeffry Houser

  It seems to me there is a lot of speculation about Apollo, based on 
very little actual knowledge.  All this speculation of "Apollo must 
have x feature" seems premature.

  I don't Grok Apollo and don't expect to until there is an actual 
product available or some documentation to read.  Why would I want to 
deploy a web app to the desktop?

  The concept of partially connected applications was intriguing 10+ 
years ago, when you were only connected in the office.  Lotus Notes 
already implemented the partially connected app thing 
wonderfully.  These days the only time you aren't connected is on an 
airplane.

  Is Apollo = partially connected apps?  I don't know, but that's my 
best interpretation to date.
  Is Apollo something beyond partially connected apps?  I have no idea.

  All that said, maybe this thread should move over to the 
ApolloCoders list.  http://tech.groups.yahoo.com/group/apollocoders/



--
Jeffry Houser, Software Developer, Writer, Songwriter, Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: 
My Podcast: 
My Blog: 
Connecticut Macromedia User Group: 



Re: [flexcoders] Apollo features

2007-02-03 Thread Jerome Clarke a.k.a sinatosk

I suggest you re-read what I said then... because I said it and Mike
Chambers has it quoted

"I would kinda expect that you can launch exe passing parameters ( like CLI
style or something similar ), talk to dynamic libraries like .dll ( Windows
), .so ( Linux )..."

and as I said before I don't know much about Mac's so I don't know what they
use for dynamic libraries... dunno if they also use .so... I don't know

On 2/3/07, Shannon Hicks <[EMAIL PROTECTED]> wrote:


   You never said anything about this in your previous email. All you said
in your previous email was, basically, that if you couldn't run dll's Apollo
was useless. My response was targeted toward that.

Even considering your new statements, I still stand by my original opinion
that the value is being cross-platform. Just because 80% of business
applications are built on a proprietary platform doesn't mean that it's the
best idea to continue building on such a limiting platform. Don't get me
wrong... Apollo is also a closed platform, but at least it will run on
Windows, Mac and Linux. If a company isn't interested in investing in a
project that has these potential long-term advantages, then Apollo might not
be for them anyway.

If a company is interested in sticking with Windows proprietary software,
I don't see the advantages of Apollo over, say, VB... Or just sticking with
the software they're currently using.

Shan


Jason Hawryluk wrote:

  So your saying it's better for a company to re create the wheel then to
leverage their existing investments. 80%+ of business applications are
specific to windows not leveraging that investment is just stupid.



So now if I have a client that wants to leverage Apollo I have to let them
know their going to need to dump everything they have built as it's not
cross platform, and even though they are a windows platform company they
really need cross platform.



I had never stated just target win dll's, and I had meant a value
proposition for business. Do you honestly think that company is going to
look at Apollo and say "sweet now I can target the other 5% of the market.
Let's dump everything and start over"?



I'm totally missing your logic here.


jason




-Message d'origine-
*De :* flexcoders@yahoogroups.com [mailto:flexcoders@ 
yahoogroups.com]*De la part de* Shannon Hicks
*Envoyé :* vendredi 2 février 2007 18:31
*À :* flexcoders@yahoogroups.com
*Objet :* Re: [flexcoders] Apollo features

 The real value of Apollo would be cross-platform applications. I can't
run your DLL's on my Mac. If you need DLL's, use VB to build your app, and
don't tease me with the false hope of a cross-platform application by
building with Apollo and then ruining it with windows-only code. :)

Shan



Jason Hawryluk wrote:

  I have to agree here, if we can't extend it with our own dll's then what
is the real value proposition for Apollo.

I think support for dll's is important (com, managed, other). Allowing us
to reuse our existing middle tiers/frameworks, and use Apollo to create
engaging user experiences.

jason


-Message d'origine-
*De :* flexcoders@yahoogroups.com [mailto:flexcoders@ 
yahoogroups.com]*De la part de* Jerome Clarke a.k.a sinatosk
*Envoyé :* vendredi 2 février 2007 16:54
*À :* flexcoders@yahoogroups.com
*Objet :* Re: [flexcoders] Apollo features

 To be honest... all this talk I've been hearing about Apollo being used
as desktop applications using web technologies... I would kinda expect that
you can launch exe passing parameters ( like CLI style or something similar
), talk to dynamic libraries like .dll ( Windows ), .so ( Linux )... kinda
surprised it doesn't support any of that yet... yet they call it desktop
applications... it's more like their own browser in my opinion... I doubt
this is how Apollo will be all the way. But if it does... can't say people
will move to it quickly while MDM Zinc is there being able to do all of that
( regardless Zinc is free or not ) and WPF/E

I had plans to write applications where I can use SQLite, MySQL, GD2, run
servers using TCP/IP on specific ports and ip addresses, video codecs like
divx, xvid and others... if all I can do is talk to the file system then I
may aswell stick with Flex 2... The only use I can see that for is for
offline storage applications like the ebay application and Amazon
application... Thats what alot of people want to do anyways but thats not
the only thing they want to do...

but then again I'm assuming quite abit here... I havn't got full info
about Apollo... but what I've been hearing about WPF/E compared to Apollo...
I'm assuming Apollo can't do some of the things I said above and I'm not
interested in WPF/E. As far as I know... only works on Windows but I still
watch it to see what people say about it... I like to be cross platform

I use Flex 2 alot for the things I'm doing now. I don't think I will be
using Apollo as much as I thought I predicted as I do with Flex 2

 On 2/2/07, Kevin Newman <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Apollo features

2007-02-03 Thread Shannon Hicks
You never said anything about this in your previous email. All you said 
in your previous email was, basically, that if you couldn't run dll's 
Apollo was useless. My response was targeted toward that.


Even considering your new statements, I still stand by my original 
opinion that the value is being cross-platform. Just because 80% of 
business applications are built on a proprietary platform doesn't mean 
that it's the best idea to continue building on such a limiting 
platform. Don't get me wrong... Apollo is also a closed platform, but at 
least it will run on Windows, Mac and Linux. If a company isn't 
interested in investing in a project that has these potential long-term 
advantages, then Apollo might not be for them anyway.


If a company is interested in sticking with Windows proprietary 
software, I don't see the advantages of Apollo over, say, VB... Or just 
sticking with the software they're currently using.


Shan

Jason Hawryluk wrote:




So your saying it's better for a company to re create the wheel then 
to leverage their existing investments. 80%+ of business applications 
are specific to windows not leveraging that investment is just stupid.


 

So now if I have a client that wants to leverage Apollo I have to let 
them know their going to need to dump everything they have built as 
it’s not cross platform, and even though they are a windows platform 
company they really need cross platform.  

 

I had never stated just target win dll's, and I had meant a value 
proposition for business. Do you honestly think that company is going 
to look at Apollo and say “sweet now I can target the other 5% of the 
market. Let’s dump everything and start over”?


 


I’m totally missing your logic here.

 


jason
 
 
 


-Message d'origine-
*De :* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] la part de* Shannon Hicks
*Envoyé :* vendredi 2 février 2007 18:31
*À :* flexcoders@yahoogroups.com
*Objet :* Re: [flexcoders] Apollo features

The real value of Apollo would be cross-platform applications. I
can't run your DLL's on my Mac. If you need DLL's, use VB to build
your app, and don't tease me with the false hope of a
cross-platform application by building with Apollo and then
ruining it with windows-only code. :)

Shan



Jason Hawryluk wrote:




I have to agree here, if we can't extend it with our own dll's
then what is the real value proposition for Apollo.

I think support for dll’s is important (com, managed, other).
Allowing us to reuse our existing middle tiers/frameworks, and
use Apollo to create engaging user experiences.
 
jason
 


-Message d'origine-
*De :* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] la part de* Jerome
Clarke a.k.a sinatosk
*Envoyé :* vendredi 2 février 2007 16:54
*À :* flexcoders@yahoogroups.com
*Objet :* Re: [flexcoders] Apollo features

To be honest... all this talk I've been hearing about Apollo
being used as desktop applications using web technologies...
I would kinda expect that you can launch exe passing
parameters ( like CLI style or something similar ), talk to
dynamic libraries like .dll ( Windows ), .so ( Linux )...
kinda surprised it doesn't support any of that yet... yet
they call it desktop applications... it's more like their own
browser in my opinion... I doubt this is how Apollo will be
all the way. But if it does... can't say people will move to
it quickly while MDM Zinc is there being able to do all of
that ( regardless Zinc is free or not ) and WPF/E

I had plans to write applications where I can use SQLite,
MySQL, GD2, run servers using TCP/IP on specific ports and ip
addresses, video codecs like divx, xvid and others... if all
I can do is talk to the file system then I may aswell stick
with Flex 2... The only use I can see that for is for offline
storage applications like the ebay application and Amazon
application... Thats what alot of people want to do anyways
but thats not the only thing they want to do...

but then again I'm assuming quite abit here... I havn't got
full info about Apollo... but what I've been hearing about
WPF/E compared to Apollo... I'm assuming Apollo can't do some
of the things I said above and I'm not interested in WPF/E.
As far as I know... only works on Windows but I still watch
it to see what people say about it... I like to be cross
platform

I use Flex 2 alot for the things I'm doing now. I don't think
I will be using Apollo as much as I thought I predicted as I
do with Flex 2

On 2/2/07, *Kevin Newman* <[EMAIL PROTECTED]
> wrote:

Tom Chiverton wrote:
 

[flexcoders] Re: How do you make a copy of an XMLListCollection ( not instance of ) ...

2007-02-03 Thread helihobby

THNAK YOU SO MUCH.

I just needed the a.source ...

Thanks again,

Sean.

--- In flexcoders@yahoogroups.com, "Brian Holmes" <[EMAIL PROTECTED]> wrote:
>
> Just create a new XMLListColletion with the source of the one you 
want
> to copy from.
> 
> var a:XMLListCollection = new XMLListCollection(xmlList);
> var b:XMLListCollection = new XMLListCollection(a.source);
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of helihobby
> Sent: Friday, February 02, 2007 10:46 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: How do you make a copy of an 
XMLListCollection
> ( not instance of ) ...
> 
> I event try:
> 
> newList = ObjectUtil.copy(x) as XMLListCollection;
> 
> for each (var node1:XML in x ){   
>   trace(" " + node1); 
> }
> 
> for each (var node2:XML in newList ){ 
>   trace(" " + node2); 
> }
> 
> I see the traces for  but nothing for  
> 
> :(
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Brian Dunphy" 
> wrote:
> >
> > import mx.utils.ObjectUtil;
> > 
> > var newList:Object = ObjectUtil.copy(oldList);
> > 
> > Cheers,
> > 
> > Brian
> > 
> > On 2/1/07, helihobby  wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > > Can anyone please post sample code of how to make a copy of a  
> > > XMLListCollection.
> > >
> > >  Not a copy of the instance object but a new XMLListCollection
> object.
> > >
> > >  Thank you for all the help,
> > >
> > >  Sean.
> > >
> > >  
> > 
> > 
> > --
> > Brian Dunphy
> >
> 
> 
> 
> 
> --
> 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
> 
> 
> 
> 
> 
> ***
> The information in this e-mail is confidential and intended solely 
for the individual or entity to whom it is addressed.  If you have 
received this e-mail in error please notify the sender by return e-
mail delete this e-mail and refrain from any disclosure or action 
based on the information.
> ***
>




[flexcoders] Re: Adding Favorites

2007-02-03 Thread trk247
Perfect, Thanks!



Re: [flexcoders] Apollo features

2007-02-03 Thread DannyT

I don't think (i'm no authority on this so please take with a pinch of salt)
that Apollo is geared towards businesses scrapping their existing systems
and starting from the ground up with Apollo. Apollo really takes off where
RIAs are already taking off only stripping out the confines of the browser
and opening up some of the benefits of the desktop.

I don't think Apollo is going to be replacing existing desktop applications
but opening new opportunities for seemlessly integrated web and desktop
applications, a new breed of application if you like. You just need to check
out the demo apps that are being built and I've no doubt that hundreds of
ideas will start surfacing as to how we can leverage Apollo.

On 03/02/07, Jason Hawryluk <[EMAIL PROTECTED]> wrote:


   So your saying it's better for a company to re create the wheel then to
leverage their existing investments. 80%+ of business applications are
specific to windows not leveraging that investment is just stupid.



So now if I have a client that wants to leverage Apollo I have to let them
know their going to need to dump everything they have built as it's not
cross platform, and even though they are a windows platform company they
really need cross platform.



I had never stated just target win dll's, and I had meant a value
proposition for business. Do you honestly think that company is going to
look at Apollo and say "sweet now I can target the other 5% of the market.
Let's dump everything and start over"?



I'm totally missing your logic here.


jason




-Message d'origine-
*De :* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
la part de* Shannon Hicks
*Envoyé :* vendredi 2 février 2007 18:31
*À :* flexcoders@yahoogroups.com
*Objet :* Re: [flexcoders] Apollo features

 The real value of Apollo would be cross-platform applications. I can't
run your DLL's on my Mac. If you need DLL's, use VB to build your app, and
don't tease me with the false hope of a cross-platform application by
building with Apollo and then ruining it with windows-only code. :)

Shan



Jason Hawryluk wrote:

  I have to agree here, if we can't extend it with our own dll's then what
is the real value proposition for Apollo.

I think support for dll's is important (com, managed, other). Allowing us
to reuse our existing middle tiers/frameworks, and use Apollo to create
engaging user experiences.

jason


-Message d'origine-
*De :* flexcoders@yahoogroups.com [mailto:flexcoders@ 
yahoogroups.com]*De la part de* Jerome Clarke a.k.a sinatosk
*Envoyé :* vendredi 2 février 2007 16:54
*À :* flexcoders@yahoogroups.com
*Objet :* Re: [flexcoders] Apollo features

 To be honest... all this talk I've been hearing about Apollo being used
as desktop applications using web technologies... I would kinda expect that
you can launch exe passing parameters ( like CLI style or something similar
), talk to dynamic libraries like .dll ( Windows ), .so ( Linux )... kinda
surprised it doesn't support any of that yet... yet they call it desktop
applications... it's more like their own browser in my opinion... I doubt
this is how Apollo will be all the way. But if it does... can't say people
will move to it quickly while MDM Zinc is there being able to do all of that
( regardless Zinc is free or not ) and WPF/E

I had plans to write applications where I can use SQLite, MySQL, GD2, run
servers using TCP/IP on specific ports and ip addresses, video codecs like
divx, xvid and others... if all I can do is talk to the file system then I
may aswell stick with Flex 2... The only use I can see that for is for
offline storage applications like the ebay application and Amazon
application... Thats what alot of people want to do anyways but thats not
the only thing they want to do...

but then again I'm assuming quite abit here... I havn't got full info
about Apollo... but what I've been hearing about WPF/E compared to Apollo...
I'm assuming Apollo can't do some of the things I said above and I'm not
interested in WPF/E. As far as I know... only works on Windows but I still
watch it to see what people say about it... I like to be cross platform

I use Flex 2 alot for the things I'm doing now. I don't think I will be
using Apollo as much as I thought I predicted as I do with Flex 2

On 2/2/07, Kevin Newman <[EMAIL PROTECTED]> wrote:
>
>   Tom Chiverton wrote:
> > Does anyone or has read somewhere, if Apollo will allow you to launch
> native
> > local applications ?
> >
> As far as I know, Apollo is using webkit, does this include the ability
> to run other plugins besides Flash (like Java)?
>
> If so, can you use one of those other plugins (java, or perhaps a custom
>
> plugin) to access native dlls and such by communicating from Flash to
> Javascript, then to the other plugin in Javascript?
>
> Kevin N.
>
>

  





--
http://danny-t.co.uk


[flexcoders] Re: Integerating Flex and Java using

2007-02-03 Thread Mukesh
Yep,
 I did restart the server and I am not programatically creating any 
channel sets.
  This is the url for the sample example. I've followed the exact 
steps.
  
http://weblogs.macromedia.com/dharfleet/archives/2006/07/integrating_
jav.cfm

If someone can provide me with a sample example, will appreciate the 
same.

--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> 
wrote:
>
> Did you restart the server when changing the remoting-config.xml 
file?
> Did you clean/recompile your application (assuming you're pointing 
it to
> this same services configuration and not programmatically creating
> channel sets)?
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Mukesh
> Sent: Friday, February 02, 2007 3:00 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Integerating Flex and Java using 

> 
> 
> 
> Hi There,
> I was trying "Daniel Harfleet's" sample example , where he is 
showing
> how to integrate Java and Flex using a simple RPC example. I 
followed
> the steps, but I am getting an error on the Server console.
> My Flex application is deployed on JBoss server 4.0.5.
> I've made sure that the java class is compiled and is in placed in 
the
> WEB-INF/classes directory of my Flex application.
> 
> This is how the remoteobject tag looks in my sample.mxml file
> 
>  id="echoRO"
> destination="echoService"
> fault="handleFault(event)"
> result="handleResult(event)" />
> 
> 
> 
> This is how the entry in the remote-config.xml looks
> 
> 
> 
> 
> 
> 
> 
> fdsweb.EchoService
> application
> 
> 
> 
> ==
> 
> So, when I try to access the application deployed in the JBoss, it
> throws the following error on the console.
> 
> 22:59:59,484 INFO [STDOUT] [Flex] [ERROR] Exception when invoking
> service: remo
> ting-service
> with message: Flex Message 
(flex.messaging.messages.RemotingMessage)
> operation = echo
> clientId = 4A82830C-BC09-C972-DEFB-361367B86F0E
> destination = echoService
> messageId = C4DFD400-5B97-AB88-DFD7-80D2BD155FFC
> timestamp = 1170392399484
> timeToLive = 1170392399484
> body = null
> hdr(DSEndpoint) = my-amf
> exception: flex.messaging.MessageException: No destination
> 'echoService' exist
> s in service flex.messaging.services.RemotingService
> 22:59:59,500 INFO [STDOUT] [Flex] [ERROR] Error handling message:
> flex.messagin
> g.MessageException: No destination 'echoService' exists in service
> flex.messagin
> g.services.RemotingService
> incomingMessage: Flex Message 
(flex.messaging.messages.RemotingMessage)
> operation = echo
> clientId = 4A82830C-BC09-C972-DEFB-361367B86F0E
> destination = echoService
> messageId = C4DFD400-5B97-AB88-DFD7-80D2BD155FFC
> timestamp = 1170392399484
> timeToLive = 1170392399484
> body = null
> hdr(DSEndpoint) = my-amf
> errorReply: Flex Message (flex.messaging.messages.ErrorMessage)
> clientId = null
> correlationId = C4DFD400-5B97-AB88-DFD7-80D2BD155FFC
> destination = echoService
> messageId = 4A828333-CC08-81C5-E391-08512AA44718
> timestamp = 1170392399500
> timeToLive = 0
> body = null
> code = Server.Processing
> message = No destination 'echoService' exists in service
> flex.messaging.ser
> vices.RemotingService
> details = null
> rootCause = null
> body = null
> extendedData = null
> 
> Could someone , please let me know as to what I am missing.
> -Regards
>




[flexcoders] Horizontal Labels in Line Chart

2007-02-03 Thread trk247
Is there anyway to move the horizontal labels in a line chart over
about 20 pixels? I have mine rotated on a 35 degree angle and it takes
up too much space. 

Any help greatly appreciated. 



Re: [flexcoders] Re: Can Flex directly replace Flash????

2007-02-03 Thread Michael Schmalle

is how to handle all the Drag/Drop logic with the

Icons,

Sounds interesting. :)

I would make a component, MapViewer extends UIComponent.

Composite 2 components into this component.

- MapLoader extends SWFLoader
- MapAssets extends Canvas

MapViewer will be the control into positioning the icons as your drop them
INTO the MapAssets aka the map assets instance is position 0,0 with the
MapLoader right on top. MapView sizes and positions the MapLoader and
MapAssrts instances.

Once you have this base set up, set your tool bar

- drag off the tool bar, create a dragData object with a new instance of the
said icon,
- user drops icon onto MapViewer
- MapViewer konws how to accept dragDrop, then processes the x,y position
converts coords, takes that new instance you created from the tool bar
factory and addChild() into the MapAssets component precisely where the user
dropped it.

Now that the icon is perfectly placed INSIDE the MapAssets instance as the
user pans the map around, them icon follows because the MapViewer is
positioning the MapLoader along with the MapViewer.

May or may not make sense but from what you described I could easily get
that scenario going.

Peace, Mike



On 2/3/07, lostinrecursion <[EMAIL PROTECTED]> wrote:


  I agree. AS3 actually has the most incredible drag and drop support
and it is also very easy to implement via Flex. In fact, all List
based components have this functionality native to them.

But adding it to a non list base component isn't awfully hard either.
Look in the docs for drag and drop and look for "Image to a Canvas"
examples on drag/drop - I believe that ought to answer many of your
questions.

Good luck with the app. Sounds heavy.
-Kenny

 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


[flexcoders] Re: Can Flex directly replace Flash????

2007-02-03 Thread lostinrecursion
I agree. AS3 actually has the most incredible drag and drop support
and it is also very easy to implement via Flex. In fact, all List
based components have this functionality native to them.

But adding it to a non list base component isn't awfully hard either.
Look in the docs for drag and drop and look for "Image to a Canvas"
examples on drag/drop - I believe that ought to answer many of your
questions.

Good luck with the app. Sounds heavy.
-Kenny



Re: [flexcoders] Drag-Resize MDI Example

2007-02-03 Thread Janis Radins

I'll do some more commenting and publish source on monday.

2007/2/2, Brian Dunphy <[EMAIL PROTECTED]>:


  I've created a Dashboard that acts as an MDI with custom Widgets
(TitleWindows that flip over to configure, etc).

The one thing I'd really like to see though is some example code for
is how to tile the windows evenly across the screen. I assume that
there is some degree of math to figuring out how many windows can fit
in the user's screen resolution per row/column/etc, but I've never
really taken the time to go through it in depth.

Brian


On 2/2/07, Clint Tredway <[EMAIL PROTECTED] > wrote:
>
>
>
>
>
>
> I would like to see the source for this... I am interested in seeing how
its
> done.
>
> On 2/2/07, Janis Radins <[EMAIL PROTECTED]  >
wrote:
> >
> >
> >
> >
> >
> >
> > Hi!
> >
> > I think i just made somthing you were talking about.
> > See this http://www.mediaverk.lv/trash/MinisableResizableWindow/
> > This is just a very first version just got it working so there mutch
be
> some problems.
> > I can make sources available if youre interested.
> >
> > Janis
> >
> >
> > 2007/1/29, John Kirby < [EMAIL PROTECTED] >:
> > >
> > >
> > >
> > >
> > >
> > >
> > > Yes!... but it looks like the source is not available
> > >
> > > Dave Carabetta said the following:
> > >
> > >
> > >
> > > Do you mean something like this?
> > >
> > >
>
http://www.cynergysystems.com/blogs/page/andrewtrice?entry=enhanced_flex_mdi_interface
> > >
> > > Regards,
> > > Dave.
> > > Cynergy Systems, Inc.
> > >
> > >
> > > On 1/14/07, John Kirby <[EMAIL PROTECTED] > wrote:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Anyone know of a Flex 2 Drag-Resize MDI/Panel example?
> > > >
> > > > --
> > > > Whether you think that you can, or that you can't, you are usually
> right.
> > > > - Henry Ford
> > > >
> > >
> > >
> > >
> > > --
> > > Whether you think that you can, or that you can't, you are usually
> right.
> > > - Henry Ford
> > >
> >
> >
> >
> >
>
>
>
> --
> http://indeegrumpee.spaces.live.com/

--
Brian Dunphy

 



Re: [flexcoders] Re: TitleWindow missing all focus events??

2007-02-03 Thread Roman Protsiuk

As the matter of fact I just forgot to say that for focusInHandler to work
your component has to implement IFocusManagerComponent. In this way you
don't have to add these methods as event listeners manually.

And as to relatedObject part of understanding came from documentation and
another one came from reading sdk sources.

R.

On 2/2/07, zhongtie <[EMAIL PROTECTED]> wrote:


  Thanks, Roman. Actually you answered my another question: I have been
trying to figure out why I cannot focus in the edit control inside the
titlewindow :) Where did you learn those good tips about relatedObject ?!!

I am still a little puzzled by how focusIn works. I realized I have to
do these two lines before the focusIn/OutHandler gets invoked:

this.addEventListener(FocusEvent.FOCUS_IN, focusInHandler);
this.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler);

Does it mean by default, TitleWindow doesn't get FOCUS events
dispatched to?

Thanks again for your great help!

Tim

--- In flexcoders@yahoogroups.com , "Roman
Protsiuk"
<[EMAIL PROTECTED]> wrote:
>
> Overloading focusOutHandler/focusInHandler helps. You'll be able to
handle
> FocusEvents there.
> Like in
>
>
> protected override function focusOutHandler(event : FocusEvent) : void {
> if (event.relatedObject == null || !contains(event.relatedObject)) {
> // event came from "outside" not from one of the children
> }
> super.focusOutHandler(event);
> }
>
> R.
>
> On 2/2/07, zhongtie <[EMAIL PROTECTED]> wrote:
> >
> > I pop up TitleWindows using PopupManager, and I change the titlebar
> > colors based on if the titleWindow is active (topmost) or not. The
> > problem is, I am NOT able to capture the focus event for TitleWindow
> > (other controls, like TextArea, has no problems), nor does
> > onFocusIn/onFocusOut overwrite work.
> >
> > Any idea?
> >
> >
> >
>

 



Re: [flexcoders] Can Flex directly replace Flash????

2007-02-03 Thread cisnky

Sorry for the short answer. But have you looked at using AS3 with your
project? Some of the stuff you have mentioned can be handled with AS3
combining with the Flex part of your project.


On 2/3/07, Mike Anderson <[EMAIL PROTECTED]> wrote:


  Hello All,

As I dive into converting my commercial Flash Map Application, into a
Flex-based Application, I am quickly finding out that Flex may not be
able to perform some key functions.

This of course, may be attributed to my lack of understanding of Flex -
so my main goal of this post, is to get some clarifications from the
List Gurus regarding if/how I can do the same things in Flex, as I did
in Flash.

For a quick overview, I wrote a Commercial Flash Application for my
primary client, and it allows their user-base to load Vector-based Lake
Maps, from their 10,000+ Lake Map Database. Once the user browses to
the desired map, they can immediately start to customize it - by adding
Waypoint Icons, Points of Interest, Notes, etc. As they move their
mouse cursor around, they get real-time GPS Coordinates in any format
they like.

On the Flash programming side of things, I used the following
methodology:

I use CF / Remoting to handle all Database reads/writes. I use
the MovieClipLoader Component, to handle all the loading of SWF
Maps. I have an Icon Bar at the bottom of the screen, in which
the user can drag those Icons directly onto the Map. After they
release the Mouse Button, I use "attachMovie()" to attach a copy
of the Icon to the Map SWF File. At the same time, I make a
Remoting call, to record the x,y coordinates of the Icon in
relation to the Map. When the user wants to come back to their
custom map in the future, I simply make another Remoting Call
to the CF Server, get the Results, and then Loop through the
Result Set. Within the For/Next Loop, I again use
"attachMovie()"
to put the Icons back to their original locations when they were
first saved.

This pretty much covers the logic required, to make my Map Application
do it's thing.

Now how the heck would I duplicate this functionality inside of Flex???

So far, I've mastered the SWFLoader Component, and can Scale/Zoom the
SWF Files, in addition to Panning them around using startDrag() and
stopDrag(). This is where things pretty much stop, as I am not sure
what to do next. The Remoting stuff is a total no-brainer, and I am
well-versed in Cairngorm-based Flex Apps - so I have the Data
interaction aspects down cold.

What I need the most, is how to handle all the Drag/Drop logic with the
Icons, and attaching them to the Map SWF File (so that when I pan the
SWFLoader Component around, the Icons go right along with it).

Sorry for the lengthy post, but I needed to explain things as clearly as
possible to get my problems across.

Thanks in advance, for any help you can throw my way,

Mike




Re: [flexcoders] What is the best Flex Message Board ( Other than this group Yahoo ) ?

2007-02-03 Thread cisnky

I don't think you get any better then here at the moment. But Ultrashock has
a forum that is up and coming.

On 2/3/07, Shannon Hicks <[EMAIL PROTECTED]> wrote:


  Probably the Adobe Flex forum.

Shan

helihobby wrote:

 What is the best Flex Message Board ( Other than this group Yahoo ) ?

Thanks for the help,

Sean.