[flexcoders] Re: Simple way to do "Please wait..." type window

2006-08-02 Thread bhaq1972
> happening all the time. Is there a way to switch the 'blurring' 
off?
> 

if you want to play with the amount of blurring in the background 
for a modal popup, you have to set 'modalTransparencyBlur' style

eg
 (default is 3)



--- In flexcoders@yahoogroups.com, "Franck de Bruijn" 
<[EMAIL PROTECTED]> wrote:
>
> Asynchronous event driven architecture are a nice thing, however 
In a GUI
> you sometimes just *have* to wait before things come back, 
otherwise your
> system becomes instable.
> 
>  
> 
> For example, let's say I'm doing an expensive search (takes a 
couple of
> seconds). The result needs to be placed into a datagrid or 
something like
> that. If I can close the window in which the datagrid is hosted 
within the
> 'waiting' period, the datagrid will be gone. Once the result of 
the search
> comes back it will not find the datagrid anymore, and highly 
likely an error
> will be the result.
> 
>  
> 
> I used the TitleWindow approach myself, but I did not like 
the 'blurring'
> happening all the time. Is there a way to switch the 'blurring' 
off?
> 
>  
> 
> Cheers,
> 
> Franck
> 
>  
> 
>   _  
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Paul Andrews
> Sent: Tuesday, August 01, 2006 5:07 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Re: Simple way to do "Please wait..." 
type window
> 
>  
> 
> - Original Message - 
> From: "JesterXL" <[EMAIL PROTECTED] 
> n.com>
> To: <[EMAIL PROTECTED]  
ups.com>
> Sent: Tuesday, August 01, 2006 2:26 AM
> Subject: Re: [flexcoders] Re: Simple way to do "Please wait..." 
type window
> 
> > One way I did it was making a Singleton class that popups up a 
small
> > TitleWindow. This TitleWindow has a ProgressBar in it. The 
ProgressBar's
> > indeterminate is bound to the visibility (you don't want it 
playing while
> > the window is invisible; takes up resources). You can then do:
> >
> > WaitWindow.showProgress("Loading...");
> >
> > Inside, it'll create a popup if none exists, and put the text in 
there.
> > It's modal by default. You can then later go:
> >
> > WaitWindow.remove();
> >
> > And if one exists, it'll remove it. Subsequent calls to 
showProgress 
> > merely
> > update the text. You can use this for changed commands.
> 
> Are modal windows really a good way to go with this? It seems to 
me to be a 
> step backward when you are stopping the user from doing anything 
whilst data
> 
> is loading. What happens if the load is particularly slow, fails, 
or was 
> accidentally initiated and the user changes their mind?
> 
> Seems to me that modal progress windows just go completely against 
the idea 
> of an asynchronous event driven architecture.
> 
> Paul
> 
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.
> 
> yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-
> 
> archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>






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

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

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

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




[flexcoders] newbie: what do i need here?

2006-08-02 Thread Paul Hastings
i have an image with a collar of info about that image. i'd like the user to be 
able to click on the displayed info & show a dialog (with Hslider, comboBox, 
etc 
controls) that they can use to change the image. what would be the best 
practice 
for this? mx:state? popup? titleWindow? or customized popup?

thanks.


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

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

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

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





Re: [Junk E-Mail - LOW] RE: [Junk E-Mail - LOW] Re: [flexcoders] rotation on ?

2006-08-02 Thread Tom Chiverton
On Tuesday 01 August 2006 18:31, Shannon Hicks wrote:
> Oops... Now y'all can view the source.

Can you make a smaller test case ?

-- 
Tom Chiverton



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

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

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

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





[flexcoders] Re: Tile Vertical Scroll

2006-08-02 Thread Rich Tretola
Anyone else has an issue with a Tile component not grabbing enough
height space and always adding a vertical scroll bar?

Rich

On 8/1/06, Rich Tretola <[EMAIL PROTECTED]> wrote:
> I have a Tile and a Repeater within that loads 3 items by default,
> when changing the dataprovider for the repeater, it refreshes to show
> 10 items in the new dataset however I can't keep the Tile component
> from adding a vertical scroll bar.  All components have their height
> poperties set to 100% including the Tile.  I have also tried to
> without setting any height properties but still get part of the data
> off screen so the scroll barts always show.  Any ideas?
>
> Rich
>


-- 
Rich Tretola

http://www.EverythingFlex.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

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

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

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




[flexcoders] again - DataGrid rows and wows

2006-08-02 Thread Matti Bar-Zeev










Hi
list,

Can
someone please tell me if the mess that scrolling a datagrid produces is a
known bug or just me doing something wrong?

What
I mean by "mess"? I mean that the top row goes to the bottom; the
bottom row goes to the top only to prevent rendering non-viewable rows. This causes
my cell renderers to lose touch with their initial place and state… and what
not.

 

Thnx.

 




 
  
   
  
 
 
  
   
  
 
 
  
   
  
 




 





__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





Re: [flexcoders] Re: Simple way to do "Please wait..." type window

2006-08-02 Thread Rick Root
Tim Hoff wrote:
> 
> 
> If you want, go ahead and post what your code currently looks like,
> and we'll get you fixed up. It's probably just a minor syntax issue.

tim, you can view the code here... I won't paste it in because that 
kinda stuff never shows up well in mailing lists =)

https://www.it.dev.duke.edu/temp/test.txt

It's really a very simple app.  When I put in the popup code, I get the 
following errors, both on the "popUpParent = mainPanel;" line:

SeverityDescription ResourceIn Folder   Location
Creation Time   Id
2   1120: Access of undefined property mainPanel.   DukeMagSearch_ro.mxml 
DukeMagSearch_roline 22 August 2, 2006 8:01:31 AM   148
2   1120: Access of undefined property popUpParent. 
DukeMagSearch_ro.mxml   DukeMagSearch_roline 22 August 2, 2006 8:01:31 
AM   147

If I comment out the lines relating the popup,everything works just fine.

Rick


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

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

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

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





[flexcoders] Flex, remoting, and dev/production environments

2006-08-02 Thread Rick Root
When building a flex app that uses remoting with coldfusion... if I'm 
building on my local machine and get it all working using my local 
coldfusion server, can I just copy the files to the production server, 
assuming the mappings and everything are set up the same?

Or does remoting rely on the build process to know which server to go 
to?  In that case I'd have to rebuild the swf with the production 
servers services-config.xml file, right?

Thanks.

Rick


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

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

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

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




[flexcoders] Error 1119

2006-08-02 Thread Stefano



Hi everybody, I have this code...                                                                                                                                                                                                                                 but as I compile my app, an error occurs:1119: Access of possibly undefined property result through a reference with static type mx.rpc.http.mxml:HTTPService.but I can't understand why. Could you please help me out? Thank you. 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Australian company simultaneously releases two Flex 2 products ...

2006-08-02 Thread Alistair Campion



I wanted to bring to your attention the work that is occuring in Australia with the release of two new products for the Flex 2 platform.
Both products shipped this week and are already in widespread use in over 25 countries. gofreeSMS is a free TXT messaging client that enables consumers to send free TXT messages in over 180 countries. The gofreeSMS business model is based on 'ad sponsored SMS' and integrates TXT tags, realtime video streaming and banner ads in a single client application. MobiMedia is our associated campaign manager that allows advertisers to control the delivery of their media content. They can start, stop, or pause campaigns in realtime, control day-parting, and use powerful data mining options to selectively deliver campaigns based on demongraphics within the gofreeSMS Community Network. We believe that these products represent a best-in-class example of what can be developed using Flex 2.  Both products also demonstrate the scalability of Flex 2 across a global consumer audience.Product details and a summary of features and benefits can be found at: www.mobimarketing.com/downloads/gofreesmsoverview.ppt www.mobimarketing.com/downloads/mobimedia.pdf To use the product, just click on the large blue arrow at the link below: www.gofreesms.com
Enjoy!Alistair CampionThe gofreeSMS Team[EMAIL PROTECTED]

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Adding AS3 support to 3rd party editors - legal question

2006-08-02 Thread ben.clinkinbeard
Anyone? Is there a different place I should be asking this?

Thanks,
Ben

--- In flexcoders@yahoogroups.com, "ben.clinkinbeard"
<[EMAIL PROTECTED]> wrote:
>
> Dear Adobe,
> 
> I was recently having a discussion about adding AS3 support (code
> completion, type checking, etc) to a 3rd party editor and a
> legal/copyright/license question came up that I am hoping to get a
> definitive answer to. The question is basically whether or not its ok
> to create files required by the editor by scraping the language ref
> pages available on LiveDocs.
> 
> It seems to me that this would be fine since (a) the pages are freely
> available to the public and (b) the SDK was released for free to
> encourage adoption and things like code completion are more or less
> requirements for an editor to be considered a legitimate development
> environment.
> 
> Is my thinking correct?
> 
> Thanks,
> Ben
> http://www.returnundefined.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

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

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

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





[flexcoders] Flex 2 and the Browser

2006-08-02 Thread Rick Root
Two questions.

#1 - Can a Flex 2 app know the URL of the browser window it is currently 
loaded into?

#2 - Can Flex 2 access URL parameters of the current browser window?

googling didn't help me much :(

Rick


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

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

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

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




[flexcoders] Cairngorm: Front Controller

2006-08-02 Thread christophers1228
Hello,
Another cairngorm question.  I've noticed that using other frameworks
like rails, that it's common to make one model, view and controller
per table in a database.  Using cairngorm I've always made just one
controller with alot of actions registered with it. Probably know as a
fat controller.  Is it a good idea to break the one controller down
into serveral controllers?  It seems like it would be more reuseable.
 I learned cairngorm from the flex store example (flex 1.5) and
several others.  But it seems like the examples always are very simple
and have only one table in the db.  
Is there a best practice? Why would you do it one way or the other?

Thanks in advance,
Chris





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

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

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

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




RE: [flexcoders] Chart multiple vertical axis

2006-08-02 Thread Karl Johnson





You may be able to accomplish what you want to do by 
overlaying multiple chart components on top of each other, with transparent 
backgrounds. Not sure I can exactly picture what you want the chart to look 
like, but it would be easy to align multiple charts on top of each other and 
then you can just set the dataproviders of each chart independently. You could 
be clever and create a custom component that could then generate X chart 
components within a canvas depending on properties set on your customer 
component. There would be some pretty clever ways to make it slick and very 
reusable. But I might be off base with what you are trying to do. If so, let me 
know.
 
Karl 
 
Cynergy Systems, Inc.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of dkhvostSent: 
Tuesday, August 01, 2006 11:27 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Chart multiple 
vertical axis


Hi,Has anyone tried to develop a component that extends 
theCartesianChart and has the ablity to show multiple vertical axis. 
Theidea is to display for example multiple dataseries with 
differentunits. I am thinking of undertaking this task and understand that 
itinvolves multiple datatransforms, etc... If anyone has an ideas 
orsugestions please let me know.e.g.LineChart--Temperature 'F 
(range 60 - 90 )--Humidity % (range 0 - 100)--Outside Temperature (range 
40 - 120)
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Currently encountering a problem indigineous to the ie6 browser only

2006-08-02 Thread sp0rarb3jd3r
Currently encountering a problem indigineous to the ie6 browser only

We are using flex 2 to develop a survey chart of various web traffic
parameters.
To do so we need to load XML served to the flashapp on request by an
sql-server.
When we try it out in the firefox browser, the opera browser, even in
the internet explorer 7.0,
it works fine. But in internet explorer 6.0 we seem to hit a wall.
Every time we try and run it we get an IOStreamError #2032.
Anyone experiencing similar problems?
Anyone know of a solution/an explanation?
It seems to be in the communication with the server that somethin is
amiss.
If we try to just load a static xml file it works fine.
Any help would be appreciated.
Here's the sample code:

private var inhale:XML = new XML();
private var rq:URLRequest = new URLRequest();
private var ld:URLLoader = new URLLoader();

public function init():void{
if(Application.application.parameters.xml==null){
rq.url="ychartdata.xml";
 }
 else {
  
rq.url="/../.."+Application.application.parameters.xml+"¶meter2="+Application.application.parameters.parameter2;
  
base+=Application.application.parameters.xml+"¶meter2="+Application.application.parameters.parameter2;
 }
 ld.addEventListener("ioError", errorHandler);
 ld.addEventListener(Event.COMPLETE, parPlex);

try {
  ld.load(rq);
}

catch(e:IOError){
trace("IOerror");
}
}


public function errorHandler(e:IOErrorEvent):void{
Alert.show(e.type+":"+e.text);
}

public function parPlex(whatever:Event):void {
parX();
}

public function parX():void {   
inhale = XML(ld.data);  
//dothestuff
}   

Sincerely

Sporarbejder






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

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

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

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





Re: [flexcoders] Re: Adding AS3 support to 3rd party editors - legal question

2006-08-02 Thread Rick Root
ben.clinkinbeard wrote:
> 
> Anyone? Is there a different place I should be asking this?

Given that this isn't an Adobe sponsored list, and I doubt even the 
adobe people on this list are willing to answer legal questions.. 
probably not :)  But you can always hope for an answer.

Otherwise, a phone call to Adobe's legal department might yield better 
results.

Maybe someone will release a tag library for homesite.  hah :)

Rick


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

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

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

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





[flexcoders] Scrolling drawing API content?

2006-08-02 Thread wayne_badu_johnson
Hi
I am having trouble when adding dynamic graphics content to a 
container in getting the container to scroll this content.

So in a nutshell, I have some AS adding graphics/lineTo content to a 
sprite class and then adding that as a child to a UIComponent, then 
adding to a mxml declared container (tried variations Panel, HBox, 
Canvas etc). The lines are being drawn however as the drawn conent 
is larger than the visible container are I would have thought the 
scrollbars for the target container to kick in. Hope this makes some 
sense.

Sample:

http://www.adobe.com/2006/mxml"; 
layout="absolute" creationComplete="initApp()">
 








Any help appreciated
Cheers
Wayne







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

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

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

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





[flexcoders] row object

2006-08-02 Thread Joan Garnet
Hi list,
I've got a DataGrid and what I want to do is disable some rows so the 
user can't interact with it in any way (on click or on mouse over/out)

I'm trying to set properties in a DataGrid row, but I don't find a "row" 
class anywhere.
What I've done so far is access the itemRenderer object, but it only 
sets enabled=false the first cell in the row.

-- code ---
var someItemReference:Object = my_datagrid.selectedItem;
var itemRenderer:IListItemRenderer = 
my_datagrid.itemToItemRenderer(someItemReference);
itemRenderer.enabled = false;
-- end code ---

Any suggestions?
Cheers!



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

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

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

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




[flexcoders] Populating Tree from XML thru HTTPService - agony

2006-08-02 Thread John Mazzocchi
Man, I've spent hours on this ... and the documentation seems no help.

I'm trying to populate a Tree from the following XML file:






















can anyone explain why the following code works (pretty much):






while the following does *not*:



also using:

result="firstList.dataProvider=treeModel.lastResult.*" 

in the HTTPService doesn't help, instead of the decalring the dataProvider in 
the Tree doesn't seem to change anything.

In fact, I'm kinda fuzzy about the whole lastResult / event.result methods 
anyway ... any pointers here? Or best practices?

Is using URLLoader instead an option?

Thanks
John




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

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

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

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




[flexcoders] Re: Cairngorm: Managing Application State

2006-08-02 Thread christophers1228
Thanks for the input.  Maybe I've been misunderstanding the way to use
them from the beginning. ( very possible )

Let me give a better example, to make sure i'm not way out in left field.

This is a typical way I manage the state.


  
  
  


Model:
 public static var workflowState:Number = 0;
 public static var VIEWING_SOMETHING:Number = 0;
 public static var VIEWING_SOMETHING_ELSE:Number = 1;
 public static var VIEWING_ANOTHER_THING:Number = 2;

Inside of a view:
 

it seems like this should accomplish the same thing:

  

   

  
  

   

  
  

 

  


Inside of a view:


I have noticed in messing around with it, that maybe you could bind
the current state to the model and change from a number to a string.

sorry for the long post, just trying to learn something :)

Thanks, 
Chris


--- In flexcoders@yahoogroups.com, "Renaun Erickson" <[EMAIL PROTECTED]> wrote:
>
> The states as used in Cairngorm will not correlate with the
>  in Flex 2.  The serve different purposes.  Well let me
> step back and say, this is how I feel about it.
> 
> Flex 2 states are good for view/control states where Cairngorm
> workflow states are just that work/process flow.  
> 
> Thats not to say you can't have an attribute on the Cairngorm model to
> facilitate something you are trying to do with 
> 
> Renaun
> 
> --- In flexcoders@yahoogroups.com, "christophers1228"
>  wrote:
> >
> > Hello,
> > I've been using cairngorm for about a year now (flex 1.5) and I just
> > started some projects using flex 2. (I have to admit I've been using
> > and still trying to understand at the same time :) )
> > I was just wondering, how do the new view states in flex2 fit in with
> > managing the state in the model.
> > 
> > i.e.  ModelLocator.workflowState = ModelLocator.VIEWING_SOMETHING;
> >  vs. 
> > 
> > 
> > 
> > I just got to the point were I was pretty comfortable with the flow of
> > cairngorm (it's taught me alot about architecture) I'm just wondering
> > how to fit some of the new features of flex2 in.
> > 
> > Any ideas?
> >
>







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

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

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

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




Re: [flexcoders] F2.0 final - Possbile bug with PopUpButton and PopUpMenuButton

2006-08-02 Thread Brendan Meutzner



Having the same issues as well... Bump!On 7/26/06, Clint Modien <[EMAIL PROTECTED]> wrote:













  



I'm noticing this behavior as well... (No. 2) but in PopUpButton.Has this bug been filed?  Is there a workaround?
On 7/3/06, 
sinatosk <[EMAIL PROTECTED]> wrote:














  



thanks that worked ;)ok thats the PopUpButton partially fixed... now for PopUpMenuButtonI'm gonna rephrase the PopUpMenuButton problem I mentioned above...
When I first open the menu... I'm accessing the root menu... When I hover over one of those items for the time then move my mouse over another item in root menu ( not sub menus ). The menu closes on it's own. If I redo all of this again but this time I go into sub menus and then hover over the parent or root menu of the sub menu I just entered into... the menu also closes on it's own.
There hope that is explained better :pOn 03/07/06, Benoit Hediard <

[EMAIL PROTECTED]> wrote:













  






I've also encountered this issue (event dispatched 
twice).
 
Here is a workaround :
private function itemClickHandler(event:MenuEvent):void 
{
    if (event.index != -1) { // Workaround 
to ignore the second event
    
...
    }
}
 
Benoit Hediard


De : flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com] De la part de 
sinatoskEnvoyé : dimanche 2 juillet 2006 
21:41À : flexcoders@yahoogroups.comObjet :
 
[flexcoders] F2.0 final - Possbile bug with PopUpButton and 
PopUpMenuButton
4 days after the release I come to update my Flex Application from 
Beta 3 to Final and the 2 main components I used seem to be bugged. not very 
good at explaining things to bare with me please :pPopUpButton   
 - Every time I select an item... 
the "itemClick" event gets dispatched twice. it just pops with with 2 Alert 
dialogs every time I select an 
itemPopUpMenButton    - When I put my mouse over 
an item for the first time works fine... but soon as I hover over another 
menu item in the main level... the menu closes automatically and also if I Hover 
over an item that is a sub menu I can keep going in and in until there are 
no more children... or I could just go in once... and then soon as I hover over 
another item... again the menu just closes. Both times this is without click on 
any items in the menu I've posted the code belowFlex code 
being:http://www.adobe.com/2006/mxml " 
layout="absolute">    
    
    
        paddingTop="10" 
paddingBottom="10" paddingRight="10" paddingLeft="10" x="10" y="10" height="187" 
width="411">        
text="Button label contains the name of the last selected menu item." 
/>     
    
            
        
    
    
    
                     
    
 
    
 
    
    
    
    
         
    
     
         
        paddingTop="10" paddingLeft="10" 
paddingRight="10" x="10" y="205" height="143" width="271"> 
        
text="Click the down arrow to open the 
menu."/>    
    
dataProvider="{treeDP2}" 
    
labelField="@label"    
itemClick="itemClickHandler2(event);"/>    
Flex code end;Is it 
possible these are bugs? I've tested this with flash player 9.0.15.0 ( with debug ) and 


9.0.16.0 ( without debug ) 

  















  














  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Calling DashboardIteration1 WebService - Explicit vs Binding

2006-08-02 Thread ddanone2
Hi Darren, i havent worked with WebServices and Cairngorm so sorry,
but cant help you.




--- In flexcoders@yahoogroups.com, "Darren Houle" <[EMAIL PROTECTED]> wrote:
>
> I've been messing with the DashboardIteration1 Cairngorm example
from Alex 
> Uhlmann's blog and I have a question about the delegate/webservice
piece.
> 
> The example's source code was missing any real web service code (and
the 
> delegate was missing the code that calls a web service) so I've
added all 
> that in myself.  I wanted the example to actually call a remote
service that 
> generated a rand() instead of generating the rand() in the delegate.
> 
> That works fine, however, while testing I hard-coded the symbol name
into 
> the  but... when I changed:
> 
> 
>   
>   ADBE
>   
> 
> 
> to
> 
> 
>   
>   {symbol}
>   
> 
> 
> it didn't work (but... I didn't really expect it to)
> 
> The delegate is calling the service like this:
> 
> var token : AsyncToken = service.getQuoteForSymbol(symbol);
> 
> but how do I reference that "symbol" var in the ?
> 
> There are tons of examples in the documentation that show how to use
binding 
> in the request, but only one example of passing a var
"explicitly"... but 
> the code in that example is different enough from Cairngorm that I
can't 
> seem to figure out how to make it work.
> 
> Any examples out there I missed?  Or maybe a flexcoders thread that 
> mentioned this?  I've looked but can't find anything.
> 
> Thanks!!
> Darren
>









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

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

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

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





[flexcoders] Flex Builder Upgrade?

2006-08-02 Thread dinger0007
I searched for upgrades to my Flex Builder and see that there is an
upgrade to eclipse. Do I ever need to worry about the upgrade not
being compatable with the flex plugin portion?








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

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

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

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




Re: [flexcoders] A doozie of a grid problem.

2006-08-02 Thread Tom Chiverton
On Wednesday 02 August 2006 00:20, Jeremy Rottman wrote:
> only the parties labeled as agent should get a numeric steppe

 the stepper should be populated with the value returned from my cfc

.
value="{data.percent}"
.
-- 
Tom Chiverton



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

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

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

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




Re: [flexcoders] Flex Builder Upgrade?

2006-08-02 Thread Rick Root
dinger0007 wrote:
> 
> I searched for upgrades to my Flex Builder and see that there is an
> upgrade to eclipse. Do I ever need to worry about the upgrade not
> being compatable with the flex plugin portion?

I believe the Flex Builder 2 plugin *ONLY* works with CFEclipse 3.1 - 
NOT 3.2 - unless Adobe has released an updated plugin since June 27.

Rick


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

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

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

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





[flexcoders] FlexCoders woes

2006-08-02 Thread slangeberg



Everyone,I have the solution for your flexcoders problems (too many emails).In Gmail, go to Settings -> Filters -> Create New Filter:- Place '
flexcoders@yahoogroups.com' in the 'to' field.- select 'Next Step'- check: Skip the inbox (Archive it)Apply the label: New label... -> Flex, FlexCoders (whatever you want). [Here, you can star them, or whatever else you want. Labeling and archiving is enough for me.]
Next to 'Create Filter' button, check 'Also apply filter to x conversations below', to apply to old messages.- Create Filter Now, you'll be able to browse FlexCoders messages at your leisure, by simply selecting the label from the menu on the left. The number in parentheses is how many unread messages there are.
Good luck,: : ) Scott

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] FlexCoders woes

2006-08-02 Thread Rick Root
slangeberg wrote:
> 
> I have the solution for your flexcoders problems (too many emails).
> 
> In Gmail, go to Settings -> Filters -> Create New Filter:

the joys of gmail!

I actually use procmail on my mail server to drop list mail directly 
into their appropriate imap folders.  If I ever moved my list mail to 
gmail, I'd definately go the labeling route!

Rick


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

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

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

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




RE: [flexcoders] Error 1119

2006-08-02 Thread Darren Houle
On line 11 you need to change your binding from

{myService.result.rsp.photos.photo}
to
{myService.lastResult.rsp.photos.photo}

Darren



>From: "Stefano" <[EMAIL PROTECTED]>
>Reply-To: flexcoders@yahoogroups.com
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Error 1119
>Date: Wed, 02 Aug 2006 11:00:31 -
>
>Hi everybody,
>I have this code...
>
>
>http://www.adobe.com/2006/mxml";
>layout="absolute">
>  url="http://www.flickr.com/services/rest?method=flickr.photos.search&\
>;api_key=***api_key***&per_page=9&tags={input.text}" />
>  
>  
>  
>  
>  
>  value="345"/>
>  
>  dataProvider="{myService.result.rsp.photos.photo}">
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  x="83.25" title="Photos" id="panel1" resizeEffect="Resize">
>  
>  
>  click="currentState='results'; myService.send()" id="button1"/>
>  
>
>
>
>but as I compile my app, an error occurs:
>
>1119: Access of possibly undefined property result through a reference
>with static type mx.rpc.http.mxml:HTTPService.
>
>but I can't understand why. Could you please help me out? Thank you.
>




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

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

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

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




[flexcoders] sending parameters from Flex2 to AMFPHP

2006-08-02 Thread arnold_charming
Hi!

I'm having some difficulties sending parameters from Flex to AMFPHP.
Because flex has to send 2 parameters, AMFPHP always complains I
haven't sent the second argument, never the less the second argument
in in the array.

Below is my code:

var arrPosredovani:Array = new Array();
 arrPosredovani[0] = ["1","1"];
 arrPosredovani[1] = ["2","2"];

gateway.call("Projekt.shraniProjekt", new Responder(onResult,
onFault), arrPosredovani);

I also tried like

var arrPosredovani:Array = [["1","1"],["2","2"]]

and still AMFPHP complains about not sending the right number of
parameters. If I change my AMFPHP function to allow only one parameter
then passing variables from Flex to AMFPHP works as it should. Also
this function works just fine in browser of AMFPHP.

What am I doing wrong?
I'm using the latest version of AMFPHP 1.2






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

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

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

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




[flexcoders] Custom component does not resize parent container

2006-08-02 Thread Sergey Kovalyov
Hi All!

Why in general custom component (inherited from VBox if it matters)
does not resize its parent container. When I add Label instance in
that container it resizes itself properly to fit the size of nested
content, but when I put my component there (and it actually wider than
the widest child) container does not change its size. Is any help
possible without an example? Any ideas and solutions "in general" are
welcome!

Regards, Sergey.


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

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

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

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





Re: [flexcoders] Scrolling drawing API content?

2006-08-02 Thread Daniel Freiman



you need to explicitly set the size of lineSprite (and maybe it's parents).lineSprite.width = 200;lineSprite.height = 900;generally you would want this in the createChildren or measure functions if you were creating a new component, but here you just want it before lineSprite is added to it's parent.  Using width or measuredWidth or measuredMinWidth or explicitMinWidth should work.
- DanOn 8/2/06, wayne_badu_johnson <[EMAIL PROTECTED]> wrote:
HiI am having trouble when adding dynamic graphics content to acontainer in getting the container to scroll this content.So in a nutshell, I have some AS adding graphics/lineTo content to asprite class and then adding that as a child to a UIComponent, then
adding to a mxml declared container (tried variations Panel, HBox,Canvas etc). The lines are being drawn however as the drawn conentis larger than the visible container are I would have thought thescrollbars for the target container to kick in. Hope this makes some
sense.Sample:http://www.adobe.com/2006/mxml"layout="absolute" creationComplete="initApp()">

Any help appreciatedCheersWayne--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flex, remoting, and dev/production environments

2006-08-02 Thread Rick Root
Rick Root wrote:
> 
> When building a flex app that uses remoting with coldfusion... if I'm
> building on my local machine and get it all working using my local
> coldfusion server, can I just copy the files to the production server,
> assuming the mappings and everything are set up the same?
> 
> Or does remoting rely on the build process to know which server to go
> to? In that case I'd have to rebuild the swf with the production
> servers services-config.xml file, right?

Okay, I copied the files to production and clearly it doesn't work.  I 
get an RPC error "channel disconnected before an acknowledgement was 
received" - yet another error that doesn't show up in google.

Anyway... how do I recompile for production without making an entirely 
new project?  I tried changing my flex server path and compiler options 
to the production server but I'm still getting the error now :(

Rick


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

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

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

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





Re: [flexcoders] FlexCoders woes

2006-08-02 Thread Tom Chiverton
On Wednesday 02 August 2006 14:18, Rick Root wrote:
> I actually use procmail on my mail server to drop list mail directly

I am always amazed how people mange to cope without filtering out list mail 
from the main inbox.
And threading, he says, glaring at GroupWise.

-- 
Tom Chiverton



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

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

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

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




[flexcoders] problem with Using the JSP Tag Library

2006-08-02 Thread Satish
Hi i am trying to embed my mxml page in my jsp. But i was getting the 
following error.
 File "/FlexTagLib" not found
.But my flex-bootstrap.jar is locating in right place. Can anybody tell me 
why i am getting this error?

my sample code:
<%@ taglib uri="FlexTagLib" prefix="mm" %>



<%String tree=""; %>



http://www.macromedia.com/2003/mxml"; 
initialize="loadme()" >

..

..



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

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

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

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




Re: [flexcoders] Flex, remoting, and dev/production environments

2006-08-02 Thread Clint Tredway



I know that this isn't always possible, but if you make your dev & production directory structure the same, then it will work. Thats how I am doing my development and it works for me.
On 8/2/06, Rick Root <[EMAIL PROTECTED]> wrote:













  



Rick Root wrote:
> 
> When building a flex app that uses remoting with coldfusion... if I'm
> building on my local machine and get it all working using my local
> coldfusion server, can I just copy the files to the production server,
> assuming the mappings and everything are set up the same?
> 
> Or does remoting rely on the build process to know which server to go
> to? In that case I'd have to rebuild the swf with the production
> servers services-config.xml file, right?

Okay, I copied the files to production and clearly it doesn't work.  I 
get an RPC error "channel disconnected before an acknowledgement was 
received" - yet another error that doesn't show up in google.

Anyway... how do I recompile for production without making an entirely 
new project?  I tried changing my flex server path and compiler options 
to the production server but I'm still getting the error now :(

Rick

  













-- diabetic? http://www.diabetesforums.comAlbert Einstein - "It's not that I'm so smart, it's just that I stay with problems longer."

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] sending parameters from Flex2 to AMFPHP

2006-08-02 Thread Impudent1
Well definately no expert but this is what I have found works.

In your amfphp service, setup your function calls to use an array ala:

function authenticate($lognfo){
$username = $lognfo[0];
$password = $lognfo[1];

etc.

Then in your app setup your call to the function with an array of params.

click="getAuth('MySQL_Login.authenticate',[txtUID.text,txtPwd.text])"


Thats gotten me going here, I like you , have not been able to send a 
string of params so while this seems to work its probably not ideal.

one of the better explanations of flex2<->amfphp I have found is at 
http://hasan.otuome.com/ under tuts, check out the flexible guestbook tuts.

hth

Impudent1
LeapFrog Productions


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

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

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

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




[flexcoders] Re: Simple way to do "Please wait..." type window

2006-08-02 Thread Tim Hoff



Hey Rick,
A couple of things jump out. // Add this import   import mx.core.Application;   // Make sure the path is correct   import PleaseWaitWindow; // may need path   import mx.managers.PopUpManager;   import mx.core.IFlexDisplayObject;   import flash.display.DisplayObject;   // Don't need to do this - just use import   // Delete this line.   public var searchingPopUpView:Class = PleaseWaitWindow;   public var popUpWindow:IFlexDisplayObject;   public var popUpParent:DisplayObject;   // Because Popups are on a different display list branch   // include your path of choice.   popUpParent = Application.application.mainPanel;
// below - just use the imported class   popUpWindow = PopUpManager.createPopUp(popUpParent,PleaseWaitWindow,true);Can't test this without your data, so I hope that this gets you closer.
Tim--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:>> Tim Hoff wrote:> > > > > > If you want, go ahead and post what your code currently looks like,> > and we'll get you fixed up. It's probably just a minor syntax issue.> > tim, you can view the code here... I won't paste it in because that > kinda stuff never shows up well in mailing lists =)> > https://www.it.dev.duke.edu/temp/test.txt> > It's really a very simple app. When I put in the popup code, I get the > following errors, both on the "popUpParent = mainPanel;" line:> > Severity Description Resource In Folder Location Creation Time Id> 2 1120: Access of undefined property mainPanel. DukeMagSearch_ro.mxml > DukeMagSearch_ro line 22 August 2, 2006 8:01:31 AM 148> 2 1120: Access of undefined property popUpParent. > DukeMagSearch_ro.mxml DukeMagSearch_ro line 22 August 2, 2006 8:01:31 AM 147> > If I comment out the lines relating the popup,everything works just fine.> > Rick>

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flex, remoting, and dev/production environments

2006-08-02 Thread Douglas Knudsen



as long as your paths are the same, no need to re-compile at all.  Remember CFCs need a full dot path from  the web root, custom tag directory, or mapping.  DKOn 8/2/06, 
Rick Root <[EMAIL PROTECTED]> wrote:
Rick Root wrote:>> When building a flex app that uses remoting with coldfusion... if I'm> building on my local machine and get it all working using my local> coldfusion server, can I just copy the files to the production server,
> assuming the mappings and everything are set up the same?>> Or does remoting rely on the build process to know which server to go> to? In that case I'd have to rebuild the swf with the production
> servers services-config.xml file, right?Okay, I copied the files to production and clearly it doesn't work.  Iget an RPC error "channel disconnected before an acknowledgement wasreceived" - yet another error that doesn't show up in google.
Anyway... how do I recompile for production without making an entirelynew project?  I tried changing my flex server path and compiler optionsto the production server but I'm still getting the error now :(
Rick--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/-- Douglas Knudsen
http://www.cubicleman.comthis is my signature, like it?

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] SOLVED: Flex, remoting, and dev/production environments

2006-08-02 Thread Rick Root
Rick Root wrote:
> 
> Okay, I copied the files to production and clearly it doesn't work. I
> get an RPC error "channel disconnected before an acknowledgement was
> received" - yet another error that doesn't show up in google.
> 
> Anyway... how do I recompile for production without making an entirely
> new project? I tried changing my flex server path and compiler options
> to the production server but I'm still getting the error now :(

This was related to my application.cfm, actually.  I had the following 
code in my application.cfm:





this meant things worked fine on my local server, but the redirect 
messed up calls to the flex gateway in production.  I didn't consider 
that remoting calls would still go over port 80 even if the page is secure.

anyway, after I added some code to bypass that if it was a remoting 
call, all worked fine when I copied files from local machine to production.

Rick


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

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

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

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




Re: [flexcoders] Re: Simple way to do "Please wait..." type window

2006-08-02 Thread Rick Root
Tim,

I made all your suggested changes but I still get a compiler error on 
this line:

popUpParent = Application.application.mainPanel;

The error is:   "Access of undefined property popUpParent."

I don't get it, because I'm not actually accessing a property of 
popUpParent...

Rick


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

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

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

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





[flexcoders] Chage text on main preload

2006-08-02 Thread Jesús Iglesias





Hi again, 
 
Does anybody know how to change the text of the 
main preload "Loading" and "Initializing"?
 
Thanks.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Simple way to do "Please wait..." type window

2006-08-02 Thread Tim Hoff
Do you still have this line.

var popUpParent:DisplayObject;

If so, then wtf.

--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:
>
> Tim,
> 
> I made all your suggested changes but I still get a compiler error 
on 
> this line:
> 
>   popUpParent = Application.application.mainPanel;
> 
> The error is: "Access of undefined property popUpParent."
> 
> I don't get it, because I'm not actually accessing a property of 
> popUpParent...
> 
> Rick
>







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

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

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

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




[flexcoders] Re: Detecting browser close event

2006-08-02 Thread pfact0ry



Quick update...This can be accomplished using some Flex code as described on http://deepthoughts.orsomethinglikethat.com  ...ExternalInterfaceUtil.addExternalEventListener( "window.onunload", unload, "unloadFlex" );--- In flexcoders@yahoogroups.com, "pfact0ry" <[EMAIL PROTECTED]> wrote:>> Hello,> > Is there a built in flex mechanism for detecting when the containing> browser is closed or the flash player unloads?  I've got a requirement> to perform a final flex function when the user closes the browser> window via the 'X' or otherwise.  I'm currently attempting to> accomplish this by using the ExternalInterface to set the browser's> 'document.body.unLoad' event to call a flex function that has been> exposed to the browser via the ExternalInterface.addCallback()> function.  Does anyone know a simpler way of doing so or any thoughts> on this?> > Thanks in advance,> Luke>

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Wierd Debug Out Error Output

2006-08-02 Thread Daniel Freiman



I'm getting a weird error.  I don't expect anyone to be able to solve it for me because I think they'd have to go through too much code, but maybe someone can at least tell me what I'm looking at.The error message looks something like this (formated black instead of the normal red):
verify com.colorquick.improv.document::Spread/com.colorquick.improv.document:Spread::createChildren()    stack:    scope: [global Object$ flash.events::EventDispatcher$
 flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ mx.core::FlexSprite$ mx.core::UIComponent$ mx.core::Container$ mx.containers::Canvas$ com.colorquick.improv.document::Spread$
]  locals: com.colorquick.improv.document::Spread * * * * * *   0:debugfile "C:\Documents and Settings\Daniel\My Documents\Colorquick\FlexTests\Improv2;com\colorquick\improv\document;Spread.as"
    stack:    scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$
 mx.core::FlexSprite$ mx.core::UIComponent$ mx.core::Container$ mx.containers::Canvas$ com.colorquick.improv.document::Spread$]  locals: com.colorquick.improv.document::Spread * * * * * *   3:debugline 52
    stack:    scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$
 mx.core::FlexSprite$ mx.core::UIComponent$ mx.core::Container$ mx.containers::Canvas$ com.colorquick.improv.document::Spread$]  locals: com.colorquick.improv.document::Spread * * * * * *   5:getlocal0
    stack: com.colorquick.improv.document::Spread    scope: [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$
 flash.display::Sprite$ mx.core::FlexSprite$ mx.core::UIComponent$ mx.core::Container$ mx.containers::Canvas$ com.colorquick.improv.document::Spread$]  locals: com.colorquick.improv.document::Spread
 * * * * * *   6:pushscopeit continues like that for a while and then prints the normal red formatted stack trace shown following:  160:getlocal3    stack: * *    scope: [global Object$ 
flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ mx.core::FlexSprite$ mx.core::UIComponent$ mx.core::Container$ mx.containers::Canvas$
 com.colorquick.improv.document::Spread$] com.colorquick.improv.document::Spread com.VerifyError: Error #1058: Illegal operand type: * must be int.
    at com.colorquick.improv.document::Spread/com.colorquick.improv.document:Spread::createChildren()    at mx.core::UIComponent/initialize()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:4862]
    at mx.core::Container/initialize()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:2580]    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:4759]
    at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:3349]    at mx.core::Container/addChildAt()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:2295]
    at com.colorquick.improv.workspace::FixedTile/addChildAt()[C:\Documents and Settings\Daniel\My Documents\Colorquick\FlexTests\Improv2\com\colorquick\improv\workspace\FixedTile.as:28]    at com.colorquick.improv.workspace::FixedTile/addChild
()[C:\Documents and Settings\Daniel\My Documents\Colorquick\FlexTests\Improv2\comcolorquick.improv.document::Spread/com.colorquick.improv.document:Spread::createChildren 
 locals: com.colorquick.improv.document::Spread? com.colorquick.improv.document::Spread/com.colorquick.improv.document:Spread::createChildren? * * * * * 
  161:nextvalue\colorquick\improv\workspace\FixedTile.as:24]    at com.colorquick.improv.workspace::DocumentWindow/com.colorquick.improv.workspace:DocumentWindow::createChildren
()[C:\Documents and Settings\Daniel\My Documents\Colorquick\FlexTests\Improv2\com\colorquick\improv\workspace\DocumentWindow.as:55]    at mx.core::UIComponent/initialize()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:4862]
    ...(The linebreaks and color change is intentional and in the original output) The weird thing is that whether or not I get this error is dependent on where I put a return statement in the createChildren() method:
        override protected function createChildren():void {            super.createChildren();            var tempXMLList:XMLList; // temp        

Re: [flexcoders] Re: creating a variant PopUpButton - errors on getStyle("popUpIcon")

2006-08-02 Thread Pan Troglodytes



Yeah, that's what I did with the PopUpIcon style, then realized it was all the styles introduced in PopUpButton that were missing.  I could hack it in, but I still don't understand why PopUpButton doesn't have to hack it in.  I really wish someone from Adobe would actually respond...
On 8/2/06, Jeremy Lu <[EMAIL PROTECTED]> wrote:




yap, a pretty dirty hack, but you could always declare all the styles needed in your component.

On 8/2/06, Pan Troglodytes <[EMAIL PROTECTED]
> wrote:













  



Thanks
Jeremy, it's a decent hack.  Of course, you have to put an unused
popupbutton in your app to make it work.  Still wishing I could
make my popupbutton like the other naturally.On 7/31/06, 
Jeremy Lu <[EMAIL PROTECTED]> wrote:






Try this:

StyleManager.setStyleDeclaration("PopUpButtonExt",  StyleManager.getStyleDeclaration("PopUpButton"), true);

this will get all the styles from PopUpButton to your extended component.


Jeremy.

On 8/1/06, Tim Hoff <[EMAIL PROTECTED]> wrote:














  



Yeah,

That's what I was trying to say.  The default assets and styles are 
in different framework classes (like mx.skins.halo), unless you 
override them with CSS.  I think if you set the missing properties 
in your CSS file, you should be able to get it to work, but it might 
be very tedious.

-TH

--- In flexcoders@yahoogroups.com, "Pan Troglodytes" 
<[EMAIL PROTECTED]> wrote:
>
> Well, in this case there are only a couple of imports that I had 
to make.
> The problem seems to be in getting this icon.  Not sure what to 
make of
> that.
> 
> On 7/29/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
> >
> > Hi Jasom.
> >
> > I noticed when I tried copying an entire framework class, 
instead of
> > just extending,  that in addition to version, several other
> > framework class references where required.  I suppose that if you
> > placed your copy in the same directory as the original, it would
> > work the same.  But, this isn't really practical.  I gave up on 
that
> > approach and concentrated on subclassing instead.
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com, "Pan Troglodytes"
> >  wrote:
> > >
> > > I'm trying to create my own PopUpButton that will fire an event
> > BEFORE
> > > opening the dropdown list (so I can populate it dynamically).
> > > Unfortunately, everything useful (like openWithEvent) is 
declare
> > private and
> > > not protected.  So I thought the most elegant way would be to 
just
> > copy the
> > > PopUpButton.as source and rename it and the class to
> > PopUpButtonExt.  After
> > > commenting out the version include, I ran into a problem.  In
> > > calcArrowButtonSize(), there is this bit:
> > >
> > > var popUpIconClass:Class = Class(getStyle("popUpIcon"));
> > > popUpIcon = new popUpIconClass();
> > >
> > > In my variation, popUpIconClass is always null.  The source for
> > > PopUpButton.as says:
> > >
> > > /**
> > >  *  The icon used for the right button of PopUpButton.
> > >  *  Supported classes are mx.skins.halo.PopUpIcon
> > >  *  and mx.skins.halo.PopUpMenuIcon.
> > >  *  @default mx.skins.halo.PopUpIcon
> > >  */
> > > [Style(name="popUpIcon", type="Class", inherit="no")]
> > >
> > > I'm trying to understand why it would be ok in the original 
class
> > and not in
> > > the class using the same code.  Is there some internal voodoo
> > going on?
> > > Suggestions for other ways I should do this are welcome, but 
not
> > really the
> > > main point of my question.  I'd really like to understand why 
this
> > breaks.
> > >
> > > --
> > > Jason
> > >
> >
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
> 
> 
> -- 
> Jason
>


  


















-- Jason

  


















-- Jason

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Cairngorm: Managing Application State

2006-08-02 Thread dreuimar
Chris,

What I usually do is have something like:

 

...

 
   
 
   
 
   
   
 
   
 
   
   
 
 
 
   
 

And at the creation complete of the application I"ll simply put:
model.selectedState = model.SOMESTATE;

Then whenever you want to switch just set model.selectedState to
something else.'

Brennan

--- In flexcoders@yahoogroups.com, "christophers1228"
<[EMAIL PROTECTED]> wrote:
>
> Thanks for the input.  Maybe I've been misunderstanding the way to use
> them from the beginning. ( very possible )
> 
> Let me give a better example, to make sure i'm not way out in left
field.
> 
> This is a typical way I manage the state.
> 
> 
>   
>   
>   
> 
> 
> Model:
>  public static var workflowState:Number = 0;
>  public static var VIEWING_SOMETHING:Number = 0;
>  public static var VIEWING_SOMETHING_ELSE:Number = 1;
>  public static var VIEWING_ANOTHER_THING:Number = 2;
> 
> Inside of a view:
>  
> 
> it seems like this should accomplish the same thing:
> 
>   
> 
>  
> 
>   
>   
> 
>  
> 
>   
>   
> 
>
> 
>   
> 
> 
> Inside of a view:
> 
> 
> I have noticed in messing around with it, that maybe you could bind
> the current state to the model and change from a number to a string.
> 
> sorry for the long post, just trying to learn something :)
> 
> Thanks, 
> Chris
> 
> 
> --- In flexcoders@yahoogroups.com, "Renaun Erickson"  wrote:
> >
> > The states as used in Cairngorm will not correlate with the
> >  in Flex 2.  The serve different purposes.  Well let me
> > step back and say, this is how I feel about it.
> > 
> > Flex 2 states are good for view/control states where Cairngorm
> > workflow states are just that work/process flow.  
> > 
> > Thats not to say you can't have an attribute on the Cairngorm model to
> > facilitate something you are trying to do with 
> > 
> > Renaun
> > 
> > --- In flexcoders@yahoogroups.com, "christophers1228"
> >  wrote:
> > >
> > > Hello,
> > > I've been using cairngorm for about a year now (flex 1.5) and I just
> > > started some projects using flex 2. (I have to admit I've been using
> > > and still trying to understand at the same time :) )
> > > I was just wondering, how do the new view states in flex2 fit in
with
> > > managing the state in the model.
> > > 
> > > i.e.  ModelLocator.workflowState = ModelLocator.VIEWING_SOMETHING;
> > >  vs. 
> > > 
> > > 
> > > 
> > > I just got to the point were I was pretty comfortable with the
flow of
> > > cairngorm (it's taught me alot about architecture) I'm just
wondering
> > > how to fit some of the new features of flex2 in.
> > > 
> > > Any ideas?
> > >
> >
>







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

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

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

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





[flexcoders] Re: Flex 2 and the Browser

2006-08-02 Thread pfact0ry



I don't know of any Flex 2 API functions that will do either, but you are able to do both using the flash.external.ExternalInterface  to invoke _javascript_ in the browser.  There is a good entry on Abdul Qabiz's Blog  that provides example code to accomplish #2 and looking at that code you'll see how to do #1.Good luck!--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:>> Two questions.> > #1 - Can a Flex 2 app know the URL of the browser window it is currently > loaded into?> > #2 - Can Flex 2 access URL parameters of the current browser window?> > googling didn't help me much :(> > Rick>

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Problem connecting to the Webservice

2006-08-02 Thread Kiran
Hi,

I have never used Flash or Flex in my life before and am a .NET 
developer. Stumbled across Flexbuilder yesterday and was really 
impressed by the RUI features it offers so I decided to download a 
trial version and play with it. 

This is what I did :

* Created a simple .NET Webservice with a method called 'SayHello' 
which returns a string message 'Hello World' (duh..very ingenious of me 
dont you guys think :-) ) and does not take any parameters. The service 
resided on a virtual windows server machine(called 'misdevservices')





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

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

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

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




Re: [flexcoders] Re: Simple way to do "Please wait..." type window

2006-08-02 Thread Rick Root
Tim Hoff wrote:
> 
> Do you still have this line.
> 
> var popUpParent:DisplayObject;
> 
> If so, then wtf.

Yup, I sure do.

And yeah, wtf?

I solved the problem by eliminating the reference to popUpParent 
entirely and just put Application.application.mainPanel where it was 
used in the code.

rick


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

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

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

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





Re: [flexcoders] Problem connecting to the Webservice

2006-08-02 Thread Will Morgan



Instead of this:
try this:On 8/2/06, Kiran <[EMAIL PROTECTED]> wrote:













  



Hi,
I have never used Flash or Flex in my life before and am a .NET developer. Stumbled across Flexbuilder yesterday and was really impressed by the RUI features it offers so I decided to download a trial version and play with it. 

This is what I did :

 Created a simple .NET Webservice with a method called 'SayHello' which returns a string message 'Hello World' (duh..very ingenious of me    ) and does not take any parameters. The service resided on a virtual windows server machine(called 
'misdevservices')
Created an mxml file called 'Lesson.mxml'. I am pasting the code below :


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

creationComplete="kino.SayHello.send()">

wsdl="http://misdevservices/wsCommon/Options.asmx?wsdl"
useProxy="false"> 










When i try to run this , i dont get any result back. I have even placed a 'crossdomain.xml' file in the root folder of the virtual server where the webservice is, but still the same problem. I cannot do anything else if I dont get this sorted 
 Been trying since yesterday but no luck! Would greatly appreciate if anyone could help me in this matter!!
 
Thanks in advance.
Kiran

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Using Repeater to produce multiple chart series? [Flex 2]

2006-08-02 Thread Tariq Ahmed
Hey all, does anyone have a simple example on how to produce multiple 
series in a chart based on an arraycollection?

  



  

  




Trying to do something like the above. I get a Type Coercion 
failed...cannot convert mx.core:Repeater to 
mx.charts.charClasses.iChartElement.

Seems like I can't use a repeater that way. What's the proper approach here?

Thx!





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

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

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

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




[flexcoders] Re: Error 1119

2006-08-02 Thread Stefano
Thank you for your help Darren, my problem has solved. I coded that
application following instructions provided by Adobe labs and their
tutorials... have any methods changed? Is there an updated manual I
can reference to? 

Thank you again, cheers.





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

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

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

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





[flexcoders] Re: Cairngorm: Managing Application State

2006-08-02 Thread Renaun Erickson
The main thing here is if you use Views with ViewHelpers you should
have those as separate views and not use .  States in my
preception are more for UI changes within a view then what the
switching containers or larger sets of UI.

Now this is not to say you can use the States for changing containers
like that of the ViewStack, it just seems its not the purpose of it.

>From the livedocs:

"The State class defines a view state, a particular view of a
component. For example, a product thumbnail could have two view
states; a base view state with minimal information, and a rich view
state with additional information."

More reading:
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0923.html#321190

Renaun

--- In flexcoders@yahoogroups.com, "christophers1228"
<[EMAIL PROTECTED]> wrote:
>
> Thanks for the input.  Maybe I've been misunderstanding the way to use
> them from the beginning. ( very possible )
> 
> Let me give a better example, to make sure i'm not way out in left
field.
> 
> This is a typical way I manage the state.
> 
> 
>   
>   
>   
> 
> 
> Model:
>  public static var workflowState:Number = 0;
>  public static var VIEWING_SOMETHING:Number = 0;
>  public static var VIEWING_SOMETHING_ELSE:Number = 1;
>  public static var VIEWING_ANOTHER_THING:Number = 2;
> 
> Inside of a view:
>  
> 
> it seems like this should accomplish the same thing:
> 
>   
> 
>  
> 
>   
>   
> 
>  
> 
>   
>   
> 
>
> 
>   
> 
> 
> Inside of a view:
> 
> 
> I have noticed in messing around with it, that maybe you could bind
> the current state to the model and change from a number to a string.
> 
> sorry for the long post, just trying to learn something :)
> 
> Thanks, 
> Chris
> 
> 
> --- In flexcoders@yahoogroups.com, "Renaun Erickson"  wrote:
> >
> > The states as used in Cairngorm will not correlate with the
> >  in Flex 2.  The serve different purposes.  Well let me
> > step back and say, this is how I feel about it.
> > 
> > Flex 2 states are good for view/control states where Cairngorm
> > workflow states are just that work/process flow.  
> > 
> > Thats not to say you can't have an attribute on the Cairngorm model to
> > facilitate something you are trying to do with 
> > 
> > Renaun
> > 
> > --- In flexcoders@yahoogroups.com, "christophers1228"
> >  wrote:
> > >
> > > Hello,
> > > I've been using cairngorm for about a year now (flex 1.5) and I just
> > > started some projects using flex 2. (I have to admit I've been using
> > > and still trying to understand at the same time :) )
> > > I was just wondering, how do the new view states in flex2 fit in
with
> > > managing the state in the model.
> > > 
> > > i.e.  ModelLocator.workflowState = ModelLocator.VIEWING_SOMETHING;
> > >  vs. 
> > > 
> > > 
> > > 
> > > I just got to the point were I was pretty comfortable with the
flow of
> > > cairngorm (it's taught me alot about architecture) I'm just
wondering
> > > how to fit some of the new features of flex2 in.
> > > 
> > > Any ideas?
> > >
> >
>






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

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

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

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





Re: [flexcoders] Flash Player 9 Push?

2006-08-02 Thread Nick Collins



I'm pretty sure it's just the detection script and changing the required major version to 9 instead of 8.The version of the SWF doesn't affect that. It will still prompt them to upgrade.
On 8/1/06, Brendan Meutzner <[EMAIL PROTECTED]> wrote:













  



The way I understand it, there is a point at which it will start "suggesting" upgrading to previous version users when they load any swf content, not just v9... am I mistaken?Brendan

On 8/1/06, Nick Collins <[EMAIL PROTECTED]> wrote:














  



It already is in the Express install. You just need to adjust your detection script to detect for 9On 8/1/06, 
Brendan Meutzner <
[EMAIL PROTECTED]> wrote:












  



Hey,Any ideas from Adobe on when version 9 of the player will start getting pushed out to older version users?Brendan

  















  















  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] TitleWindow Text colors

2006-08-02 Thread sufibaba



Hello flexors,Does anyone know how to make the Title text of the TitleWindow Control in different colors.For example, in the title I would like the following text displayed.Current Window:  ExplorerPlusThanks in advance.-Tim

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Serverside FLV conversion?

2006-08-02 Thread Rick Schmitty
Are there any tools out there that will let users submit mpeg/avi/wmv
through a form and have a server component convert into flv for use
with Flex 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/

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

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





[flexcoders] Re: Flex 2 and the Browser

2006-08-02 Thread Doug Lowder



Sounds like you want Application.application.url and Application.application.parameters.
http://livedocs.macromedia.com/flex/2/langref/mx/core/Application.html#url
http://livedocs.macromedia.com/flex/2/langref/mx/core/Application.html#parameters
--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:>> Two questions.> > #1 - Can a Flex 2 app know the URL of the browser window it is currently > loaded into?> > #2 - Can Flex 2 access URL parameters of the current browser window?> > googling didn't help me much :(> > Rick>

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Praise Flex!

2006-08-02 Thread Rick Root
Okay, I loved Flash MX 2004 for building RIAs.  It was fun.  But the 
more complex my apps got the more it sucked because code got lost all 
over the place.

I never did Flex before Flex 2, but I gotta say.. I freakin' love it.

all my code in nice pretty TEXT files

and in the most recent app I "converted", the flex app SWF is bigger, 
but it runs *WAY* faster than the old flash mx 2004 app.

And just about everything is easier.  I had no idea how to make it so 
when a user hit "enter" that something specific would happen.. and flex 
2 has that nice defaultButton thing on the containers.  Super easy. 
Same with transitions and such.

I love it.  I wanna do lots more Flex now =)

rick


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

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

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

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





[flexcoders] Re: Serverside FLV conversion?

2006-08-02 Thread Renaun Erickson
On2 Flix Engine

http://www.on2.com/developer/flix-engine-sdk/

There are other transcoding services or boxes that people sale.  

I think  ffmpeg is also used to encode FLV its open source but will
take some configuration to make it work as you want.

Renaun

--- In flexcoders@yahoogroups.com, "Rick Schmitty" <[EMAIL PROTECTED]> wrote:
>
> Are there any tools out there that will let users submit mpeg/avi/wmv
> through a form and have a server component convert into flv for use
> with Flex 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/

<*> 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] PopUp from within a class

2006-08-02 Thread Doug Arthur



I looked in the docs, and it's suppose to be: callLater(myFunction, args)
 
When I try this, I get Error - 1180: Call to a possibly undefined method callLater.
 
Thanks! 
On 8/1/06, Tracy Spratt <[EMAIL PROTECTED]> wrote:








Use callLater() to start the loop. That will give the ui a chance to update before the heavy processing begins.  If you have heavy processing going on, like in a loop, the UI will not redraw until the loop is done.  To change this you need to break the loop up into smaller bits and use callLater() to get the ui to update.

 
Jesse helped me with this a year or so ago. I couldn't find his example any more.  If you need more help I will try.

 
Tracy
 




From: [EMAIL PROTECTED]
ups.com [mailto:[EMAIL PROTECTED]
ups.com] On Behalf Of Doug ArthurSent: Tuesday, August 01, 2006 7:22 PMTo:
 [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] PopUp from within a class


 




That's perfect, thanks.


 

One other issue I have is when popuping up the window before a large loop, the window doesn't actually render until the loop is done. Is there a reason for that or a workaround? I'm working on the same thing as in another thread about a 'Please Wait...' type of thing, but I want to put a progress bar and do setProgress(n, x); where n is the incrimented number in the loop and x is the total loop count. 


 

Thanks! 

On 8/1/06, Martina Smith <
[EMAIL PROTECTED]> wrote: 






Hi Doug,

 

Try using the code in the zip attached herewith..

 

I have given a complete example of how PopupManager will work.

 

Hope this solves your problem!


 

Regards,

Martina

 

Doug Arthur <
[EMAIL PROTECTED]> wrote:




Yes, I've dealt with PopUp's plenty of times, but the problem is while I'm within a class object, it will not let me reference the document. I've tried using "this", and it does not work. 
this.parent is null. The only thing I've found to work now is the following: 

 

var tw:TitleWindow = 
new TitleWindow();tw.title = 'Test Window...'
;var txt:Label = new Label();
txt.text = 'THIS IS A TEST';tw.addChild(txt);PopUpManager.addPopUp(tw, Application.application 
as DisplayObject, true); 

 

I'm not sure if there is any other way though...?

 

Thanks!

 

On 7/31/06, Martina Smith <
[EMAIL PROTECTED] > wrote: 







Hi Doug,

 

You can make use of PopupManager Class to create a popup dynamically.

 

Regards,

Martina 

Doug Arthur <
[EMAIL PROTECTED]> wrote:





Does anyone know how to create a popup from within a class? I can't seem to reference anything of type DisplayObject such as .parent and so on... I've even tried instantiating 
SystemManager.getSWFRoot(this), and other things with SystemManager... Nothing is working. 

 

Any ideas? Thanks!
 





Here's a new way to find what you're looking for - 
Yahoo! Answers 
 
 



Here's a new way to find what you're looking for - 
Yahoo! Answers 

 


 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Flex 2 and the Browser

2006-08-02 Thread Rick Root
Doug Lowder wrote:
> 
> Sounds like you want Application.application.url and 
> Application.application.parameters.
> 
> http://livedocs.macromedia.com/flex/2/langref/mx/core/Application.html#url 
> 
> 
> http://livedocs.macromedia.com/flex/2/langref/mx/core/Application.html#parameters
>  
> 

That'll actually work great.

Technically, the url its referring to is the SWF url, and not the URL of 
the page the SWF is in.. but that's okay, because I can get what I need 
from there.

I could also attach URL parameters from the parent URL to the SWF url 
pretty easily too since I'm using CF.

rick


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

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

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

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





[flexcoders] License Number on FlexBuilder 2

2006-08-02 Thread Jack W. Caldwell @ Zingit Technologies, Inc.
Title: License Number on FlexBuilder 2








I am ready to purchase Flex Builder 2 w/charting.


I have already downloaded the trial and it will expire in 10 days.


I would prefer to get the CD, but it may not get delivered before the 

expiration.  If I order the CD will I be given the license number so I

can go ahead an enter it?


Thanks,


Jack 





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Serverside FLV conversion?

2006-08-02 Thread John C. Bland II



Use FFMPEG. I did a preso on it some time ago but I THINK it was lost in the sauce once the Breeze url's changed.http://ffmpeg.mplayerhq.hu/It is free, easy to use, and highly powerful.
On 8/2/06, Renaun Erickson <[EMAIL PROTECTED]> wrote:













  



On2 Flix Engine

http://www.on2.com/developer/flix-engine-sdk/

There are other transcoding services or boxes that people sale.  

I think  ffmpeg is also used to encode FLV its open source but will
take some configuration to make it work as you want.

Renaun

--- In flexcoders@yahoogroups.com, "Rick Schmitty" <[EMAIL PROTECTED]> wrote:
>
> Are there any tools out there that will let users submit mpeg/avi/wmv
> through a form and have a server component convert into flv for use
> with Flex apps?
>


  













-- John C. Bland II"I do what I can do when I can do it." - Chris Tucker, Money Talkshttp://www.gotoandstop.org
 - Home of FMUG.az

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Flex 2.0 Deployment with Remote Coldfusion Server

2006-08-02 Thread flexnadobe
Yeah! I am Stoked I finally got everything working fine. Now my
Xserves are Flex/Coldfusion friendly. I am ready to rock. I hope Adobe
patches CF to use JVM 5.0 soon but I got it working for Now

Yeah!!

Flex is Great!!
ColdFusion Great!
Flex/CF LocaL Box Great!
Flex Local - CF Remote Dev Great!
Deployment on a Xserve - Great!

Thanks Adobe!!

Please get me FDS for my Xserves so I can lose this HP Quad Processor
Server I have. LOL



--- In flexcoders@yahoogroups.com, "nigasak" <[EMAIL PROTECTED]> wrote:
>
> Hi, a quick answer for your questions maybe would be:
> 
> Question 1. Dev with Flex Locally and Link to a CF Server Remotely.
> (I can get to the Server with RDS Plug-in)
> 
> I get this to work using this information found on Mike Nimer blog:
> 
> 
> public var cSet:ChannelSet;
> 
> public function initApp()
> {
> cSet = new ChannelSet();
> var customChannel:Channel = new AMFChannel("my-cfamf",
> http://youremoteCFserver/flex2gateway/);
> // Add the Channel to the ChannelSet. cSet.addChannel(customChannel);
> foo.channelSet = cSet;
> }
> 
> foo its the "id" of your CF RemoteObject
> 
> this is the way how locally I don't need to reference
> services-config.xml from Flex Builder, and works also with FDS
> :-), Big thanks to Mike Nimer for that
> 
> You need to add a crossdomainxml file in your remote server.
> 
> Question 2.- For deploying, I would like to know recommendations on
that. 
> 
> 
> --- In flexcoders@yahoogroups.com, "flexnadobe"  wrote:
> >
> > Thanks for the reply -- but this info is for 1.x version but is almost
> > the same in the 2.0 docs. 
> > 
> > What I found out so far is this:
> > 
> > 1. Coldfusion running on Mac OSX xServe 10.4.6  and ColdfusionMX 7.02
> > will not run correctly if you are using JVM 1.5 it has to be launched
> > using JVM 1.4.2_09 or FLash Remoting/Flex Integration will not work.
> > 
> > you can go to 
> > 
> >
>
http://www.talkingtree.com/blog/index.dfm/2006/5/17/CFMX-MacOSX-JVM142#more
> > 
> > to get a nice work around to this but you will have the edit the
> > package contents to fix the case sensitive line "Jrun4" to "JRun4".
> > 
> > 2. When Starting from these work arounds however, you are not able use
> > the CFLauncher Program that is installed with the MultiServer install.
> > And you will have to come up with another solution to managing CF
> > Instances.
> > 
> > Now Flex Integration works I just have to figure out the Multiserver
> > part and managing CF without the CFLauncher Program.
> > 
> > I sure wish Adobe would stop abandoning the Mac Xserve platform. And
> > when it does release a product for the Mac Xserve that it would test
> > it out to see if will work. Maybe detect what version of JVM's you
> > have installed and launch it with the one that will run Adobe's
product.
> > 
> > I have heard they have just now got some macs for the Flex Dev
> > Engineers...they should have Every platform to test with at all times.
> > They make Billions of dollars a year! maybe Kevin Lynch and the
> > gang can give up some bonuses to supply the engineers with some
> > computers. LOL
> > 
> > Flex is Great!
> > 
> > Coldfusion is Great!
> > 
> > Flex and Coldfusion on a Local Box Great!
> > 
> > Seperate them on different Tiers... F-ing Nightmare!
> > 
> > Add a Mac to the Mix... F-ing forgetaboutit!!!
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Anthony DeBonis"  wrote:
> > >
> > > The short answer is yes you can but there are many variables that 
> > > will effect you setup.
> > > 
> > > I was able to do it no problem using ColdFusion CFCs - worked on my 
> > > local laptop and have deployed to several servers.  If Flex app is 
> > > delivered from the same host/port name then Flex will have no 
> > > problem making the calls.  IF not you will need to set 
> > > whitelist/crossdomain policy file ...ect theres lots of doc out on 
> > > that.  Hope this helps
> > > 
> > > 
> > > Exmple:
> > >
http://www.adobe.com/support/documentation/en/flex/1/deployingcheckli
> > > st/deployingchecklist2.html
> > > 
> > > Its not the best but give you a line of sight...
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com, "flexnadobe"  
> > > wrote:
> > > >
> > > > Hello,
> > > > 
> > > > I see this question asked over and over again but with no one
able 
> > > to
> > > > answer the simple Question.
> > > > 
> > > > It is not a problem to develope on a local machine we all know
that
> > > > and have got that working. But at some point we need to deploy the
> > > > app. And some of us would like to link to Coldfusion. Hell we
might
> > > > even go as far as having multiple devs who would all like to 
> > > develop
> > > > on a local machine and hook up to Coldfusion remotely ( WOW!
what a
> > > > concept ).
> > > > 
> > > > Now my Question -- Does anyone have a step by step, concise
> > > > instructions on how to accomplish this?
> > > > 
> > > > 1. Dev with Flex Locally and Link to a CF Server Remotely. 
> > > >(I can get to the Server wit

Re: [flexcoders] License Number on FlexBuilder 2

2006-08-02 Thread Marco Casario





 
Hi,
you won't.
You have to wait for your CD I guess
 
best
Marco Casario
http://casario.blogs.com
 
 

  - Original Message - 
  From: 
  Jack W. 
  Caldwell @ Zingit Technologies, Inc. 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, August 02, 2006 7:20 
  PM
  Subject: [flexcoders] License Number on 
  FlexBuilder 2
  
  
  
  I am ready to purchase Flex Builder 2 
  w/charting. 
  I have already downloaded the trial and it will 
  expire in 10 days. 
  I would prefer to get the CD, but it may not get 
  delivered before the expiration.  If I 
  order the CD will I be given the license number so I can go ahead an enter it? 
  Thanks, 
  Jack 
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: SOLVED: Flex, remoting, and dev/production environments

2006-08-02 Thread flexnadobe
Yep I am Stoked I finally got everything working fine. Now my
Xserves are Flex/Coldfusion friendly. I am ready to rock. I hope Adobe
patches CF to use JVM 5.0 soon but I got it working for Now

Yeah!!

Flex is Great!!
ColdFusion Great!
Flex/CF LocaL Box Great!
Flex Local - CF Remote Dev Great!
Deployment on a Xserve - Great!

Thanks Adobe!!

Please get me FDS for my Xserves so I can lose this HP Quad Processor
Server I have. LOL


--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:
>
> Rick Root wrote:
> > 
> > Okay, I copied the files to production and clearly it doesn't work. I
> > get an RPC error "channel disconnected before an acknowledgement was
> > received" - yet another error that doesn't show up in google.
> > 
> > Anyway... how do I recompile for production without making an entirely
> > new project? I tried changing my flex server path and compiler options
> > to the production server but I'm still getting the error now :(
> 
> This was related to my application.cfm, actually.  I had the following 
> code in my application.cfm:
> 
> 
>   
> 
> 
> this meant things worked fine on my local server, but the redirect 
> messed up calls to the flex gateway in production.  I didn't consider 
> that remoting calls would still go over port 80 even if the page is
secure.
> 
> anyway, after I added some code to bypass that if it was a remoting 
> call, all worked fine when I copied files from local machine to
production.
> 
> Rick
>






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

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

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

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




Re: [flexcoders] PopUp from within a class

2006-08-02 Thread Doug Arthur



Yea, I'm going to need some help. I ended up using: 
 
Application.application.callLater(parseOrders, args); 
 
parseOrders is a new function where I basically broke out the loop into a seperate call to the above listed code. This still did not display my popup before the loop properly. Maybe i'm not doing it right?
 
for each(var vendorOrder:VendorOrder in vendorOrders) {
  var args:Array = new Array();
  args.push(vendorOrder);
  Application.application.callLater(parseOrders, args);}
 
private function parseOrders(vendorOrder:VenorOrder):void {
  // do what was in my loop originally instead of callLater()...
} 
On 8/2/06, Doug Arthur <[EMAIL PROTECTED]> wrote:


I looked in the docs, and it's suppose to be: callLater(myFunction, args)
 
When I try this, I get Error - 1180: Call to a possibly undefined method callLater.
 
Thanks! 

On 8/1/06, Tracy Spratt <[EMAIL PROTECTED]
> wrote: 










Use callLater() to start the loop. That will give the ui a chance to update before the heavy processing begins.  If you have heavy processing going on, like in a loop, the UI will not redraw until the loop is done.  To change this you need to break the loop up into smaller bits and use callLater() to get the ui to update. 

 
Jesse helped me with this a year or so ago. I couldn't find his example any more.  If you need more help I will try. 

 
Tracy
 





From: [EMAIL PROTECTED]
 ups.com [mailto:
[EMAIL PROTECTED] ups.com] On Behalf Of Doug Arthur

Sent: Tuesday, August 01, 2006 7:22 PMTo: [EMAIL PROTECTED]
ups.com



Subject: Re: [flexcoders] PopUp from within a class


 




That's perfect, thanks.


 

One other issue I have is when popuping up the window before a large loop, the window doesn't actually render until the loop is done. Is there a reason for that or a workaround? I'm working on the same thing as in another thread about a 'Please Wait...' type of thing, but I want to put a progress bar and do setProgress(n, x); where n is the incrimented number in the loop and x is the total loop count. 


 

Thanks! 

On 8/1/06, Martina Smith <
 [EMAIL PROTECTED]> wrote: 






Hi Doug,

 

Try using the code in the zip attached herewith..

 

I have given a complete example of how PopupManager will work.

 

Hope this solves your problem!


 

Regards,

Martina

 

Doug Arthur <
 [EMAIL PROTECTED]> wrote:




Yes, I've dealt with PopUp's plenty of times, but the problem is while I'm within a class object, it will not let me reference the document. I've tried using "this", and it does not work. 
this.parent is null. The only thing I've found to work now is the following: 

 

var tw:TitleWindow = 
new TitleWindow();tw.title = 'Test Window...'
 ;var txt:Label = new Label();
txt.text = 'THIS IS A TEST';tw.addChild(txt);PopUpManager.addPopUp(tw, Application.application 
as DisplayObject, true); 

 

I'm not sure if there is any other way though...?

 

Thanks!

 

On 7/31/06, Martina Smith <
 [EMAIL PROTECTED] > wrote: 







Hi Doug,

 

You can make use of PopupManager Class to create a popup dynamically.

 

Regards,

Martina 

Doug Arthur <
 [EMAIL PROTECTED]> wrote:





Does anyone know how to create a popup from within a class? I can't seem to reference anything of type DisplayObject such as .parent and so on... I've even tried instantiating 
SystemManager.getSWFRoot(this), and other things with SystemManager... Nothing is working. 

 

Any ideas? Thanks!
 





Here's a new way to find what you're looking for - 
Yahoo! Answers 
 
 



Here's a new way to find what you're looking for - 
Yahoo! Answers 

 





  

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] License Number on FlexBuilder 2

2006-08-02 Thread Jack W. Caldwell @ Zingit Technologies, Inc.





Marco:
 
Well . . . . I guess I will have to order the 
download
so I can get the License Key now.
 
Thanks,
 
Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Marco 
CasarioSent: Wednesday, August 02, 2006 12:41 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] License Number on 
FlexBuilder 2



 
Hi,
you won't.
You have to wait for your CD I guess
 
best
Marco Casario
http://casario.blogs.com
 
 

  - Original Message - 
  From: Jack W. 
  Caldwell @ Zingit Technologies, Inc. 
  To: [EMAIL PROTECTED]ups.com 
  
  Sent: Wednesday, August 02, 2006 7:20 
  PM
  Subject: [flexcoders] License Number on 
  FlexBuilder 2
  
  
  
  I am ready to purchase Flex Builder 2 
  w/charting. 
  I have already downloaded the trial and it will 
  expire in 10 days. 
  I would prefer to get the CD, but it may not get 
  delivered before the expiration.  If I 
  order the CD will I be given the license number so I can go ahead an enter it? 
  Thanks, 
  Jack 
  

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Array parameters fail with Webservices

2006-08-02 Thread kaleb_pederson
I'm using a webservice that requires that an array of strings be 
passed to one function.  Each method that I have tried to send array 
parameters fails.  By fails, I mean the request is successfully sent 
to the server but the parameter list is empty and thus the response 
isn't valid for the request that I'm attempting to make.

Here are the variations that I have tried:

   ws = new mx.rpc.soap.mxml.WebService();
   
ws.loadWSDL("http://192.168.1.108:8080/stockquotes/stock_quote?wsdl";);
// waits for loadWSDL to finish

// variation one
var op:Object = ws.getOperation("sendStrings");
op.arguments = new Array("One","Two","Three");
op.send();

// variation two
ws.sendStrings.arguments = new Array("One","Two","Three");
ws.sendStrings.send();

// variation three
ws.sendStrings.send(new Array("One","Two","Three"));

// variation four
ws.sendStrings.send("One","Two","Three");

The request that's made looks like the following (less formatting):


http://www.w3.org/2001/XMLSchema-instance";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

http://server.webservices.tutorials.wakaleo.com/"; />



The response that comes back looks like the following:


http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";

xmlns:ns1="http://server.webservices.tutorials.wakaleo.com/";>
http://www.w3.org/2005/08/addressing";>






The XSD shows the following input specification:


 
 
 


I also tried using MXML without any success.  See the following for 
details:

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&threadid=1176598#4215452

Any thoughts?  Am I missing something obvious?  I can give you more 
information, including the complete WSDL, so please let me know if 
there is anything else that would be useful.

Thanks.

--Kaleb





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

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

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

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





[flexcoders] Re: Array parameters fail with Webservices

2006-08-02 Thread Renaun Erickson
Try:
ws.sendStrings("One","Two","Three");

Which should make the call with 3 distinct parameters.

Renaun

--- In flexcoders@yahoogroups.com, "kaleb_pederson" <[EMAIL PROTECTED]> wrote:
>
> I'm using a webservice that requires that an array of strings be 
> passed to one function.  Each method that I have tried to send array 
> parameters fails.  By fails, I mean the request is successfully sent 
> to the server but the parameter list is empty and thus the response 
> isn't valid for the request that I'm attempting to make.
> 
> Here are the variations that I have tried:
> 
>ws = new mx.rpc.soap.mxml.WebService();
>
> ws.loadWSDL("http://192.168.1.108:8080/stockquotes/stock_quote?wsdl";);
> // waits for loadWSDL to finish
> 
> // variation one
> var op:Object = ws.getOperation("sendStrings");
> op.arguments = new Array("One","Two","Three");
> op.send();
> 
> // variation two
> ws.sendStrings.arguments = new Array("One","Two","Three");
> ws.sendStrings.send();
> 
> // variation three
> ws.sendStrings.send(new Array("One","Two","Three"));
> 
> // variation four
> ws.sendStrings.send("One","Two","Three");
> 
> The request that's made looks like the following (less formatting):
> 
> 
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> 
>  xmlns:ns1="http://server.webservices.tutorials.wakaleo.com/"; />
> 
> 
> 
> The response that comes back looks like the following:
> 
> 
>  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> 
> xmlns:ns1="http://server.webservices.tutorials.wakaleo.com/";>
> http://www.w3.org/2005/08/addressing";>
> 
> 
> 
> 
> 
> 
> The XSD shows the following input specification:
> 
> 
>  
>   minOccurs="0"/>
>  
> 
> 
> I also tried using MXML without any success.  See the following for 
> details:
> 
>
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&threadid=1176598#4215452
> 
> Any thoughts?  Am I missing something obvious?  I can give you more 
> information, including the complete WSDL, so please let me know if 
> there is anything else that would be useful.
> 
> Thanks.
> 
> --Kaleb
>






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

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

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

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





[flexcoders] Icon/Image with LinkBar

2006-08-02 Thread Jack W. Caldwell @ Zingit Technologies, Inc.
Title: Icon/Image with LinkBar









I must be brain dead but I can not find a way to place an icon/image

next to a LinkBar menu item.


I am rather amazed that the LinkBar has NO icon or image setting.


I would have thought this would have been a default property.  


So much for assuming . . .


I have tried to manufacture a solution with an HBox and placing an

 and then the LinkBar, but it does not line up correctly.


I read that the LinkBar is a Subclass of the NavBar, which has a

iconField property, but I don't know how to use this in regards to

the LinkBar.


Anyone have any ideas or can point to an example?


Thanking you in advance,


Jack 





__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Using Repeater to produce multiple chart series? [Flex 2]

2006-08-02 Thread Tariq Ahmed
Figured it out. The approach to use is with actionscript to dynamically 
create LineSeries objects, and add them to the LineChart's series array.

I'll post an example.

Tariq Ahmed wrote:
> Hey all, does anyone have a simple example on how to produce multiple 
> series in a chart based on an arraycollection?
>
> dataProvider="{chartData}"> 
>  categoryField="time"/>
>
>
>  
> yField="{myRep.currentItem.dataField}" form="curve"  
> displayName="{myRep.currentItem.Title}"/>
>  
>
>
>
>
> Trying to do something like the above. I get a Type Coercion 
> failed...cannot convert mx.core:Repeater to 
> mx.charts.charClasses.iChartElement.
>
> Seems like I can't use a repeater that way. What's the proper approach 
> here?
>
> Thx!
>
>





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

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

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

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





[flexcoders] [Flex 2, newbie] Label with width matching text

2006-08-02 Thread astgtciv
How do you create an mx.controls.Label whose width would automatically 
adjust when its .text is reset?
Or, at least, how do you figure out which width to set the Label to once its 
.text is reset?
The only thing I came up so far is "label.textWidth + 12" :) Thank you! 



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

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

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

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




RE: [flexcoders] Re: Error 1119

2006-08-02 Thread Darren Houle
I believe the Operation.result property was changed to Operation.lastResult 
in Beta3 and has been there ever since.  If you check the help (Language 
Reference) in Flex Builder and look up mx.rpc.soap.Operation you'll see 
where it lists...

   lastResult : Object
   The result of the last invocation.

under public properties.

As for updated documentation... to my knowledge everything that's packaged 
with Flex 2 final is up to date.

Not sure where you found the old example code.  According to this labs page:
http://labs.adobe.com/wiki/index.php/Flex
Flex content isn't hosted on Labs anymore since final shipped, except maybe 
for stuff like Cairngorm and the Ajax bridge.  I'm sure if you posted the 
link to the old sample code, someone somewhere might do something about it 
:-)

Darren



>From: "Stefano" <[EMAIL PROTECTED]>
>Reply-To: flexcoders@yahoogroups.com
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Re: Error 1119
>Date: Wed, 02 Aug 2006 16:30:44 -
>
>Thank you for your help Darren, my problem has solved. I coded that
>application following instructions provided by Adobe labs and their
>tutorials... have any methods changed? Is there an updated manual I
>can reference to?
>
>Thank you again, cheers.
>
>
>
>
>
>--
>Flexcoders Mailing List
>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>Yahoo! Groups Links
>
>
>
>
>
>
>




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

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

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

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




Re: [flexcoders] Serverside FLV conversion?

2006-08-02 Thread Greg Hamer



Hi Rick,

I fully support Renaun and John's replies.
Also thought you might find interesting the following very comprehensive post by Daniel Tietze.  
http://blog.go4teams.com/?p=56

Daniel entitled his post "Video Blogging using Django and Flash(tm)
Video (FLV)".  Russell Heimlich refers to Daniel's post as "How to
create your own YouTube site".  Daniel does not have Flex in his
application's technology stack.  And it focuses only on converting
AVI video using ffmpeg.  Still, it should be a great starting point for you.


fyi ... In general, the best support for questions on Flash Video, FLV, FMS, etc can be found at the FlashComm list: 

  
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm



The FlashComm list is very well subscribed, it is where all of the
Flash Video and FLV heavies can be found, and folks there are
surprising civil and supportive :-)



hth,



g

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Problems making SOAP calls via WSDL file

2006-08-02 Thread Franck de Bruijn












Hi Charles,

 

Yes, that’s right.

 

If you want to access a web service on a
different machine than the machine you’re hosting your application you
have to develop some sort of a proxy on your own machine. Flex can then connect
to this proxy (no security issues there), and the proxy can then connect to the
desired web service. The examples given in this thread are (I think) referring
to the Flex Data Services component, but I would use my own proxy web service.

 

Anyway, you do need some active component
on the server you are hosting your service. That’s the security model of
Flash/Flex. Otherwise, in principle, you could spam the entire world with your
Flex application... :).

 

Cheers,

Franck

 

 

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Charles
Sent: Tuesday, August 01, 2006
10:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Problems
making SOAP calls via WSDL file



 







Oh, so what you're saying is that even though I am
running locally,
since the SOAP call invokes a remote operation not hosted on my
machine, it should fail anyways? So I can't make a successful API
call with Flex, at least not until I get my IP put on a crossdomain on
the Google server? Is that right?

Charles

--- In [EMAIL PROTECTED]ups.com,
"Franck de Bruijn"
...> wrote:
>
> I checked the WSDL with SOAPUI and the WSDL looks fine.
> 
> 
> 
> I do see however that the WSDL is of the type doc/literal. I have
had some
> serious issues with that connecting with Flex to such a web service
> back-end. I have not verified if the final release of Flex 2 has
resolved
> all these issues. I never encountered issues like Charles described,
so this
> statement probably does not apply.
> 
> 
> 
> With respect to 'running the files locally' the following: if you
are using
> the WSDL that you pointed out to us, it contains the following section:
> 
> 
> 
> 
> 
> 
> name="ReportService">
> 
> 
> location="https://adwords.google.com/api/adwords/v4/ReportService"/>
> 
> 
> 
> 
> 
> You might actually load the WSDL successfully from your local
machine (if
> you include it with your app-distribution), but once you try to
invoke an
> operation (as you describe in your first mail) it should fail, since
the web
> service itself is hosted on a different machine (I presume that
> 'adwords.google.com' is not your machine). 
> 
> 
> 
> Even here some easy-to-miss subtleties can arise: if you load your
flex app
> from e.g. 'localhost' and the WSDL points to your local machine but
with a
> different name (like 127.0.0.1), it will still fail. At least,
that's what I
> experienced from testing.
> 
> 
> 
> Cheers,
> 
> Franck
> 
> 
> 
> _ 
> 
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of Dave Wolf
> Sent: Tuesday, August 01, 2006 6:21 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Re: Problems making SOAP calls via WSDL file
> 
> 
> 
> Do you have any kind of proxy tool, like the SOAPMonitor or Tcptunnel
> where you can see the response coming back?
> 
> -- 
> Dave Wolf
> Cynergy Systems, Inc.
> Adobe Flex Alliance
Partner
> http://www.cynergys 
ystems.com
> http://www.cynergys 
ystems.com/blogs
> 
> Email: [EMAIL PROTECTED] wolf%40cynergysystems.com>
stems.com
> Office: 866-CYNERGY
> 
> --- In [EMAIL PROTECTED] 40yahoogroups.com>
ups.com,
> "Charles" > wrote:
> >
> > Hi Frank,
> > 
> > Yes, you're right. I'm familiar with the need for the crossdomain.xml
> > file on server that I am making the calls to, but I don't think it's
> > necessary since I am running the files locally. As far as I know, if
> > the machine that I am running the files from, the client, is the same
> > as the machine hosting the files, then it's fine. Otherwise, if I
> > post these files to some web server and run them remotely, then my
> > client machine is different from the machine hosting the files, and
in
> > that case I need the crossdomain.
> > 
> > Either way, I am making a successful connection to the WSDL, but my
> > problem isn't actually with connecting. It's that when I make the RPC
> > through the WSDL, I get an error returned: "The request XML was
> > invalid". So that is currently where I'm hung up. Thanks for the
> > reply though.
> > 
> > 
> > Charles
> > 
> > --- In [EMAIL PROTECTED] 40yahoogroups.com>
ups.com,
> "Franck de Bruijn"
> > > wrote:
> > >
> > > Hi Charles,
> > > 
> > > 
> > > 
> > > Due to the Flash security model, you cannot access a URL that is
not
> > hosted
> > > on the same server your Flex application is hosted, unless a
> > crossdomain.xml
> > > is present (which does not seem to be, I checked).
> > > 
> > > 
> > > 
> > > If you want to access a webservice on a different host, you have
to
> > provide
> > > a proxy on your own server.
> > > 
> > > 
> > > 
> > > See also the documentation on: Getting Started with Flex 2.0
>
> > Tutorials >
> > 

RE: [flexcoders] Problem connecting to the Webservice

2006-08-02 Thread Franck de Bruijn












Hi Kiran,

 

Are you sure that the URL http://misdevservices/wsCommon/Options.asmx?wsdl
is actually a valid URL? If you are running the web services on your local
machine, you’d probably have something like localhost in the URL.

 

How did you actually run your application?
Through FlexBuilder? Or did you deploy your .swf file (and all files related to
it) together with your webservice? I always do the latter in order to get it
working.

 

Cheers,

Franck

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kiran
Sent: Wednesday, August 02, 2006
5:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem
connecting to the Webservice



 







Hi,

I have
never used Flash or Flex in my life before and am a .NET developer. Stumbled
across Flexbuilder yesterday and was really impressed by the RUI features it
offers so I decided to download a trial version and play with it. 

This is
what I did :


  Created a simple .NET Webservice with a
 method called 'SayHello'
 which returns a string message 'Hello World' (duh..very ingenious of
 me   
 ) and does not take any parameters. The service resided on a virtual
 windows server machine(called 'misdevservices')
 Created an mxml file called 'Lesson.mxml'. I
 am pasting the code below :




8"?>



creationComplete="kino.SayHello.send()">



wsdl="http://misdevservices/wsCommon/Options.asmx?wsdl"

useProxy="false"> 



















When i try to run this , i dont get any result back. I have
even placed a 'crossdomain.xml' file in the root folder of the virtual
server where the webservice is, but still the same problem. I cannot do
anything else if I dont get this sorted  Been
trying since yesterday but no luck! Would greatly appreciate if anyone could
help me in this matter!!

 

Thanks in advance.

Kiran






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] need to be able to cancel change to a DateField

2006-08-02 Thread jrjazzman23
I'd like to be able to ask the user to confirm their date selection
BEFORE the selectedDate field gets set.  The Change event appears to
not be cancelable.  Is there any other way to accomplish this?

thanks





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

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

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

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





[flexcoders] Re: PopUp from within a class

2006-08-02 Thread Doug Lowder



A while back I came across Jester's link that Tracy mentioned.  The sample is for Flex 1.5, but the logic behind it is probably still applicable.
http://www.jessewarden.com/archives/2005/05/flex_flash_refr.html
You may not want to start any processing until after the creationComplete event of your popup, maybe even a certain amount of time beyond that.
--- In flexcoders@yahoogroups.com, "Doug Arthur" <[EMAIL PROTECTED]> wrote:>> Yea, I'm going to need some help. I ended up using:> > Application.application.callLater(parseOrders, args);> > parseOrders is a new function where I basically broke out the loop into a> seperate call to the above listed code. This still did not display my popup> before the loop properly. Maybe i'm not doing it right?> > for each(var vendorOrder:VendorOrder in vendorOrders)* *{> var args:Array = new Array();> args.push(vendorOrder);> Application.application.callLater(parseOrders, args);> }> > private function parseOrders(vendorOrder:VenorOrder):void {> *// do what was in my loop originally instead of callLater()...*> }> > On 8/2/06, Doug Arthur [EMAIL PROTECTED] wrote:> >> > I looked in the docs, and it's suppose to be: callLater(myFunction, args)> >> > When I try this, I get Error - 1180: Call to a possibly undefined method> > callLater.> >> > Thanks!> >> >> > On 8/1/06, Tracy Spratt [EMAIL PROTECTED] wrote:> >> > > Use callLater() to start the loop. That will give the ui a chance to> > > update before the heavy processing begins. If you have heavy processing> > > going on, like in a loop, the UI will not redraw until the loop is done. To> > > change this you need to break the loop up into smaller bits and use> > > callLater() to get the ui to update.> > >> > >> > >> > > Jesse helped me with this a year or so ago. I couldn't find his example> > > any more. If you need more help I will try.> > >> > >> > >> > > Tracy> > >> > >> > > --> > >> > > *From:* [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com]> > > *On Behalf Of *Doug Arthur> > >> > > *Sent:* Tuesday, August 01, 2006 7:22 PM> > > *To:* flexcoders@yahoogroups.com> > >> > >> > > *Subject:* Re: [flexcoders] PopUp from within a class> > >> > >> > >> > > That's perfect, thanks.> > >> > >> > >> > > One other issue I have is when popuping up the window before a large> > > loop, the window doesn't actually render until the loop is done. Is there a> > > reason for that or a workaround? I'm working on the same thing as in another> > > thread about a 'Please Wait...' type of thing, but I want to put a progress> > > bar and do setProgress(n, x); where n is the incrimented number in the loop> > > and x is the total loop count.> > >> > >> > >> > > Thanks!> > >> > >> > >> > > On 8/1/06, *Martina Smith* < [EMAIL PROTECTED] wrote:> > >> > > Hi Doug,> > >> > >> > >> > > Try using the code in the zip attached herewith..> > >> > >> > >> > > I have given a complete example of how PopupManager will work.> > >> > >> > >> > > Hope this solves your problem!> > >> > >> > >> > > Regards,> > >> > > Martina> > >> > >> > >> > >> > >> > > *Doug Arthur < [EMAIL PROTECTED] wrote:> > >> > > Yes, I've dealt with PopUp's plenty of times, but the problem is while> > > I'm within a class object, it will not let me reference the document. I've> > > tried using "this", and it does not work. this.parent is null. The only> > > thing I've found to work now is the following:> > >> > >> > >> > > *var* tw:TitleWindow = *new* TitleWindow();> > > tw.title = *'Test Window...' *;> > > *var* txt:Label = *new* Label();> > > txt.text = *'THIS IS A TEST'*;> > > tw.addChild(txt);> > > PopUpManager.addPopUp(tw, Application.application *as* DisplayObject, *> > > true*);> > >> > >> > >> > >> > > I'm not sure if there is any other way though...?> > >> > >> > >> > > Thanks!> > >> > >> > >> > >> > > On 7/31/06, *Martina Smith* < [EMAIL PROTECTED] > wrote:> > >> > > Hi Doug,> > >> > >> > >> > > You can make use of PopupManager Class to create a popup dynamically.> > >> > >> > >> > > Regards,> > >> > > Martina> > >> > >> > >> > > *Doug Arthur < [EMAIL PROTECTED] wrote:> > >> > > Does anyone know how to create a popup from within a class? I can't> > > seem to reference anything of type DisplayObject such as .parent and so> > > on... I've even tried instantiating SystemManager.getSWFRoot(this), and> > > other things with SystemManager... Nothing is working.> > >> > >> > >> > > Any ideas? Thanks!> > >> > >> > > --> > >> > > Here's a new way to find what you're looking for - Yahoo! Answers> > >> > >> > >> > >> > > --> > >> > > Here's a new way to find what you're looking for - Yahoo! Answers> > >> > >> > >> > >> > > > > >> >> >> >>

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
 

RE: [flexcoders] Icon/Image with LinkBar

2006-08-02 Thread Jack W. Caldwell @ Zingit Technologies, Inc.





To All:
 
Like I said I must have been brain dead . . . 
.
 
I just used a series of LinkButtons w/icon within a 
VBox.
 
Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jack W. Caldwell @ 
Zingit Technologies, Inc.Sent: Wednesday, August 02, 2006 1:32 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
Icon/Image with LinkBar



I must be brain dead but I can not find a way to 
place an icon/image next to a LinkBar menu 
item. 
I am rather amazed that the LinkBar has NO icon or 
image setting. 
I would have thought this would have been a default 
property.  
So much for assuming . . . 
I have tried to manufacture a solution with an HBox 
and placing an  and then the 
LinkBar, but it does not line up correctly. 
I read that the LinkBar is a Subclass of the NavBar, 
which has a iconField property, but I don't 
know how to use this in regards to the 
LinkBar. 
Anyone have any ideas or can point to an 
example? 
Thanking you in advance, 
Jack 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Rendering a variable height text area inside a datagrid cell

2006-08-02 Thread Rick Root
I'm trying to render a textarea containing HTML within a datagrid cell.

I would like the HEIGHT of the datagrid cell to adjust accordingly so 
that the textarea doesn't have to scroll.

Different rows in the datagrid will thus be different heights.

Is that possible?

Here's my column:










Right now, I get a standard height textarea with scrollbars.

Rick


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

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

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

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





[flexcoders] Re: Rendering a variable height text area inside a datagrid cell

2006-08-02 Thread Doug Lowder
Try:




--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:
>
> I'm trying to render a textarea containing HTML within a datagrid 
cell.
> 
> I would like the HEIGHT of the datagrid cell to adjust accordingly 
so 
> that the textarea doesn't have to scroll.
> 
> Different rows in the datagrid will thus be different heights.
> 
> Is that possible?
> 
> Here's my column:
> 
> 
>   
>   
>   
>   
>   
> 
> 
> 
> Right now, I get a standard height textarea with scrollbars.
> 
> Rick
>







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

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

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

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




[flexcoders] Re: Chart multiple vertical axis

2006-08-02 Thread dkhvost
Hi,

I thought of that but the problem is this synchronization between 
the different charts. I looked at the code for the second axis and 
understand that all I need to do is create a new datatransform.

--- In flexcoders@yahoogroups.com, "Karl Johnson" <[EMAIL PROTECTED]> 
wrote:
>
> You may be able to accomplish what you want to do by overlaying 
multiple
> chart components on top of each other, with transparent 
backgrounds. Not
> sure I can exactly picture what you want the chart to look like, 
but it
> would be easy to align multiple charts on top of each other and 
then you
> can just set the dataproviders of each chart independently. You 
could be
> clever and create a custom component that could then generate X 
chart
> components within a canvas depending on properties set on your 
customer
> component. There would be some pretty clever ways to make it slick 
and
> very reusable. But I might be off base with what you are trying to 
do.
> If so, let me know.
>  
> Karl 
>  
> Cynergy Systems, Inc.
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of dkhvost
> Sent: Tuesday, August 01, 2006 11:27 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Chart multiple vertical axis
> 
> 
> 
> Hi,
> 
> Has anyone tried to develop a component that extends the
> CartesianChart and has the ablity to show multiple vertical axis. 
The
> idea is to display for example multiple dataseries with different
> units. I am thinking of undertaking this task and understand that 
it
> involves multiple datatransforms, etc... If anyone has an ideas or
> sugestions please let me know.
> e.g.
> LineChart
> --Temperature 'F (range 60 - 90 )
> --Humidity % (range 0 - 100)
> --Outside Temperature (range 40 - 120)
>






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

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

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

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





RE: [flexcoders] need to be able to cancel change to a DateField

2006-08-02 Thread Karl Johnson





You might be able to find another event to capture before 
the commit, but it can be a bit hacky sometimes because of the different way to 
interact with form inputs fire different events. The way to do this that 
would ensure you get it right everytime is to store the dateField value in a 
variable, and if they don't confirm the change, change the selectedDate back to 
what was in the Date variable. If they do confirm, then set the variable equal 
to the new selectedDate.
 
If you are doing this in a lot of places, then simply 
extend the DateField and add a new property on it called previousDate or 
something like that. Then you could build the confirmation and change back logic 
right into the component.
 
Karl 
 
Cynergy Systems, Inc.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
jrjazzman23Sent: Wednesday, August 02, 2006 3:22 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] need to be able to 
cancel change to a DateField


I'd like to be able to ask the user to confirm their date selectionBEFORE 
the selectedDate field gets set. The Change event appears tonot be 
cancelable. Is there any other way to accomplish 
this?thanks
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Keyboard.isDown

2006-08-02 Thread Cleiton Luiz Coradelli





This function was 
removed from Flex 2 final. 
 
Is there 
a similar function?
How can I 
implement a workaround?
 
TIA
Cleiton
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: [Flex 2, newbie] Label with width matching text

2006-08-02 Thread astgtciv
Found the problem, it was because I was adding the Label instance to a class 
extending mx.core.Container, which didn't do any sizing/layout of its 
subcomponents. Once I changed it to extend mx.containers.Canvas, things 
worked out automagically. 



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

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

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

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




RE: [flexcoders] lazy evaluation - invalidating item/property on the client side

2006-08-02 Thread Jeff Vroom












One thing you could do is to just call
getItem on the referenced DataService using the id of the referenced item.  This
will cause the referenced item to be reloaded (its state updated).   

 

It would also be possible to null out the
member variable which stores the reference, without calling our Managed.setProperty
method (as that would actually trigger a change to the server).  Off the top
of my head though, if you are using the [Managed] keyword  the codegen we
do to add the managed support would probably prevent that from being possible
(all references to the member variable turn into the get/set methods we
generate for that property which use the Managed.set/getProperty methods).  But
this would be a possibility if you did the work of adding the managed support
to the class yourself.

 

Jeff

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller
Sent: Tuesday, August 01, 2006
11:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] lazy
evaluation - invalidating item/property on the client side



 







I am using lazy evaluation and I was wondering if
there is a way to
mark some managed item properties as invalid. Meaning that even though
the some lazily evaluated item property has been already retrieved I
would like to mark this property as invalid on the Client so that when
referencing this property again would result in querying the server again

Thanks, 

--- Dmitry






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] get rid of light line on top of panel

2006-08-02 Thread Pan Troglodytes



I've been playing with panels and I haven't been able to get the light colored line to not show up on top, no matter what I do.  Is there some way to do this?  I played with the Flex 2 Style Explorer at 
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html and used these settings. Panel {    cornerRadius: 0;   headerHeight: 50;   borderThickness: 0;   dropShadowEnabled: false;
   roundedBottomCorners: false;   textAlign: center;   backgroundAlpha: 0;   borderAlpha: 0;   highlightAlphas: 0, 0;   borderStyle: undefined;   borderColor: #0066ff;   titleStyleName: "myTitleStyle";
} .myTitleStyle {   }-- Jason 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Binding data in one MXML component to a Text component in a different MXML compo

2006-08-02 Thread Jason
Binding data in one MXML component to a Text component in a different
MXML component - need help please

 

I seem to be missing what the link is between different MXML
components.  What I want to do is load in external XML, populate a
data Model with the loaded data, and bind that data to a dozen
different MXML components controlled by a ViewStack.  I can do what I
want when I am in one MXML file, but I am having a problem talking
between MXML files.  I need to bind components in one MXML file to a
Model in a different MXML file

 

In the sample below the obvious problem is that the
PatientSummaryView.mxml component does not have access to the
patientSummaryExternal Model defined in Main.mxml.  I do not know how
to make that connection.  I have tried a half-dozen different options
with name spaces and eventHandlers, but I cannot seem to get it to
work.  I'm sure I am just missing a basic concept, but I cannot find
the answer I need in the help.  If you can give me any tips I would
appreciate it.

 





http://www.adobe.com/2006/mxml"; xmlns="*">



  

 





 

 





http://www.adobe.com/2006/mxml"; xmlns="*"
width="300" height="300">

 

[flexcoders] Re: get rid of light line on top of panel

2006-08-02 Thread Doug Lowder
Setting headerHeight to 0 does it, but you'll have to throw your own 
label into the panel if you want a header title to show up.


--- In flexcoders@yahoogroups.com, "Pan Troglodytes" 
<[EMAIL PROTECTED]> wrote:
>
> I've been playing with panels and I haven't been able to get the 
light
> colored line to not show up on top, no matter what I do.  Is there 
some way
> to do this?  I played with the Flex 2 Style Explorer at
> 
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleEx
plorer.htmland
> used these settings.
> 
> Panel {
>cornerRadius: 0;
>headerHeight: 50;
>borderThickness: 0;
>dropShadowEnabled: false;
>roundedBottomCorners: false;
>textAlign: center;
>backgroundAlpha: 0;
>borderAlpha: 0;
>highlightAlphas: 0, 0;
>borderStyle: undefined;
>borderColor: #0066ff;
>titleStyleName: "myTitleStyle";
> }
> 
> .myTitleStyle {
>}
> 
> -- 
> Jason
>







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

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

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

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





[flexcoders] Re: Binding data in one MXML component to a Text component in a different MXML c

2006-08-02 Thread Renaun Erickson
The scope of the controls is not the same.

patientSummaryExternal is in the parents scope of any components
inside of PatientSummaryView.

Try:


Or added a Bindable attribute to the PatientSummaryView that you use
to bind to the text field.  I encourage using a ModelLocator pattern
for anything major.

Renaun

--- In flexcoders@yahoogroups.com, "Jason" <[EMAIL PROTECTED]> wrote:
>
> Binding data in one MXML component to a Text component in a different
> MXML component - need help please
> 
>  
> 
> I seem to be missing what the link is between different MXML
> components.  What I want to do is load in external XML, populate a
> data Model with the loaded data, and bind that data to a dozen
> different MXML components controlled by a ViewStack.  I can do what I
> want when I am in one MXML file, but I am having a problem talking
> between MXML files.  I need to bind components in one MXML file to a
> Model in a different MXML file
> 
>  
> 
> In the sample below the obvious problem is that the
> PatientSummaryView.mxml component does not have access to the
> patientSummaryExternal Model defined in Main.mxml.  I do not know how
> to make that connection.  I have tried a half-dozen different options
> with name spaces and eventHandlers, but I cannot seem to get it to
> work.  I'm sure I am just missing a basic concept, but I cannot find
> the answer I need in the help.  If you can give me any tips I would
> appreciate it.
> 
>  
> 
> 
> 
> 
> 
> http://www.adobe.com/2006/mxml"; xmlns="*">
> 
>  id="patientSummaryExternal"/>
> 
>  bottom="40" right="10" creationPolicy="all">  
> 
>  id="patientSummaryView" label="Patient Summary"/> 
> 
> 
> 
> 
> 
>  
> 
>  
> 
> 
> 
> 
> 
> http://www.adobe.com/2006/mxml"; xmlns="*"
> width="300" height="300">
> 
>  

Re: [flexcoders] Binding data in one MXML component to a Text component in a different MXML compo

2006-08-02 Thread Ralf Bokelberg
Hi Jason,

make the model a property of your PatientSummaryView
Cheers,
Ralf.

On 8/2/06, Jason <[EMAIL PROTECTED]> wrote:
> Binding data in one MXML component to a Text component in a different
> MXML component - need help please
>
>
>
> I seem to be missing what the link is between different MXML
> components.  What I want to do is load in external XML, populate a
> data Model with the loaded data, and bind that data to a dozen
> different MXML components controlled by a ViewStack.  I can do what I
> want when I am in one MXML file, but I am having a problem talking
> between MXML files.  I need to bind components in one MXML file to a
> Model in a different MXML file
>
>
>
> In the sample below the obvious problem is that the
> PatientSummaryView.mxml component does not have access to the
> patientSummaryExternal Model defined in Main.mxml.  I do not know how
> to make that connection.  I have tried a half-dozen different options
> with name spaces and eventHandlers, but I cannot seem to get it to
> work.  I'm sure I am just missing a basic concept, but I cannot find
> the answer I need in the help.  If you can give me any tips I would
> appreciate it.
>
>
>
> 
>
> 
>
> http://www.adobe.com/2006/mxml"; xmlns="*">
>
>  id="patientSummaryExternal"/>
>
>  bottom="40" right="10" creationPolicy="all">
>
>  id="patientSummaryView" label="Patient Summary"/>
>
> 
>
> 
>
>
>
>
>
> 
>
> 
>
> http://www.adobe.com/2006/mxml"; xmlns="*"
> width="300" height="300">
>
>   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
>
>
>
>
>
>
>


-- 
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany


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

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

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

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





RE: [flexcoders] need to be able to cancel change to a DateField

2006-08-02 Thread Joan Lafferty












Here is a quick example of how you can do
it. 

 



 



 

    

   

    

 

 



 



 

Good luck.

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl Johnson
Sent: Wednesday, August 02, 2006
1:19 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] need to
be able to cancel change to a DateField



 







You might be able to find another event to
capture before the commit, but it can be a bit hacky sometimes because of the
different way to interact with form inputs fire different events. The way
to do this that would ensure you get it right everytime is to store the
dateField value in a variable, and if they don't confirm the change, change the
selectedDate back to what was in the Date variable. If they do confirm, then
set the variable equal to the new selectedDate.

 

If you are doing this in a lot of places,
then simply extend the DateField and add a new property on it called
previousDate or something like that. Then you could build the confirmation and
change back logic right into the component.

 

Karl 

 

Cynergy Systems, Inc.

 







From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jrjazzman23
Sent: Wednesday, August 02, 2006
3:22 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] need to be
able to cancel change to a DateField



I'd like to be able to ask the user to confirm their
date selection
BEFORE the selectedDate field gets set. The Change event appears to
not be cancelable. Is there any other way to accomplish this?

thanks








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Re: Binding data in one MXML component to a Text component in a different MXML c

2006-08-02 Thread Marco Casario





Hi,
here is the code you need :
 
Main Application MXML :
 
http://www.adobe.com/2006/mxml" 
 layout="vertical" xmlns:miocomp="assets.*" 
> 
 

 
Your Component :
 
http://www.adobe.com/2006/mxml" 
width="400" 
height="300">
 
hope that helps you
best,
Marco Casario
http://casario.blogs.com
 
 
 
 

  - Original Message - 
  From: 
  Renaun 
  Erickson 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, August 02, 2006 11:35 
  PM
  Subject: [flexcoders] Re: Binding data in 
  one MXML component to a Text component in a different MXML c
  
  
  The scope of the controls is not the 
  same.patientSummaryExternal is in the parents scope of any 
  componentsinside of PatientSummaryView.Try:Or added a 
  Bindable attribute to the PatientSummaryView that you useto bind to the 
  text field. I encourage using a ModelLocator patternfor anything 
  major.Renaun--- In [EMAIL PROTECTED]ups.com, 
  "Jason" <[EMAIL PROTECTED]> wrote:>> Binding data in one MXML 
  component to a Text component in a different> MXML component - need 
  help please> > > > I seem to be missing what the 
  link is between different MXML> components. What I want to do is load 
  in external XML, populate a> data Model with the loaded data, and bind 
  that data to a dozen> different MXML components controlled by a 
  ViewStack. I can do what I> want when I am in one MXML file, but I am 
  having a problem talking> between MXML files. I need to bind components 
  in one MXML file to a> Model in a different MXML file> > 
  > > In the sample below the obvious problem is that the> 
  PatientSummaryView.mxml component does not have access to the> 
  patientSummaryExternal Model defined in Main.mxml. I do not know 
  how> to make that connection. I have tried a half-dozen different 
  options> with name spaces and eventHandlers, but I cannot seem to get 
  it to> work. I'm sure I am just missing a basic concept, but I cannot 
  find> the answer I need in the help. If you can give me any tips I 
  would> appreciate it.> > > > > > 8"?>> > http://www.adobe.com/2006/mxml" 
  xmlns="*">> > > 
  id="patientSummaryExternal"/>> > > bottom="40" right="10" 
  creationPolicy="all"> > > > 
  id="patientSummaryView" label="Patient Summary"/> > > 
  > > > 
  > > > > > > > 8"?>> > http://www.adobe.com/2006/mxml" 
  xmlns="*"> width="300" height="300">> > 
   
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] sending parameters from Flex2 to AMFPHP

2006-08-02 Thread FineLine












You are only sending one single array parameter.
You can either read it as one parameter in AMFPHP, as Impudent1 suggests, or
you can send it as multiple parameters like:

 

gateway.call(“Service.operation”,
new Responder(resultFunction, faultFunction), param1, param2, param3 …)

 

Cheers, Tim

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of arnold_charming
Sent: Wednesday, 2 August 2006
11:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] sending
parameters from Flex2 to AMFPHP



 







Hi!

I'm having some difficulties sending parameters from Flex to AMFPHP.
Because flex has to send 2 parameters, AMFPHP always complains I
haven't sent the second argument, never the less the second argument
in in the array.

Below is my code:

var arrPosredovani:Array = new Array();
arrPosredovani[0] = ["1","1"];
arrPosredovani[1] = ["2","2"];

gateway.call("Projekt.shraniProjekt", new
Responder(onResult,
onFault), arrPosredovani);

I also tried like

var arrPosredovani:Array = [["1","1"],["2","2"]]

and still AMFPHP complains about not sending the right number of
parameters. If I change my AMFPHP function to allow only one parameter
then passing variables from Flex to AMFPHP works as it should. Also
this function works just fine in browser of AMFPHP.

What am I doing wrong?
I'm using the latest version of AMFPHP 1.2






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: Problem with drawn lines appearing outside the bounds of container on resize.

2006-08-02 Thread wayne_badu_johnson
I have the same issue. Did anyone from Adobe comment on this one?


--- In flexcoders@yahoogroups.com, "Steven Toth" <[EMAIL PROTECTED]> 
wrote:
>
> Can anyone comment?  Anyone from Adobe have any insight?  Thanks.
> 
> --- In flexcoders@yahoogroups.com, "Steven Toth"  
> wrote:
> >
> > I have a Canvas that I'm drawing on using the graphics.lineTo() 
> method 
> > of the Canvas. When I resize the browser window so the the 
Canvas 
> gets 
> > smaller the lines that were in the Canvas now extend outside the 
> bounds 
> > of the Canvas and show on other containers.  The only thing I 
have 
> been 
> > able to do to remove them is to call the graphics.clear() of the 
> > Canvas.  The clipContent property of the Canvas is set to true 
and 
> it 
> > still shows the lines outside of the bounds of the Canvas.  Is 
> this 
> > expected behavior?  What needs to be done to have the lines 
drawn 
> on 
> > the Canvas resize with the Canvas to stay contained within the 
> bounds 
> > of the Canvas?  I expected that to happen by default.  I'm using 
> Flex 2 
> > Beta 3.
> > 
> > Thanks.
> > 
> > -Steven
> >
>







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

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

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

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





[flexcoders] Re: Scrolling drawing API content?

2006-08-02 Thread wayne_badu_johnson
Thanks Dan, maybe some confusion but I am trying to 'activate' the 
scrollbars of the container. Even though the drawn content is a 
child of the container, boundaries aren't being recognised.

Any more thoughts?

Another version which may make it clearer:

http://www.adobe.com/2006/mxml"; 
layout="absolute" creationComplete="initApp()">
 


   
  

   








--- In flexcoders@yahoogroups.com, "Daniel Freiman" <[EMAIL PROTECTED]> 
wrote:
>
> you need to explicitly set the size of lineSprite (and maybe it's 
parents).
> 
> lineSprite.width = 200;
> lineSprite.height = 900;
> 
> generally you would want this in the createChildren or measure 
functions if
> you were creating a new component, but here you just want it before
> lineSprite is added to it's parent.  Using width or measuredWidth 
or
> measuredMinWidth or explicitMinWidth should work.
> 
> - Dan
> 
> On 8/2/06, wayne_badu_johnson <[EMAIL PROTECTED]> wrote:
> >
> > Hi
> > I am having trouble when adding dynamic graphics content to a
> > container in getting the container to scroll this content.
> >
> > So in a nutshell, I have some AS adding graphics/lineTo content 
to a
> > sprite class and then adding that as a child to a UIComponent, 
then
> > adding to a mxml declared container (tried variations Panel, 
HBox,
> > Canvas etc). The lines are being drawn however as the drawn 
conent
> > is larger than the visible container are I would have thought the
> > scrollbars for the target container to kick in. Hope this makes 
some
> > sense.
> >
> > Sample:
> > 
> > http://www.adobe.com/2006/mxml";
> > layout="absolute" creationComplete="initApp()">
> > 
> > 
> > 
> > 
> > 
> > 
> >
> >
> >
> > Any help appreciated
> > Cheers
> > Wayne
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>






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

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

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

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





[flexcoders] Easy Question: can't connect to flash debugger?

2006-08-02 Thread G
I am trying to use the flash debugger, and failing.  I
have the flash debug player installed, and from inside
fdb I type, for instance:

run http://localhost:8080/flex/AnotherTest.mxml

fdb immediately returns saying "Failed to connect;
session timed out."

At the same time, a new browser window opens to that
URL, and it loads properly.

Right when it starts loading a small pop-up window
appears asking me "Where is the Flash debugger host
running?"  I've tried answering "localhost," tried
127.0.0.1, and my machine's IP address, nothing helps.

The Flash documentation mentions this pop-up, but the
instructions are highly unhelpful:  "You will need to
ensure that your server configuration settings and the
URL used to invoke the MXML file are correct"

Can anyone help?

Thanks!


Greg


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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

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

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

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





[flexcoders] Re: Cairngorm: Managing Application State

2006-08-02 Thread christophers1228
Thanks for the input Brennan,

This makes sense because once you get into the child components,
this.currentState I believe refers to the component itself and not the
application.  
 So would you have the view update the model directly or would you
have a command that updates the model?

Thanks for the input,
Chris

--- In flexcoders@yahoogroups.com, "dreuimar" <[EMAIL PROTECTED]> wrote:
>
> Chris,
> 
> What I usually do is have something like:
> 
>  
> 
> ...
> 
>  
>
>  
>  
>  
>
>
>  
>  
>  
>
>
>  
>
>  
>
>  
> 
> And at the creation complete of the application I"ll simply put:
> model.selectedState = model.SOMESTATE;
> 
> Then whenever you want to switch just set model.selectedState to
> something else.'
> 
> Brennan
> 
> --- In flexcoders@yahoogroups.com, "christophers1228"
>  wrote:
> >
> > Thanks for the input.  Maybe I've been misunderstanding the way to use
> > them from the beginning. ( very possible )
> > 
> > Let me give a better example, to make sure i'm not way out in left
> field.
> > 
> > This is a typical way I manage the state.
> > 
> > 
> >   
> >   
> >   
> > 
> > 
> > Model:
> >  public static var workflowState:Number = 0;
> >  public static var VIEWING_SOMETHING:Number = 0;
> >  public static var VIEWING_SOMETHING_ELSE:Number = 1;
> >  public static var VIEWING_ANOTHER_THING:Number = 2;
> > 
> > Inside of a view:
> >  
> > 
> > it seems like this should accomplish the same thing:
> > 
> >   
> > 
> >
> > 
> >   
> >   
> > 
> >
> > 
> >   
> >   
> > 
> >  
> > 
> >   
> > 
> > 
> > Inside of a view:
> > 
> > 
> > I have noticed in messing around with it, that maybe you could bind
> > the current state to the model and change from a number to a string.
> > 
> > sorry for the long post, just trying to learn something :)
> > 
> > Thanks, 
> > Chris
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Renaun Erickson"  wrote:
> > >
> > > The states as used in Cairngorm will not correlate with the
> > >  in Flex 2.  The serve different purposes.  Well let me
> > > step back and say, this is how I feel about it.
> > > 
> > > Flex 2 states are good for view/control states where Cairngorm
> > > workflow states are just that work/process flow.  
> > > 
> > > Thats not to say you can't have an attribute on the Cairngorm
model to
> > > facilitate something you are trying to do with 
> > > 
> > > Renaun
> > > 
> > > --- In flexcoders@yahoogroups.com, "christophers1228"
> > >  wrote:
> > > >
> > > > Hello,
> > > > I've been using cairngorm for about a year now (flex 1.5) and
I just
> > > > started some projects using flex 2. (I have to admit I've been
using
> > > > and still trying to understand at the same time :) )
> > > > I was just wondering, how do the new view states in flex2 fit in
> with
> > > > managing the state in the model.
> > > > 
> > > > i.e.  ModelLocator.workflowState = ModelLocator.VIEWING_SOMETHING;
> > > >  vs. 
> > > > 
> > > > 
> > > > 
> > > > I just got to the point were I was pretty comfortable with the
> flow of
> > > > cairngorm (it's taught me alot about architecture) I'm just
> wondering
> > > > how to fit some of the new features of flex2 in.
> > > > 
> > > > Any ideas?
> > > >
> > >
> >
>







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

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

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

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




[flexcoders] Flex plugin conflicts with Aptana plugin

2006-08-02 Thread Uday M. Shankar
Hi All,
I have been using flex builder since the beta version. Since the final 
was released, I have been using that. Last week, I got my license key 
and registered my flex builder. Since then I have been getting a weird 
error. The editor was showing "Invalid identifier" all across the code. 
But, this was only in the Actionscript editor. After spending some time 
trying to fix this problem, I realized that the problem was because of 
the Aptana plugin. Somehow the aptana plugin interferes with the flex 
compiling. When I disabled aptana, everything was back to normal.

If anyone else is facing the same problem, and you have aptana 
installed, you might wanna try disabling it.

Regards,
Uday








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

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

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

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




[flexcoders] Re: Developing on Linux?

2006-08-02 Thread csewhiff
--- In flexcoders@yahoogroups.com, "Nick Collins" <[EMAIL PROTECTED]> 
wrote: 
 
> well, you can use any IDE you want with the SDK, you just won't  
> have all the nice code hinting and completion and such.  
 
>it would be a pain in the ass to do so. 
 
It is a PITA, which is why I was looking for alternatives. 
 
I don't even use the GUI builder but the code completion sure is 
nice. 
 
 





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

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

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

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





  1   2   >