[flexcoders] Initialize does not work for embedded swf's in Flex

2007-06-09 Thread {reduxdj}

neither does creationComplete or complete

I was trying to access a swf's methods from an embedded swf to no 
success?  If i load it in then it works... any ideas? 

Why can't i access the methods and properties of an embedded swf in a flash?

Thanks,
Patrick




Re: [flexcoders] Re: Flash/Flex and EXE

2007-06-09 Thread Muzak

- Original Message - 
From: "André Rodrigues Pena" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, June 10, 2007 12:56 AM
Subject: Re: [flexcoders] Re: Flash/Flex and EXE


> Muzak, are you sure of that? I just created a simple RSS reader and compiled
> it under ZINC and the request is not retrieving

200%.. I have a Zinc RSS reader and a whole bunch of other apps. 




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


Re: [flexcoders] Flex Component kit 4 flash - I wish it did...

2007-06-09 Thread {reduxdj}
Yeah, flexbuilder has a bug, because I retyped the exact line and then 
it worked fine.  Also, the refresh issue is a quirk too - but at least I 
know about it.

I have some issues with how flex integrates UIMovieClip.

OK SWFLoader is a UIComponent, so you can apply effects to it like any 
other UIComponent.  But you can't use that to call methods etc...(I 
never messed with local Connection class yet ;)

However, UIMovieClip does support calling methods and events... but it 
can't have effects applied to it because it's not a UIComponent in the 
flex sort of
of way.  So, Now I realize after a day of messing around that I can't do 
what I want to do with Flex in this fashion, maybe
I could use the localConnection class to call methods,  I guess i expect 
a component called UIMagic that does everything.

Any suggestions on how to do both, ok now to read up localconnection class.


Thanks,
Patrick




leds usop wrote:
>
> no. it can be placed in the mxml declaration of the
> component itself.
>
> --- Ronald Kinion <[EMAIL PROTECTED] 
> > wrote:
>
> > isn't the namespace suposed to be in the root tag?
> > like:
> >
> > 
> >  > xmlns:mx="http://www.adobe.com/2006/mxml 
> 
> > > " 
> xmlns:ng="*"
> > layout="vertical">
> > 
> > 
> >
> > --
> > Ronald Kinion
> > Phone: 253-205-3494
> > [EMAIL PROTECTED] 
> > >
> > www.zones.com >
> >
> >
> >
> > 
> >
> > From: flexcoders@yahoogroups.com 
> > [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of {reduxdj}
> > Sent: Saturday, June 09, 2007 5:07 PM
> > To: flexcoders@yahoogroups.com 
> > Subject: [flexcoders] Flex Component kit
> >
> >
> >
> > Code hinting does not work:
> >
> > my example code:
> >
> > 
> >  > xmlns:mx="http://www.adobe.com/2006/mxml 
> 
> > > "
> > layout="vertical">
> > 
> > 
> >
> > Thanks,
> > Patrick
> >
> >
> >
> >
> >
>
> __
> Be a better Globetrotter. Get better travel answers from someone who 
> knows. Yahoo! Answers - Check it out.
> http://answers.yahoo.com/dir/?link=list&sid=396545469 
> 
>
>  




[flexcoders] Using Database Data For Hard Coded Flex swfs

2007-06-09 Thread boybles
How can I use database data to be used as hard-coded values when I 
compile a Flex swf (so that the client doesn't need to make remoting 
calls to retrieve the data)?  I was thinking of populating comboboxes 
for units of measure, state names, city names, etc...things that don't 
change often...and when they do, I could recompile the swf.  The 
database would be the easiest way for me to maintain that data (rather 
than put this data in xml files).  Any suggestions/examples would be 
very much appreciated.
Thanks,
Boybles



RE: [flexcoders] Flex Component kit

2007-06-09 Thread leds usop
no. it can be placed in the mxml declaration of the
component itself.

--- Ronald Kinion <[EMAIL PROTECTED]> wrote:

> isn't the namespace suposed to be in the root tag? 
> like:
>  
> 
>  xmlns:mx="http://www.adobe.com/2006/mxml
>  " xmlns:ng="*"
> layout="vertical">
> 
> 
> 
> -- 
> Ronald Kinion 
> Phone: 253-205-3494 
> [EMAIL PROTECTED]
>   
> www.zones.com   
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of {reduxdj}
> Sent: Saturday, June 09, 2007 5:07 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex Component kit
> 
> 
> 
> Code hinting does not work:
> 
> my example code:
> 
> 
>  xmlns:mx="http://www.adobe.com/2006/mxml
>  "
> layout="vertical">
> 
> 
> 
> Thanks,
> Patrick
> 
> 
> 
>  
> 



   

Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469


[flexcoders] UIMovieClip

2007-06-09 Thread {reduxdj}
So i am digging into the UIMovieClip. . am i am a little bummed, i tried 
to apply a zoom effect and I got an error that says "effectStarted" 
property not found on my object?  How do i work around this... I thought 
UIMovieClip had the same functionality as UIComponent - more or less.

How do i zoom my component?

Any help out there?

Thanks,
Patrick



RE: [flexcoders] Flex Component kit

2007-06-09 Thread Ronald Kinion
isn't the namespace suposed to be in the root tag?  like:
 

http://www.adobe.com/2006/mxml
 " xmlns:ng="*" layout="vertical">



-- 
Ronald Kinion 
Phone: 253-205-3494 
[EMAIL PROTECTED]   
www.zones.com   

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of {reduxdj}
Sent: Saturday, June 09, 2007 5:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Component kit



Code hinting does not work:

my example code:


http://www.adobe.com/2006/mxml
 " layout="vertical">



Thanks,
Patrick



 


Re: [flexcoders] how to change vertical scroll position with variable row height in datagrid

2007-06-09 Thread Jas Kaur
any thought on this one.
jas

- Original Message 
From: gur_sukh <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, June 8, 2007 10:40:44 PM
Subject: [flexcoders] how to change vertical scroll position with variable row 
height in datagrid









  



Hi,



I have a datagrid with variable row height( multiline rows). If the 

height of last row is bigger than the other rows, then only half of it 

is visible and half is below the visible area. 



I need to set the verticalScrollPosit ion so that the complete row is 

visible. My class inherits from DataGrid class. And the 

verticalscrollposit ion in datagrid is based on number of rows and not 

on piexels.



How do i set the complete last row fully visible, any ideas?



Jas 






  
















  Get a sneak peak at messages with a handy reading pane with All new 
Yahoo! Mail: http://mrd.mail.yahoo.com/try_beta?.intl=ca

[flexcoders] FlexTube now open source

2007-06-09 Thread danneri21
FlexTube, the Flex UI to YouTube, is now open source.

For more information, please visit FlexFanatic


The code is hosted on Google (GoogleCode) and discussions held at Google
Groups



[flexcoders] Flex Component kit

2007-06-09 Thread {reduxdj}
Code hinting does not work:

my example code:


http://www.adobe.com/2006/mxml"; layout="vertical">




Thanks,
Patrick





Re: [flexcoders] Re: Standalone Flash Player

2007-06-09 Thread André Rodrigues Pena

I had one right before my eyes and didnt see! lol
thanks Doug

On 6/9/07, Doug Lowder <[EMAIL PROTECTED]> wrote:


  I used the one in the Flex2 SDK install:
SDK/Player/debug/SAFlashPlayer.exe

--- In flexcoders@yahoogroups.com , "André
Rodrigues Pena"

<[EMAIL PROTECTED]> wrote:
>
> Hi guys,
> I'm trying to download the standalone player for Flash 9 so that I can
> create Projector files but I simply can't find the page to download it
> help me please
>
> --
> André Rodrigues Pena
>
> LOCUS
> www.locus.com.br
>

 





--
André Rodrigues Pena

LOCUS
www.locus.com.br

Blog
www.techbreak.org


[flexcoders] Re: Standalone Flash Player

2007-06-09 Thread Doug Lowder
I used the one in the Flex2 SDK install: 
SDK/Player/debug/SAFlashPlayer.exe

--- In flexcoders@yahoogroups.com, "André Rodrigues Pena" 
<[EMAIL PROTECTED]> wrote:
>
> Hi guys,
> I'm trying to download the standalone player for Flash 9 so that I can
> create Projector files but I simply can't find the page to download it
> help me please
> 
> -- 
> André Rodrigues Pena
> 
> LOCUS
> www.locus.com.br
>




Re: [flexcoders] Re: Flash/Flex and EXE

2007-06-09 Thread André Rodrigues Pena

Muzak, are you sure of that? I just created a simple RSS reader and compiled
it under ZINC and the request is not retrieving

On 6/9/07, André Rodrigues Pena <[EMAIL PROTECTED]> wrote:


So I can access web resources via HTTPService in the Projector? that's
fine! =)

I think Apollo is an interesting technology but I'd be happier if Adobe
had provided us with an "Application Publisher" able to generate platform
specific binaries (Windows and MacOS) and inst./uninst. setups from existing
Flash/Flex applications.

I like the "Once Built Run Everywhere" philosophy but I still think my
final users, those who will download the application from my website, won't
feel comfortably with the Virtual Machine.

What do you guys think about it?



On 6/9/07, Doug Lowder <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> Interesting... The projector exe I created from my Flex 1.5/AS2 app
>  runs fine up until I try to access a feature that makes a remote
>  object call, and then the calls never return.  I thought it was
>  because Flex 1.5 required a server.  Is that a distinction between
>  Flex 1.5 as opposed to just AS2?
>
>  --- In flexcoders@yahoogroups.com, "Muzak" <[EMAIL PROTECTED]> wrote:
>  >
>  > >I know with AS2, the browser was required for remoting calls using
>  > >HTTPService and the like
>  >
>  > That is not correct.
>  > You can make remote calls/access resources on the web just fine
>  from a standalone projector or an .exe created with a 3rd party
>  > wrapper (like Zinc).
>  >
>  > regards,
>  > Muzak
>  >
>  > - Original Message -
>
>  > From: "Doug Lowder" <[EMAIL PROTECTED]>
>  > To: 
>  > Sent: Saturday, June 09, 2007 5:04 PM
>  > Subject: [flexcoders] Re: Flash/Flex and EXE
>  >
>  >
>  > I don't think the Projector approach will work for your case.  I
>  know
>  > with AS2, the browser was required for remoting calls using
>  > HTTPService and the like, and I haven't heard of anything changing
>  > with AS3.  It should be simple enough to test if you want to be
>  > absolutely sure.
>  >
>  > --- In flexcoders@yahoogroups.com, "Andr Rodrigues Pena"
>  >  wrote:
>  > >
>  > > Hi, thanks for your reply Doug and Brendan.
>  > >
>  > > what about the sandbox? I need to access resources in the web. Is
>  it
>  > > possible to build an EXE application capable of that? I know I can
>  > do it
>  > > with Apollo, but I'm thinking of a compiled approach
>  > >
>  > > On 6/8/07, Brendan Meutzner  wrote:
>  > > >
>  > > >   And then there are more powerful tools like Zinc :
>  > > > http://www.multidmedia.com/software/zinc/
>  > > >
>  > > >
>  > > > Brendan
>  > > >
>  > > >
>  > > > On 6/8/07, Doug Lowder  wrote:
>  > > > >
>  > > > >   From the standalone Flash Player, you can select File-
>  >Create
>  > > > > Projector... to create a .exe.
>  > > > >
>  > > > > --- In flexcoders@yahoogroups.com   > 40yahoogroups.com>, "Andr
>  > > > > Rodrigues Pena"
>  > > > >  wrote:
>  > > > > >
>  > > > > > Hello all,
>  > > > > > I remember that when I programmed in Flash 8/AS2 there was a
>  > way I
>  > > > > > could compile the movie into an EXE file.
>  > > > > > My question is: Can I convert AS3 applications
>  > (Flex/Flash/Apollo)
>  > > > > > into an EXE file?
>  > > > > > thanks
>  > > > > >
>  > > > > > --
>  > > > > > Andr Rodrigues Pena
>  > > > > >
>  > > > > > LOCUS
>  > > > > > www.locus.com.br
>  >
>
>
>
>
>  




--
André Rodrigues Pena

LOCUS
www.locus.com.br

Blog
www.techbreak.org





--
André Rodrigues Pena

LOCUS
www.locus.com.br

Blog
www.techbreak.org


[flexcoders] Standalone Flash Player

2007-06-09 Thread André Rodrigues Pena

Hi guys,
I'm trying to download the standalone player for Flash 9 so that I can
create Projector files but I simply can't find the page to download it
help me please

--
André Rodrigues Pena

LOCUS
www.locus.com.br


Re: [flexcoders] Copy and Paste via right click

2007-06-09 Thread Daniel Freiman

Copying and pasting plane text in text controls is built in functionality.
Do you need anything more complicated than that?

Daniel Freiman
nondocs 


On 6/9/07, boy_trike <[EMAIL PROTECTED]> wrote:


  I have this requirement from a customer. Does anyone have an example of
using the context
menu for copy and paste?

Thanks
Bruce

 



Re: [flexcoders] Automated UI Testing for FLEX (Help!)

2007-06-09 Thread Arpit Mathur
we were thinking some kind of integration with selenium (the
javascript testing suite) using the Flex AJAX bridge.

-arpit


On 6/8/07, Karl Johnson <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
>
>
> Mercury Quick Test Pro (works with FDS's Automation API). Or you could write
> your own :-)
>
>
>
> FlexUnit is not really an automated UI testing solution, it unit tests the
> code.
>
>
>
> Karl
>
>
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Persaud, Anthony
>  Sent: Friday, June 08, 2007 2:53 PM
>  To: flexcoders@yahoogroups.com
>  Subject: [flexcoders] Automated UI Testing for FLEX (Help!)
>
>
>
>
>
>
>
>
> Other than FlexUnit, are there any other methods to perform automated UI
> testing for Flash/Flex applications?
>
>
>
> Thanks,
>
>
>
> Anthony
>
>
>
>
>
>
>  


Re: [flexcoders]Can't convert XML to ArrayCollection in AS3

2007-06-09 Thread dorkie dork from dorktown

ahh, cool. thanks guys.

On 6/9/07, bill_sahlas <[EMAIL PROTECTED]> wrote:


  What if you were to create "ac" like this:

var ac:ArrayCollection = new ArrayCollection(myXML.menu as Array);

The way that I interpret the ArrayCollection (or XMLListCollection)
source property rule is that you must use the methods to modify
the "source" and don't rely on it's setter method (setting the
property directly as in ac.source = myXML.menu as Array;).

source
property


source:Array [read-write]

The source of data in the ArrayCollection. The ArrayCollection
object does not represent any changes that you make directly to the
source array. Always use the ICollectionView or IList methods to
modify the collection.

Let me know if that works.

--- In flexcoders@yahoogroups.com , "dorkie
dork from dorktown"
<[EMAIL PROTECTED]> wrote:
>
> Since the ArrayCollection can only accept an Array I think my
problem is how
> to convert an XMLList from an XML object into an Array.
>
> On 6/8/07, dorkie dork from dorktown <[EMAIL PROTECTED]>

> wrote:
> >
> > I cant successfully convert xml to a array collection. I don't
know what
> > I'm doing wrong. It works in MXML not AS3.
> >
> > Here is the result from a service call:
> >
> > public function resultHandler(event:ResultEvent):void {
> >
> > trace("result :" + event.result);
> > var myXML:XML = XML(event.result);
> > var ac:ArrayCollection = new ArrayCollection();
> > ac.source = myXML.menu as Array;
> > ac.refresh();
> > trace(ac.length);
> > linkBarNav.dataProvider = ac;
> >
> > }
> >
> >
> > TypeError: Error #1034: Type Coercion failed: cannot convert
> > [EMAIL PROTECTED] to Class.
> >
> > It works fine with this model :
> >
> > 
> > 
> >  > roleAction="hide">
> >  > link="/das/admin/udacControlMaint.faces" role="base"
roleAction="diable"/>
> >  > link="/das/admin/cmrlUsersMaint.faces" role="base"
roleAction="diable"/>
> >  > link="/das/admin/templateMaint.faces" role="base"
roleAction="diable"/>
> >  > link="/das/admin/questionMaint.faces" role="base"
roleAction="diable"/>
> > 
> > 
> >  > link="/das/work/workQueue.faces" role="base"
roleAction="diable"/>
> >  > link="/das/work/issuesQueue.faces" role="base"
roleAction="diable"/>
> >  > link="/das/work/nodes.faces" role="base" roleAction="diable"/>
> > 
> > 
> >  > link="/somelink" role="base" roleAction="diable"/>
> > 
> > 
> > 
> >
> >  > filterFunction="filterMenu"/>
> >
>

 



Re: [flexcoders] Re: Flash/Flex and EXE

2007-06-09 Thread André Rodrigues Pena

So I can access web resources via HTTPService in the Projector? that's fine!
=)

I think Apollo is an interesting technology but I'd be happier if Adobe had
provided us with an "Application Publisher" able to generate platform
specific binaries (Windows and MacOS) and inst./uninst. setups from existing
Flash/Flex applications.

I like the "Once Built Run Everywhere" philosophy but I still think my final
users, those who will download the application from my website, won't feel
comfortably with the Virtual Machine.

What do you guys think about it?



On 6/9/07, Doug Lowder <[EMAIL PROTECTED]> wrote:







Interesting... The projector exe I created from my Flex 1.5/AS2 app
 runs fine up until I try to access a feature that makes a remote
 object call, and then the calls never return.  I thought it was
 because Flex 1.5 required a server.  Is that a distinction between
 Flex 1.5 as opposed to just AS2?

 --- In flexcoders@yahoogroups.com, "Muzak" <[EMAIL PROTECTED]> wrote:
 >
 > >I know with AS2, the browser was required for remoting calls using
 > >HTTPService and the like
 >
 > That is not correct.
 > You can make remote calls/access resources on the web just fine
 from a standalone projector or an .exe created with a 3rd party
 > wrapper (like Zinc).
 >
 > regards,
 > Muzak
 >
 > - Original Message -

 > From: "Doug Lowder" <[EMAIL PROTECTED]>
 > To: 
 > Sent: Saturday, June 09, 2007 5:04 PM
 > Subject: [flexcoders] Re: Flash/Flex and EXE
 >
 >
 > I don't think the Projector approach will work for your case.  I
 know
 > with AS2, the browser was required for remoting calls using
 > HTTPService and the like, and I haven't heard of anything changing
 > with AS3.  It should be simple enough to test if you want to be
 > absolutely sure.
 >
 > --- In flexcoders@yahoogroups.com, "Andr Rodrigues Pena"
 >  wrote:
 > >
 > > Hi, thanks for your reply Doug and Brendan.
 > >
 > > what about the sandbox? I need to access resources in the web. Is
 it
 > > possible to build an EXE application capable of that? I know I can
 > do it
 > > with Apollo, but I'm thinking of a compiled approach
 > >
 > > On 6/8/07, Brendan Meutzner  wrote:
 > > >
 > > >   And then there are more powerful tools like Zinc :
 > > > http://www.multidmedia.com/software/zinc/
 > > >
 > > >
 > > > Brendan
 > > >
 > > >
 > > > On 6/8/07, Doug Lowder  wrote:
 > > > >
 > > > >   From the standalone Flash Player, you can select File-
 >Create
 > > > > Projector... to create a .exe.
 > > > >
 > > > > --- In flexcoders@yahoogroups.com  40yahoogroups.com>, "Andr
 > > > > Rodrigues Pena"
 > > > >  wrote:
 > > > > >
 > > > > > Hello all,
 > > > > > I remember that when I programmed in Flash 8/AS2 there was a
 > way I
 > > > > > could compile the movie into an EXE file.
 > > > > > My question is: Can I convert AS3 applications
 > (Flex/Flash/Apollo)
 > > > > > into an EXE file?
 > > > > > thanks
 > > > > >
 > > > > > --
 > > > > > Andr Rodrigues Pena
 > > > > >
 > > > > > LOCUS
 > > > > > www.locus.com.br
 >




 




--
André Rodrigues Pena

LOCUS
www.locus.com.br

Blog
www.techbreak.org


[flexcoders] new site for flex tips and gotchas: flextips.corank.com

2007-06-09 Thread Arpit Mathur
Not to spam everyone here, but I have started a new site to archive
tips for flex developers: http://flextips.corank.com.  As we get our
questions answered on this mailing list I would appreciate if we could
post the answers on a blog or something and link to it from that site.
This way other developers can check that site for solutions and not
have to go through the pain a second time.

If you dont have a blog, please email me and I will put up the tip on
my blog and link to it crediting you with the story of course.

thanks
arpit


Re: [flexcoders] DataGrid + Web Service

2007-06-09 Thread leds usop
for our case, we did the sorting at the back end -
overriding the default behavior of the datagrid
headers when they are clicked and then returning the
pagenated data after sorting. It really is - in
essence - changing the dataprovider of the datagrid
during both page requests and sorting requests.  This
however necessiated that we come up with a 'selection
manager' helper class to go with the component. What
this class does is just to remember which items had
been selected and reload/reselect those selections
when the user goes back to that page or in the case of
sorting, when an item in that selection manager is
encountered on a loaded page.  But if you are not
dealing with multiple selections then you can do away
with that helper class.

--- Ravindra Wankar <[EMAIL PROTECTED]> wrote:

> 
> I've created a DataGrid (with pagination) populated
> from a web service. 
> Since not all data is sent back, the Datagrid's sort
> function only sorts 
> within the results.  How do I add a hook that allows
> me to fetch sorted 
> data from the server? Also, is there a better
> out-of-the-box component 
> for doing pagination and this?
> 
> Thanks
> Ravi.
> 



   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


Re: [flexcoders] Making a flex app pretty

2007-06-09 Thread Arpit Mathur
Application.application.makeUgly = false;

lol...just kidding,

1) Use the style explorer as mentioned above to see what css styles
you can change (colors, cornerRadius, etc)

2) Import graphic elements from photoshop/flash and set them as skins
on the components

3) Use programmatic skins to create custom skins for your components

4) Use a skin developed by other people as a custom skin. There are a
few at scalenine.com



On 6/8/07, Joan Lafferty <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
>
>
> You can play with the Flex Style Explorer to mess with various styles on
> different components to see what you like. Then, copy the css that is
> generated to style your app.
>
>
>
> http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html
>
>
>
>  
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Michael Schmalle
>  Sent: Friday, June 08, 2007 12:54 PM
>  To: flexcoders@yahoogroups.com
>  Subject: Re: [flexcoders] Making a flex app pretty
>
>
>
>
>
>
> Imagination
>
>  Peace, Mike
>
>
> On 6/8/07, Christopher Olsen <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> What tool would one use to make a flex apps interface pretty?
>
>  -christopher
>
>
>
>
>  --
>  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] datagrid overlay while loading data

2007-06-09 Thread Derrick Anderson
how can i display an image sort of how adobe does on their exchange over a 
datagrid when data is loading from a remote object?  would like to show the 
little circle-thingy over the datagrid so it does not just look blank for a few 
seconds.  how do you guys do that?

(not just datagrids either, any visual object that is waiting for a response 
before it gets populated)

thanks in advance,
d.




   
Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/

Re: [flexcoders] Bring To Front

2007-06-09 Thread Arpit Mathur
// get the window on the highest depth:

var topChild:DisplayObject = getChildAt(this.numChildren-1)
this.swapChildren(theWindowIWantToBringToTop, topChild)



On 6/9/07, Matthew Dahl <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> I have a application I am creating that contains a few TitleWindows
>  that I have made draggable. Now I would like to make it so that when a
>  TitleWindow is clicked it is brought to the front. Does anyone know
>  how to achieve this. On one site they did Win.orderToFront(); but
>  orderToFront doesn't actually seem to be defined and no where in there
>  code did they define it. Thanks in advance,
>  Matt
>
>  


Re: [flexcoders] Re: Image scaling problem

2007-06-09 Thread Charles Galpin

On Jun 9, 2007, at 11:40 AM, esaltelli wrote:

> You hitting the max defaults of 1?

It appears to be lower than that. What max default are you referring  
to, and can it be increased?

I made a similar test in which I scaled the image directly and the  
image displays ok at 7680x4969 but then stops displaying it all when  
I zoom in one more to 7920x5124.

thanks,
charles

>
> --- In flexcoders@yahoogroups.com, Charles Galpin <[EMAIL PROTECTED]>  
> wrote:
>>
>> I have found that at some point while zooming in on an image
>> (scaling), the image mysteriously no longer displays portions of the
>> image, almost like it's getting truncated at the top left.
>>
>> To see this, load the sample below and zoom in. For this image it
>> happens a a zoom of 5.6. Scroll down and you'll see the top of the
>> image disappeared.
>>
>> Am I hitting another maximum limit? It appears to zoom in well past
>> 2880 pixels.
>>
>> What can I do to prevent this, or even detect when this will happen
>> so I can limit the zooming to the point before it will happen?
>>
>> tia
>> charles
>>
>> 
>> http://www.adobe.com/2006/mxml";
>> layout="absolute">
>>  
>>  
>>  
>>  > maximum="24" stepSize="0.2"/>
>>  
>>  
>>  http://lhsw.com/flex/
>> us_legal_8_5x11grid.png"
>>  scaleX="{zoom.value}" scaleY="{zoom.value}"/>
>>  
>> 
>>



[flexcoders] Re: Flash/Flex and EXE

2007-06-09 Thread Doug Lowder
Interesting... The projector exe I created from my Flex 1.5/AS2 app 
runs fine up until I try to access a feature that makes a remote 
object call, and then the calls never return.  I thought it was 
because Flex 1.5 required a server.  Is that a distinction between 
Flex 1.5 as opposed to just AS2?

--- In flexcoders@yahoogroups.com, "Muzak" <[EMAIL PROTECTED]> wrote:
>
> >I know with AS2, the browser was required for remoting calls using
> >HTTPService and the like
> 
> That is not correct.
> You can make remote calls/access resources on the web just fine 
from a standalone projector or an .exe created with a 3rd party 
> wrapper (like Zinc).
> 
> regards,
> Muzak
> 
> - Original Message - 
> From: "Doug Lowder" <[EMAIL PROTECTED]>
> To: 
> Sent: Saturday, June 09, 2007 5:04 PM
> Subject: [flexcoders] Re: Flash/Flex and EXE
> 
> 
> I don't think the Projector approach will work for your case.  I 
know
> with AS2, the browser was required for remoting calls using
> HTTPService and the like, and I haven't heard of anything changing
> with AS3.  It should be simple enough to test if you want to be
> absolutely sure.
> 
> --- In flexcoders@yahoogroups.com, "Andr Rodrigues Pena"
>  wrote:
> >
> > Hi, thanks for your reply Doug and Brendan.
> >
> > what about the sandbox? I need to access resources in the web. Is 
it
> > possible to build an EXE application capable of that? I know I can
> do it
> > with Apollo, but I'm thinking of a compiled approach
> >
> > On 6/8/07, Brendan Meutzner  wrote:
> > >
> > >   And then there are more powerful tools like Zinc :
> > > http://www.multidmedia.com/software/zinc/
> > >
> > >
> > > Brendan
> > >
> > >
> > > On 6/8/07, Doug Lowder  wrote:
> > > >
> > > >   From the standalone Flash Player, you can select File-
>Create
> > > > Projector... to create a .exe.
> > > >
> > > > --- In flexcoders@yahoogroups.com  40yahoogroups.com>, "Andr
> > > > Rodrigues Pena"
> > > >  wrote:
> > > > >
> > > > > Hello all,
> > > > > I remember that when I programmed in Flash 8/AS2 there was a
> way I
> > > > > could compile the movie into an EXE file.
> > > > > My question is: Can I convert AS3 applications
> (Flex/Flash/Apollo)
> > > > > into an EXE file?
> > > > > thanks
> > > > >
> > > > > --
> > > > > Andr Rodrigues Pena
> > > > >
> > > > > LOCUS
> > > > > www.locus.com.br
>




Re: [flexcoders] Re: Flash/Flex and EXE

2007-06-09 Thread Muzak
>I know with AS2, the browser was required for remoting calls using
>HTTPService and the like

That is not correct.
You can make remote calls/access resources on the web just fine from a 
standalone projector or an .exe created with a 3rd party 
wrapper (like Zinc).

regards,
Muzak

- Original Message - 
From: "Doug Lowder" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, June 09, 2007 5:04 PM
Subject: [flexcoders] Re: Flash/Flex and EXE


I don't think the Projector approach will work for your case.  I know
with AS2, the browser was required for remoting calls using
HTTPService and the like, and I haven't heard of anything changing
with AS3.  It should be simple enough to test if you want to be
absolutely sure.

--- In flexcoders@yahoogroups.com, "Andr Rodrigues Pena"
<[EMAIL PROTECTED]> wrote:
>
> Hi, thanks for your reply Doug and Brendan.
>
> what about the sandbox? I need to access resources in the web. Is it
> possible to build an EXE application capable of that? I know I can
do it
> with Apollo, but I'm thinking of a compiled approach
>
> On 6/8/07, Brendan Meutzner <[EMAIL PROTECTED]> wrote:
> >
> >   And then there are more powerful tools like Zinc :
> > http://www.multidmedia.com/software/zinc/
> >
> >
> > Brendan
> >
> >
> > On 6/8/07, Doug Lowder <[EMAIL PROTECTED]> wrote:
> > >
> > >   From the standalone Flash Player, you can select File->Create
> > > Projector... to create a .exe.
> > >
> > > --- In flexcoders@yahoogroups.com , "Andr
> > > Rodrigues Pena"
> > >  wrote:
> > > >
> > > > Hello all,
> > > > I remember that when I programmed in Flash 8/AS2 there was a
way I
> > > > could compile the movie into an EXE file.
> > > > My question is: Can I convert AS3 applications
(Flex/Flash/Apollo)
> > > > into an EXE file?
> > > > thanks
> > > >
> > > > --
> > > > Andr Rodrigues Pena
> > > >
> > > > LOCUS
> > > > www.locus.com.br







[flexcoders] Re: Image scaling problem

2007-06-09 Thread esaltelli
You hitting the max defaults of 1?

--- In flexcoders@yahoogroups.com, Charles Galpin <[EMAIL PROTECTED]> wrote:
>
> I have found that at some point while zooming in on an image  
> (scaling), the image mysteriously no longer displays portions of the  
> image, almost like it's getting truncated at the top left.
> 
> To see this, load the sample below and zoom in. For this image it  
> happens a a zoom of 5.6. Scroll down and you'll see the top of the  
> image disappeared.
> 
> Am I hitting another maximum limit? It appears to zoom in well past  
> 2880 pixels.
> 
> What can I do to prevent this, or even detect when this will happen  
> so I can limit the zooming to the point before it will happen?
> 
> tia
> charles
> 
> 
> http://www.adobe.com/2006/mxml";  
> layout="absolute">
>   
>   
>   
>maximum="24" stepSize="0.2"/>
>   
>   
>   http://lhsw.com/flex/ 
> us_legal_8_5x11grid.png"
>   scaleX="{zoom.value}" scaleY="{zoom.value}"/>
>   
> 
>




[flexcoders] Re: Flex 1.5 dispatchEvent and addEventListener question

2007-06-09 Thread Doug Lowder
Hi Dave,

Are you getting an error with the addEventListener() call, or are you 
just not able to detect the event? The call looks correct so I don't 
see why that wouldn't work.  Also, if you are creating your 
components in mxml with , you should be able to define 
the event handler in the declaration with 
eventThrown="myCompEventThrown(event.target)".  Maybe you could post 
some code illustrating the problem.

--- In flexcoders@yahoogroups.com, "Dave Turner" <[EMAIL PROTECTED]> wrote:
>
> Hello 
> 
> I am working on a 1.5 project and i have an mxml page that creates 
an
> Array of Components.  These Components are basically a Container 
that
> holds a few form elements. 
> 
> if one of these components dispatches an event how would i set up 
the
> parent page to listen for the dispatched event?
> 
> I have been able to successfully capture an event when i utilize the
> "id" attribute of the component but because its an array of objects 
in
> this case i cannot do that.  
> 
> for instance i cannot do this.. 
> thing.addEventListener("eventThrown", Delegate.create(this, 
onEvent));
> 
> Ive tried referencing the Repeater that generates the Array of 
Objects
> but that does not detect the event.. 
> 
> I know this wouldn't be a problem in 2.x but I am unable to get the
> parent to detect the thrown event in 1.5.
> 
> Any help with this matter would be greatly appreciated.
> 
> thanks, 
> Dave
>




[flexcoders] DataGrid + Web Service

2007-06-09 Thread Ravindra Wankar

I've created a DataGrid (with pagination) populated from a web service. 
Since not all data is sent back, the Datagrid's sort function only sorts 
within the results.  How do I add a hook that allows me to fetch sorted 
data from the server? Also, is there a better out-of-the-box component 
for doing pagination and this?

Thanks
Ravi.


[flexcoders] Re: Flash/Flex and EXE

2007-06-09 Thread Doug Lowder
I don't think the Projector approach will work for your case.  I know 
with AS2, the browser was required for remoting calls using 
HTTPService and the like, and I haven't heard of anything changing 
with AS3.  It should be simple enough to test if you want to be 
absolutely sure.

--- In flexcoders@yahoogroups.com, "André Rodrigues Pena" 
<[EMAIL PROTECTED]> wrote:
>
> Hi, thanks for your reply Doug and Brendan.
> 
> what about the sandbox? I need to access resources in the web. Is it
> possible to build an EXE application capable of that? I know I can 
do it
> with Apollo, but I'm thinking of a compiled approach
> 
> On 6/8/07, Brendan Meutzner <[EMAIL PROTECTED]> wrote:
> >
> >   And then there are more powerful tools like Zinc :
> > http://www.multidmedia.com/software/zinc/
> >
> >
> > Brendan
> >
> >
> > On 6/8/07, Doug Lowder <[EMAIL PROTECTED]> wrote:
> > >
> > >   From the standalone Flash Player, you can select File->Create
> > > Projector... to create a .exe.
> > >
> > > --- In flexcoders@yahoogroups.com , "André
> > > Rodrigues Pena"
> > >  wrote:
> > > >
> > > > Hello all,
> > > > I remember that when I programmed in Flash 8/AS2 there was a 
way I
> > > > could compile the movie into an EXE file.
> > > > My question is: Can I convert AS3 applications 
(Flex/Flash/Apollo)
> > > > into an EXE file?
> > > > thanks
> > > >
> > > > --
> > > > André Rodrigues Pena
> > > >
> > > > LOCUS
> > > > www.locus.com.br
> > > >
> > >
> > >
> >
> >
> > --
> > Brendan Meutzner
> > Stretch Media - RIA Adobe Flex Development
> > [EMAIL PROTECTED]
> > http://www.stretchmedia.ca
> >  
> >
> 
> 
> 
> -- 
> André Rodrigues Pena
> 
> LOCUS
> www.locus.com.br
> 
> Blog
> www.techbreak.org
>




[flexcoders] Copy and Paste via right click

2007-06-09 Thread boy_trike
I have this requirement from a customer.  Does anyone have an example of using 
the context 
menu for copy and paste?

Thanks
Bruce



[flexcoders] Error when switching Modules SetFocus Handler

2007-06-09 Thread boy_trike
I have an application that loads a module.  Everything works FINE until I 
switch to a new 
module, then back to the original module and try to run a component.  I get the 
following:

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
at 
mx.core::Container$/http://www.adobe.com/2006/flex/mx/internal::checkFocus()
at mx.core::UIComponent/mx.core:UIComponent::focusInHandler()
at mx.controls::TextInput/mx.controls:TextInput::focusInHandler()
at flash.display::Stage/set focus()
at mx.core::UITextField/setFocus()
at mx.controls::TextInput/setFocus()
at components::CustSearchForm/clearSearchObject()
at components::CustSearchForm/::doClearSearch()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
()
at flash.events::EventDispatcher/dispatchEvent()
at Sales/::handleViewStackChange()
at Sales/__myViewStack_change()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
()

This is caused by a textfield.setfocus(). 

Any Suggestions?

Bruce





Re: [flexcoders] Duplicating a component

2007-06-09 Thread Jurgen Beck

Can you post your code?

Jurgen

Robs wrote:


Hi all,
I have a component having 3 combos & 2 buttons 'Add' & 'Delete'. I
have a scenario wherein the moment I click on 'Add', the entire
component should be duplicated. Currently, on using 'addChild', I'm
getting an index bound error.
Can someone help me please?

Thanks,
Robi.

 


[flexcoders] Duplicating a component

2007-06-09 Thread Robs
Hi all,
   I have a component having 3 combos & 2 buttons 'Add' & 'Delete'. I 
have a scenario wherein the moment I click on 'Add', the entire 
component should be duplicated. Currently, on using 'addChild', I'm 
getting an index bound error.
   Can someone help me please?

Thanks,
Robi.



RE: [flexcoders] "http://www.adobe.com/2006/mxml" is down!!

2007-06-09 Thread Peter Farland
It's just an arbitrary URI that qualifies the MXML namespace, it does
not have to represent a valid URL.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of gambit_755
Sent: Friday, June 08, 2007 12:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] "http://www.adobe.com/2006/mxml"; is down!!



What the heck all flex apps are downhttp://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml>  
is missing.

how can we prevent this is the future



 


[flexcoders] Input Language on Mac

2007-06-09 Thread jomyoot
Using a Flex app on a Mac, I am unable to switch my input language.

However, using the same Flex app on Windows XP, I am able to switch my input 
language (by 
pressing ~ which is typical for any program).

I am testing this on a Flex app I wrote, and also the Flex app at this link:

http://www.scalenine.com/themes/messenger/messenger.html

Is there a work around that would allow me to enter text in other language on a 
Mac?




Re: [flexcoders]Can't convert XML to ArrayCollection in AS3

2007-06-09 Thread bill_sahlas
What if you were to create "ac" like this:

var ac:ArrayCollection = new ArrayCollection(myXML.menu as Array);


The way that I interpret the ArrayCollection (or XMLListCollection) 
source property rule is that you must use the methods to modify 
the "source" and don't rely on it's setter method (setting the 
property directly as in ac.source = myXML.menu as Array;).

source
  property
 

source:Array  [read-write] 

The source of data in the ArrayCollection. The ArrayCollection 
object does not represent any changes that you make directly to the 
source array. Always use the ICollectionView or IList methods to 
modify the collection. 

Let me know if that works.


--- In flexcoders@yahoogroups.com, "dorkie dork from dorktown" 
<[EMAIL PROTECTED]> wrote:
>
> Since the ArrayCollection can only accept an Array I think my 
problem is how
> to convert an XMLList from an XML object into an Array.
> 
> On 6/8/07, dorkie dork from dorktown <[EMAIL PROTECTED]>
> wrote:
> >
> > I cant successfully convert xml to a array collection. I don't 
know what
> > I'm doing wrong. It works in MXML not AS3.
> >
> > Here is the result from a service call:
> >
> > public function resultHandler(event:ResultEvent):void {
> >
> > trace("result :" + event.result);
> > var myXML:XML = XML(event.result);
> > var ac:ArrayCollection = new ArrayCollection();
> > ac.source = myXML.menu as Array;
> > ac.refresh();
> > trace(ac.length);
> > linkBarNav.dataProvider = ac;
> >
> > }
> >
> >
> > TypeError: Error #1034: Type Coercion failed: cannot convert
> > [EMAIL PROTECTED] to Class.
> >
> > It works fine with this model :
> >
> > 
> > 
> >  > roleAction="hide">
> >  > link="/das/admin/udacControlMaint.faces" role="base" 
roleAction="diable"/>
> >  > link="/das/admin/cmrlUsersMaint.faces" role="base" 
roleAction="diable"/>
> >  > link="/das/admin/templateMaint.faces" role="base" 
roleAction="diable"/>
> >  > link="/das/admin/questionMaint.faces" role="base" 
roleAction="diable"/>
> > 
> > 
> >  > link="/das/work/workQueue.faces" role="base" 
roleAction="diable"/>
> >  > link="/das/work/issuesQueue.faces" role="base" 
roleAction="diable"/>
> >  > link="/das/work/nodes.faces" role="base" roleAction="diable"/>
> > 
> > 
> >  > link="/somelink" role="base" roleAction="diable"/>
> > 
> > 
> > 
> >
> >  > filterFunction="filterMenu"/>
> >
>




[flexcoders] Bring To Front

2007-06-09 Thread Matthew Dahl
I have a application I am creating that contains a few TitleWindows
that I have made draggable. Now I would like to make it so that when a
TitleWindow is clicked it is brought to the front. Does anyone know
how to achieve this. On one site they did Win.orderToFront(); but
orderToFront doesn't actually seem to be defined and no where in there
code did they define it. Thanks in advance,
Matt



Re: [flexcoders] How to create "Repeater" in Actionscript only?

2007-06-09 Thread arpan srivastava
Hi Tom,

How can convert this code in actionscript?




 


- Original Message 
From: Tom Chiverton <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, June 8, 2007 7:55:53 PM
Subject: Re: [flexcoders] How to create "Repeater" in Actionscript only?

On Friday 08 Jun 2007, arpan srivastava wrote:
> Is there anyway i can use Repeater in actionscript

You can create all MXML components from AS.
var obj:Repeater=new Repeater();

-- 
Tom Chiverton
Helping to economically transform corporate content
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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










   

Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

Re: [flexcoders] "http://www.adobe.com/2006/mxml" is down!!

2007-06-09 Thread Hilary Bridel

Is it April 1st?

On 6/9/07, gambit_755 <[EMAIL PROTECTED]> wrote:


  What the heck all flex apps are downhttp://www.adobe.com/2006/mxml
is missing.

how can we prevent this is the future







--
Hilary

--


Re: [flexcoders] Re: Flex System Calls Question

2007-06-09 Thread Jerome Clarke

I would recommend looking into http://www.multidmedia.com/ ( MDM Zinc )

On 6/9/07, driverdude <[EMAIL PROTECTED]> wrote:


  --- In flexcoders@yahoogroups.com ,
"mswallacecoder"

<[EMAIL PROTECTED]> wrote:
>
> I have a friend that would posed a question on another user group
that
> I am on and was wondering if any of you might have a solution.
>
> Here is the questions that was posed.
>
> "hey all... i have a question that i've been trying to find an
answer
> to, and figured that maybe there would be an off chance that there
> would be someone here who would have an answer. i've been in the
> process of building a client / server application that uses some
> system calls for things like keyboard / mouse detection and file
> system change detection... and it's built in C++ using TrollTech's
Qt
> cross platform application development environment... (basically a
set
> of cross platform gui tools). http://trolltech.com/
>
> anyhow... the web interface for this project is using flex with
> ColdFusion, and we wanted to take advantage of the cross platform
> capabilities within Apollo using Flex for the client instead of the
> proof of concept using Qt and C++.
>
> the problem is, i have not come across anything within AS3 that will
> allow me to make calls to the system for the things that i need, and
> it does not seem that i can extend existing components written
in .NET
> or make API calls to the OS at all. it seems that Apollo will give
me
> access to the file system, but only on a read / write basis... and
> this is too high a level for what i'm needing the application to do.
>
> so... i guess that my question is... has anyone had any experience
> with making OS level system calls to MAC or Windows using AS3? "
>
> thanks,
> -Matthew
>

You need to take a look at SWFKit... http://www.swfkit.com . I
believe you're out of luck with Apollo and Flex calling into the OS
that way.

 



Re: [flexcoders] Flex "Reflection"

2007-06-09 Thread Christophe Herreman
Hi André,

I have been working on a Reflection API for ActionScript 3 as part of 
the Prana project.
You can find info at http://www.herrodius.com/blog/?p=68
A download link is also provided.

regards,
Christophe

André Rodrigues Pena wrote:
>
> Hi all,
> I'm wondering if Flex has some mechanism for dynamically calling
> methods and setting properties. I mean, I don't know the name of the
> method or the property at compile time. Something like Java
> Reflection.
>
> Thanks
>
> -- 
> André Rodrigues Pena
>
> LOCUS
> www.locus.com.br
>
>  


[flexcoders] CONVERSION: Flex Form into PDF

2007-06-09 Thread Pay Hub
Hi Guys,

Is there any way to convert Flex-built application form into PDF, on
user submission.

Looking forward your assistance.

Abdul Hadhi


Re: [flexcoders] HELP! Multi-language Application in Flex

2007-06-09 Thread Pay Hub
Thanks Gordan

Hi Guys,

Is there any way to convert Flex-built application form into PDF, on
user submission.

Looking forward your assistance.

Abdul Hadhi