[flexcoders] Re: how to show/hide a line in a chart

2006-08-30 Thread shemeshkale
anyone? please help!

--- In flexcoders@yahoogroups.com, shemeshkale [EMAIL PROTECTED] wrote:

 Igor, it seems u misunderstood my question.
 please read my first post again - i want to show/hide only ONE line
 (LineSeries) not the whole chart.
 your answer will hide the whole chart!
 since LineSeries can NOT have IDs the solution is not that simple.
 
 again:
 i have one chart with 4 different lines in it.
 i want to show/hide only ONE of them.
 tnx.
 
 
 
 
 --- In flexcoders@yahoogroups.com, Igor Costa igorcosta@ wrote:
 
  Hi there
  
  Just put an id to each linechart you have than
  
  at the mx:Script
  
  you could also do that.
  
  public function mouseEvent(event):Void{
  // add the event here
   }
  LinecharId._visible = false;
  or
  lineCharId2._visible = true;
  
  Just that
 








--
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] Why my compiled swf is loading too slowly?

2006-08-30 Thread Satish





Anybody have idea on this??

  - Original Message - 
  From: 
  Satish 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, August 19, 2006 10:55 
  AM
  Subject: Re: [flexcoders] Why my compiled 
  swf is loading too slowly?
  
  I think my application is initalizing and taking 
  long time to load.
  Because i am seeing preloader with persentile for 
  a long time.
  
  
  Thanks Karl,
  
- Original Message - 
From: 
Karl Johnson 
To: flexcoders@yahoogroups.com 

Sent: Thursday, August 17, 2006 4:34 
PM
Subject: RE: [flexcoders] Why my 
compiled swf is loading too slowly?

When you say it is loading slowly, do you mean it takes 
a long time to download? Or does it take a long time to initialize, create 
all of the controlsand render? When it is taking a long time, are you 
seeing the preloader?

Karl
Cynergy Systems, Inc.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
SatishSent: Thursday, August 17, 2006 1:25 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Why my compiled 
swf is loading too slowly?



Hi,
 Previous ly we are directly 
accessing th site with .mxml url. Thta time file was loading too slowly. But 
afterwords, we are loading compiled .swf file. It is much 
better.

assume, we are having two swfs
 1.compiled swf is 400KB. 

 2. and one animated swf is 
1.5MB. 
here for our site animated swf it self is 
loading much faster then my compiled swf. Why it is happenning like this? 
What we have to do to load our compiled .swf also to be loaded much 
fastly.


Thanks
Satish KC.
 
__._,_.___





--
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 dissolve effect in a transition

2006-08-30 Thread de.newsight
I try to use the dissolve effect in a transition to fade out 2 panels,
but the effect don't work. How can I make it work?

mx:transitions
 mx:Transition fromState=* toState=other
  mx:Parallel
   mx:Dissolve target={panel1} duration=1000 alphaFrom=1.0
alphaTo=0.0 /
   mx:Dissolve target={panel2} duration=1000 alphaFrom=1.0
alphaTo=0.0 /
  /mx:Parallel
 /mx:Transition
/mx:transitions

Thanks, Artur





--
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] BUMP: Re: Help with adding datagrid to non-visible Sprite

2006-08-30 Thread Tom Chiverton
On Tuesday 29 August 2006 19:54, wayneposner wrote:
 Since I'm using an AS class extending Sprite, there is no option for
 the callLater() method.  

I don't understand.
You draw your stuff, making the place you are drawing it to visible.
Then you callLater another method to do the printing and then hide or remove 
the stuff you drew.

Why does Sprite prevent you doing this ?

-- 
Tom Chiverton
Helping to evangelistically envisioneer holistic materials



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] Can Flex Data Services Compile on the Fly?

2006-08-30 Thread Tom Chiverton
On Tuesday 29 August 2006 17:35, Tracy Spratt wrote:
 Actually, FDS does still retain the ability to compile and serve .mxml

That's not FDS doing the compile though, is it ? FDS is a Data Service.
It happens to come with some magic that can compile mxml via a web request 
too.

-- 
Tom Chiverton
Helping to collaboratively coordinate magnetic e-commerce



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] Can Flex Data Services Compile on the Fly?

2006-08-30 Thread João Fernandes
Tom,It is, 

I think it's the  FlexMxmlServlet the responsible for the mxml compilation
at the server side.

I wouldn't make much sense to take that ability out from 1.5 to 2.

João Fernandes 
   

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: quarta-feira, 30 de Agosto de 2006 9:32
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Can Flex Data Services Compile on the Fly?

On Tuesday 29 August 2006 17:35, Tracy Spratt wrote:
 Actually, FDS does still retain the ability to compile and serve .mxml

That's not FDS doing the compile though, is it ? FDS is a Data Service.
It happens to come with some magic that can compile mxml via a web request 
too.

-- 
Tom Chiverton
Helping to collaboratively coordinate magnetic e-commerce



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



 





--
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] Architecture question

2006-08-30 Thread Paul Andrews





OK, interesting stuff!

It's not clear from your description how a given 
user would choose the right application build for them.

I can see two possibilities.

1) A flex front end loads a menu (from a web 
service) offering a list of application builds to the user (I suppose this might 
change for different users, or even just be a single choice for each user?). The 
application UI specifics are then loaded into the flex app and the UI 
reconfigured.

2) A flex front end loads a menu (as before) but 
instead of reconfiguring the UI, executes a separate pre-compiled swf that 
implements the appropriate UI. The pre-compiled swf would have been created when 
the desktop app
generated the configuration info, it would then 
translate the generated configuration to mxml, invoke the compiler to generate 
the swf and add the swf reference to the list of apps offered to the 
user.

Both these options would provide a fairly seamless 
experience for the user, with the only delays being experienced (not by the end 
user) when generating a new UI using the desktop app.

Paul

  - Original Message - 
  From: 
  Jeremy Merritt 
  
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, August 30, 2006 1:08 
  AM
  Subject: Re: [flexcoders] Architecture 
  question
  Thanks for the input Paul.The desktop application is a 
  tool to build dynamic models of systems and author an interface for others to 
  interact with the model. The interface consist of input objects, 
  (sliders, knobs, input fields, etc), and outputs like graphs and table. 
  A dashboard or sorts to run the simulation. If an author of such models 
  wishes to share the model with others, currently they need to direct the user 
  to download a "player" version of the software to interact with the model. 
  The application we want to build will allow the author to upload their 
  work to a website where they can share the interface of their model with 
  others. An online "player", if you will, that will only require the 
  end-user to have a web browser with the Flash Player installed. That 
  said, it's not unreasonable to have the author do the conversion from the 
  desktop file format into a SWF in a conversion application. I'm leaning 
  toward this approach, because the final SWF would only need to interact with 
  the web service to actually run the model, and record the end-users input 
  decisions. I hope this clarifies things. I welcome others 
  feedback on the pro/cons of this approach vs a dynamically created 
  interface.Thanks,Jeremy
  On 8/29/06, Paul 
  Andrews [EMAIL PROTECTED] wrote:
  







- Original Message - 

  From: 
  Jeremy Merritt 
  To: 
  flexcoders@yahoogroups.com 
  Sent: 
  Tuesday, August 29, 2006 10:16 PM
  Subject: 
  [flexcoders] Architecture question
  
  Hi all,I would like some feedback from the group collective 
  about the approach I'm thinking about taking to implementing an 
  application using Flex for the UI.There is an existing desktop 
  application and the goal of the new application is to be able to run the 
  files created by the desktop app in a web browser. We've already got 
  the guts of the desktop app implemented as a web service -- now we need to 
  add UI. So here is the question: the files output by the desktop 
  app have XML that marks up the interface, complete with x and y 
  coordinates. What would work best? - To have a generic MXML 
  file that uses ActionScript to parse the XML and create the components 
  needed for the UI on the fly and lay them out according to the XML markup 
  - or-- To create a conversion utility that creates an MXML 
  file based on the desktop app's XML and then invoke the Flex compiler to 
  output an SWF. This approach would require me to redistribute the 
  Flex SDK, which seems to be okay according to the license. I'm 
  leaning toward the latter option as it puts the burden of figuring out the 
  layout of the UI and all that jazz on the conversion utility. The 
  resultant SWF would then just communicate with the web service and run the 
  app. What are your thoughts on this?
  

Well, I'm really curious as to what it is that 
needs a dynamic interface to be built like this.

My first thought was(as you suggest) to 
go with an xml transformation to mxml if the UI doesn't need to be rebuilt 
every single time, but I'm wary about what the user experience would be - 
there would be a delay in doing the transformation and then compiling then 
invoking a swf. There may be a better user experience by running a swf, then 
reading and interpreting the xml. In the second situation, there's no 
recompile andtransformation overhead.

Essentially your application is reading an xml 
configuration file from the web service, then configuring 

Re: [flexcoders] Architecture question

2006-08-30 Thread Abdul Qabiz



So it's like two different things...- Creating UI- Using UI (or Sharing with others ?)I am not sure of the software's work flow, but you can still ship default UI as pre-compiled SWFs along with corresponding UI source XML. You can provide a tool to users, where they can customize/personalize/create UIs, view shared UIs by other users or share their UIs. This tool can probably do the compilation in background.
This would be more usable solution, in my opinion. When user enters a tool with a intention to create UIs, s/he aware of the work flow there. Where as many users would probably never create UI except using default ones? So they should not face any delays..
No matter how complex the task a product is trying to accomplish, the simple parts of the task should remain simple - Jef Raskin-abdulOn 8/30/06, 
Paul Andrews [EMAIL PROTECTED] wrote:













  






OK, interesting stuff!

It's not clear from your description how a given 
user would choose the right application build for them.

I can see two possibilities.

1) A flex front end loads a menu (from a web 
service) offering a list of application builds to the user (I suppose this might 
change for different users, or even just be a single choice for each user?). The 
application UI specifics are then loaded into the flex app and the UI 
reconfigured.

2) A flex front end loads a menu (as before) but 
instead of reconfiguring the UI, executes a separate pre-compiled swf that 
implements the appropriate UI. The pre-compiled swf would have been created when 
the desktop app
generated the configuration info, it would then 
translate the generated configuration to mxml, invoke the compiler to generate 
the swf and add the swf reference to the list of apps offered to the 
user.

Both these options would provide a fairly seamless 
experience for the user, with the only delays being experienced (not by the end 
user) when generating a new UI using the desktop app.

Paul

  - Original Message - 
  
From: 
  Jeremy Merritt 
  
  To: 
flexcoders@yahoogroups.com 
  Sent: Wednesday, August 30, 2006 1:08 
  AM
  Subject: Re: [flexcoders] Architecture 
  question
  Thanks for the input Paul.The desktop application is a 
  tool to build dynamic models of systems and author an interface for others to 
  interact with the model. The interface consist of input objects, 
  (sliders, knobs, input fields, etc), and outputs like graphs and table. 
  A dashboard or sorts to run the simulation. If an author of such models 
  wishes to share the model with others, currently they need to direct the user 
  to download a player version of the software to interact with the model. 
  The application we want to build will allow the author to upload their 
  work to a website where they can share the interface of their model with 
  others. An online player, if you will, that will only require the 
  end-user to have a web browser with the Flash Player installed. That 
  said, it's not unreasonable to have the author do the conversion from the 
  desktop file format into a SWF in a conversion application. I'm leaning 
  toward this approach, because the final SWF would only need to interact with 
  the web service to actually run the model, and record the end-users input 
  decisions. I hope this clarifies things. I welcome others 
  feedback on the pro/cons of this approach vs a dynamically created 
  interface.Thanks,Jeremy
  On 8/29/06, Paul 
  Andrews [EMAIL PROTECTED] wrote:
  







- Original Message - 

  From: 
  Jeremy Merritt 
  To: 
  flexcoders@yahoogroups.com 
  Sent: 
  Tuesday, August 29, 2006 10:16 PM
  Subject: 
  [flexcoders] Architecture question
  
  Hi all,I would like some feedback from the group collective 
  about the approach I'm thinking about taking to implementing an 
  application using Flex for the UI.There is an existing desktop 
  application and the goal of the new application is to be able to run the 
  files created by the desktop app in a web browser. We've already got 
  the guts of the desktop app implemented as a web service -- now we need to 
  add UI. So here is the question: the files output by the desktop 
  app have XML that marks up the interface, complete with x and y 
  coordinates. What would work best? - To have a generic MXML 
  file that uses ActionScript to parse the XML and create the components 
  needed for the UI on the fly and lay them out according to the XML markup 
  - or-- To create a conversion utility that creates an MXML 
  file based on the desktop app's XML and then invoke the Flex compiler to 
  output an SWF. This approach would require me to redistribute the 
  Flex SDK, which seems to be okay according to the license. I'm 
  leaning toward the latter option as it puts the burden of figuring out the 
  layout of the UI and all that 

Re: [flexcoders] Why my compiled swf is loading too slowly?

2006-08-30 Thread Abdul Qabiz



Hi,Animation would probably timeline based. Flash player starts playing the content as soon as data for frames is available on client.So for 1.5 meg file without any preloader, it would start playing faster than a swf with preloader.
In case of your Flex app, preloader makes sure entire swf is downloaded on client and only then application is initialized. That's why you notice the delay.Hope, this helps...-abdul
On 8/30/06, Satish [EMAIL PROTECTED] wrote:













  






Anybody have idea on this??

  - Original Message - 
  
From: 
  Satish 
  To: 
flexcoders@yahoogroups.com 
  Sent: Saturday, August 19, 2006 10:55 
  AM
  Subject: Re: [flexcoders] Why my compiled 
  swf is loading too slowly?
  
  I think my application is initalizing and taking 
  long time to load.
  Because i am seeing preloader with persentile for 
  a long time.
  
  
  Thanks Karl,
  
- Original Message - 

From: 
Karl Johnson 
To: 
flexcoders@yahoogroups.com 

Sent: Thursday, August 17, 2006 4:34 
PM
Subject: RE: [flexcoders] Why my 
compiled swf is loading too slowly?

When you say it is loading slowly, do you mean it takes 
a long time to download? Or does it take a long time to initialize, create 
all of the controlsand render? When it is taking a long time, are you 
seeing the preloader?

Karl
Cynergy Systems, Inc.


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of 
SatishSent: Thursday, August 17, 2006 1:25 AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Why my compiled 
swf is loading too slowly?



Hi,
 Previous ly we are directly 
accessing th site with .mxml url. Thta time file was loading too slowly. But 
afterwords, we are loading compiled .swf file. It is much 
better.

assume, we are having two swfs
 1.compiled swf is 400KB. 

 2. and one animated swf is 
1.5MB. 
here for our site animated swf it self is 
loading much faster then my compiled swf. Why it is happenning like this? 
What we have to do to load our compiled .swf also to be loaded much 
fastly.


Thanks
Satish KC.
 

  















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Why my compiled swf is loading too slowly?

2006-08-30 Thread Rogerio Gonzalez



I have the same trouble here. My application downloads alright, but the time for initiate is too much. ALmost 50% of the total time for ready to use is just for initializing.My trouble is with bindable, I think.
I get this error:warning: unable to bind to property 'Complement' on class 'Object' (class is not an IEventDispatcher)Probably because I use:[Bindable]public var Candidato:Object = {Complement:}
Any ideas on how to optimize?RogerioOn 8/30/06, Abdul Qabiz [EMAIL PROTECTED]
 wrote:












  



Hi,Animation would probably timeline based. Flash player starts playing the content as soon as data for frames is available on client.So for 1.5 meg file without any preloader, it would start playing faster than a swf with preloader.
In case of your Flex app, preloader makes sure entire swf is downloaded on client and only then application is initialized. That's why you notice the delay.Hope, this helps...-abdul

On 8/30/06, Satish [EMAIL PROTECTED] wrote:














  






Anybody have idea on this??

  - Original Message - 
  
From: 
  Satish 
  To: 

flexcoders@yahoogroups.com 
  Sent: Saturday, August 19, 2006 10:55 
  AM
  Subject: Re: [flexcoders] Why my compiled 
  swf is loading too slowly?
  
  I think my application is initalizing and taking 
  long time to load.
  Because i am seeing preloader with persentile for 
  a long time.
  
  
  Thanks Karl,
  
- Original Message - 

From: 
Karl Johnson 
To: 

flexcoders@yahoogroups.com 

Sent: Thursday, August 17, 2006 4:34 
PM
Subject: RE: [flexcoders] Why my 
compiled swf is loading too slowly?

When you say it is loading slowly, do you mean it takes 
a long time to download? Or does it take a long time to initialize, create 
all of the controlsand render? When it is taking a long time, are you 
seeing the preloader?

Karl
Cynergy Systems, Inc.


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@
yahoogroups.com] On Behalf Of 
SatishSent: Thursday, August 17, 2006 1:25 AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Why my compiled 
swf is loading too slowly?



Hi,
 Previous ly we are directly 
accessing th site with .mxml url. Thta time file was loading too slowly. But 
afterwords, we are loading compiled .swf file. It is much 
better.

assume, we are having two swfs
 1.compiled swf is 400KB. 

 2. and one animated swf is 
1.5MB. 
here for our site animated swf it self is 
loading much faster then my compiled swf. Why it is happenning like this? 
What we have to do to load our compiled .swf also to be loaded much 
fastly.


Thanks
Satish KC.
 

  















  















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Problem: Flex no connection???

2006-08-30 Thread Rafael M. Martinelli



Matt,I'm not using named remote object even thought it's simple to change because we're using a Facade. So it's stateless.In our last version, we put a filter mapping 
AMFGatewayServlet forcing closing the connection. Do you think it's something related to that? Or with named remote object?
Thanks for your answer!!!On 8/30/06, Matt Chotin [EMAIL PROTECTED] wrote:




















Did you use a named remote object? Is it
stateful or stateless? Maybe you need to put some debugging to make sure that your
call to close the connection is actually happening? 



Matt 











From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Rafael M. Martinelli
Sent: Tuesday, August 29, 2006
11:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem:
Flex no connection???











Hi
everybody,

We're facing a strange error with a Flex application. We're using Flex 1.5,
Oracle Application Server with connection pool with Oracle 10g.

We put the application in production and Afr 6 to 10hs it returns no data. We
see the little clock running and no data comes. We can't figure
what is happening, if Flex does not call java POJO, if the problem is with the
connection pool. Watching the logs we can't see any error either. 

We tried to put a filter at web.xml mapping to AMFGatewayServlet forcing committing and closing the
connection.

It seams that it could be a configuration problem or something like that. Does
anybody faced the same problem? 

Thanks.
-- 
Rafael M. Martinelli 
Office.+5511 5506.5154
Mobile. +5511
8142.6902 
D-Click Web  Mobile Solutions 
[EMAIL PROTECTED]

www.dclick.com.br/blog
www.dclick.com.br 












-- Rafael M. Martinelli Office.+5511 5506.5154Mobile. +5511 8142.6902 D-Click Web  Mobile Solutions 
[EMAIL PROTECTED] www.dclick.com.br/blogwww.dclick.com.br

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Getting mouse and keyboared events to pass through transparent parts of flex?

2006-08-30 Thread Erik Kärrsgård
Title: Meddelande





Hi,

I'mexperimanting withthe possibility of 
getting user interaction(mouse, keyboard...) to reach html content below 
transparent parts of a flex-application. I can get this to work when creating 
plain old flashes with Studio 8 but so far I've had no luck 
indoingso with Flex. 

Gettingthe 
transparency to workis not a problem (and itlooks very nice to) but 
the texts and links below is annoyingly unreachable...

Does anyone have a 
clue to why this is and/or how to make it work?

Thanks,
Erik 
Kärrsgård
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: Problems saving XML data

2006-08-30 Thread mthielman11
NO that got cut off too Ugh this site is frustrating me.




private function storePhysician_Basics():void {
//srvsave.url =
parentApplication.dataServerURL+store?a=b;
testsave.send();






--
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: CairngormEvent Antipattern

2006-08-30 Thread Andrea Varga
Got it. Thanks for the explanation.

There were many discussions about the FronController just growing and 
growing. Do you happen to have a solution for refactoring?
(For example, on a large project, when there are many developers 
working, all of them has to edit the FrontController to add an event.)

Andi


e_baggg wrote:

Andi-
  Nothing changes with the FrontController and Commands. You would
still have 3 separate commands (1 each for add, update, delete).

Remember, the generic CairngormEvent classes calls:
super(commandName) 

so the dispatchEvent() for each call would like this:

 dispatchEvent(new WidgetEvent(WidgetFrontController.ADD_WIDGET,
widgetVO));
 dispatchEvent(new WidgetEvent(WidgetFrontController.UPDATE_WIDGET,
widgetVO));
 dispatchEvent(new WidgetEvent(WidgetFrontController.DELETE_WIDGET,
widgetVO));

and each Command will apropriately be called just like it was. The key
 is we're no longer hard-coding the WidgetFrontController.ADD_WIDGET
into each CairngormEvent sublcass.

--- In flexcoders@yahoogroups.com, Andrea Varga [EMAIL PROTECTED] wrote:
  

e_baggg wrote:



Hello group-
 I hadn't seen a previous post regarding this explicity so I wrote a
small blog about it. It helps reduce the #of classes that get created
when using Cairngorm (a big issue with me since the client is VERY
picky with their swf file sizes). This blog shows the code for usuing
a reusable CairngormEvent versus creating separate classes for each
dispatchable event.

  

http://ebaggg.blogspot.com/2006/08/cairngormevent-anti-pattern-we-all.html


Thoughts?

  

The ideea is good, but how do you handle them further?
Will you have 3 different commands associated with the same event? And 
each Command will start with an if statement, to see if that's the


event 
  

he supposed to answer to? Doesn't seem right.

Andi










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



 

  



-- 
Andrea Varga
Managing Partner / Project Manager
Certified Macromedia Flash MX 2004 Developer 

--
Spin Development Srl

Tel: +44 207 043 1304
Fax: +44 207 681 1376
Skype ID: vargaandrea

Mon-Fri : 8 AM - 5 PM GMT+2
Saturday: 8 AM - 4 PM GMT+2 (Support only)
--



--
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] how to call a method in a custom mxml component

2006-08-30 Thread keithtucci
how do i go about calling a method in a custom mxml component from the 
main applciation...

currently in my mxml component, 'creationcomplete' calls my init 
method, but it only fires one time, when the applciation loads, but i 
need to fire that init method at other times, after the application has 
already loaded...

any help will be greatly appreciated...

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] Reskinning of HDividedBox... in flex 1.5

2006-08-30 Thread Renee
I want to reskin divider of  HDividedBox...

I have extended HDividedBox, but not able to reskin dividerSkin.

Can anybody help?

Thanks
-Renee

-- 
Sent using Laszlo Mail. Try it yourself.
http://www.laszlomail.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 client cache and new versions

2006-08-30 Thread shrefler
I have a question about how client cache handles flex 2 swfs.  I'm 
making an application where some users speed is an issue.  After the 
initial download, should the flex application be stored in the users 
cache?  Also, how can you force a re-download of the application if a 
new version is released? 

THanks

Sam





--
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: i can not find flex 1.5 SDK

2006-08-30 Thread Matt Chotin












You can download the developer edition of Flex
1.5 from here: http://www.stage.adobe.com/support/flex/downloads_updaters.html#flex15



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of greg dunf
Sent: Saturday, August 26, 2006
5:43 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: i
can not find flex 1.5 SDK











well the project i'm working on is verry in terms of
coding and, th gusy that i work with predict at leat 1 month until converting
it to AS3 and then retesting it... i kinda have a deadline to respect... and it
is 90% complete bug free and so on, but i'm missing one of the most important
modules that includes the comand line compiler i am looking for. ofcourse there
are alternatives, but this is the fastest thing right now. the adobe takeover
kinda messed things up for us. And we hoped that Flex 2 SDK would be compatible
with AS2. but it is not. we eventually will convert to AS3 but we do not have
enough time to do this now. As i talked to adobe reps, I really have to empty
my pokets to get what i am looking for and i really do not know if the 1.5 SDK
came with a comandline compiler and when i called they did not know for sureif
there was or not... i was tlaking with the wrong people ofcourse... don't they
have support for developers ? 

Someone sent me a pack. of sources and libraries, and i have my colegues
looking over that. I am hoping they will find something to use fast. anyway, it
is really kind of ulgy that Adobe tries to attack the market with Flex 2 As3
flash 9 and everythingelese. It feels like they want us to forget all about
macromedia... 

I hope some flex fanatic might have copy of that compiler :) i'll
think of something to reward him.
Thank you for your feedback. Hope i'll find what i need :) 



On 8/25/06, Johannes
Nel johannes.nel@gmail.com
wrote:











you mean the
compiler...heh. yeah mate, that ain't dodgy at all. 



On 8/25/06, dan_marcu_eee  [EMAIL PROTECTED]com
 wrote:





On adobe.com there are some traces of
flex 1.5 SDK. From that kit i
need the executable used to compile SWF's. I can not use the one
in
flex 2 sdk because it seems it does not recognize the source code
and
i get compile errors. So i really need it badly to complete one
of my 
projects. If anyone knows or has the 1.5 SDK please help me!






--





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: 

flexcoders-unsubscr[EMAIL PROTECTED]com

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














-- 
j:pn 
http://www.lennel.org






















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Bubbling, Practical Use?

2006-08-30 Thread Johannes Nel



nested items in a view.On 8/29/06, lostinrecursion [EMAIL PROTECTED] wrote:
Hi all, I understand the concept of bubbling and know what it doeswith no issue. But, for some reason I can't think of a practical
application of it?Could someone just give me a brief example of when bubbling might beused in a real world app?I'd appreciate it.-Kenny--Flexcoders Mailing List
FAQ: 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/-- j:pn http://www.lennel.org


__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Can Flex Data Services Compile on the Fly?

2006-08-30 Thread João Fernandes












FDS should cache your app
after the first compilation and only recompile if changes were made.



João Fernandes











From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dorkie dork from dorktown
Sent: terça-feira, 29 de Agosto de
2006 17:32
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Can Flex
Data Services Compile on the Fly?











In a
somewhat related question is there any limitations to this approach?

For example, if you have the single server license of FDS (that comes
with Flex 2) installed on a single server is there a limit to the
number of clients that connect to it to compile with it? IE Does FDS
crap out if you have more than 1000 mxml files requested by FDS and
FDS has to compile them all. The 1000 is just a variable number, it
could 100 or million.

On 8/29/06, João Fernandes joaopedromartinsfer[EMAIL PROTECTED]com
wrote:
 Tom,

 FDS can compile on the fly like Flex 1.x. You can select from the 2
options:
 1) Compile it and deploy the swf file
 2) Deploy the mxml files and have FDS compile it for you.

 João Fernandes

 -Original Message-
 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of Tom Chiverton
 Sent: terça-feira, 29 de Agosto de 2006 13:53
 To: [EMAIL PROTECTED]ups.com
 Subject: Re: [flexcoders] Can Flex Data Services Compile on the Fly?

 On Thursday 24 August 2006 20:29, this_is_louie wrote:
  would only compile server side. Now that flex 2 is out, can FDS still
  compile on the fly? If it can, can you point me in the right
direction?

 FDS v2 doesn't compile anything - it's just a service your SWF can use.
 If you mean can you precompile Flex 2 applications ? the
answer is yes.

 --
 Tom Chiverton
 Helping to challengingly promote front-end bandwidth

 

 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









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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Can Flex Data Services Compile on the Fly?

2006-08-30 Thread Matt Chotin












Nope, no enforced limit to the number of
clients in FDS Express.



Matt











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of dorkie dork from dorktown
Sent: Tuesday, August 29, 2006
9:32 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Can Flex
Data Services Compile on the Fly?











In a
somewhat related question is there any limitations to this approach?

For example, if you have the single server license of FDS (that comes
with Flex 2) installed on a single server is there a limit to the
number of clients that connect to it to compile with it? IE Does FDS
crap out if you have more than 1000 mxml files requested by FDS and
FDS has to compile them all. The 1000 is just a variable number, it
could 100 or million.

On 8/29/06, João Fernandes joaopedromartinsfer[EMAIL PROTECTED]com
wrote:
 Tom,

 FDS can compile on the fly like Flex 1.x. You can select from the 2
options:
 1) Compile it and deploy the swf file
 2) Deploy the mxml files and have FDS compile it for you.

 João Fernandes

 -Original Message-
 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of Tom Chiverton
 Sent: terça-feira, 29 de Agosto de 2006 13:53
 To: [EMAIL PROTECTED]ups.com
 Subject: Re: [flexcoders] Can Flex Data Services Compile on the Fly?

 On Thursday 24 August 2006 20:29, this_is_louie wrote:
  would only compile server side. Now that flex 2 is out, can FDS still
  compile on the fly? If it can, can you point me in the right
direction?

 FDS v2 doesn't compile anything - it's just a service your SWF can use.
 If you mean can you precompile Flex 2 applications ? the
answer is yes.

 --
 Tom Chiverton
 Helping to challengingly promote front-end bandwidth

 

 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









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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: Webservice and column name question.

2006-08-30 Thread dinger0007
Correct, the structure (column names) are dynamic based on the
webservice operations. Let see if I can be more specific.

This is what I have so far, it returns the actual data in the console
window. But want to display the column names in the console 

test =  new ArrayCollection( event.result as Array);
for each(var item in test) {
trace(item.Node1); 
}







--
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 2, getting slower as code grows

2006-08-30 Thread Johannes Nel



switch off incremental compilation. build when you need it, or deploy to a seperate server and build thereOn 8/29/06, j_sevlie 
[EMAIL PROTECTED] wrote:Is there some kind of coding limitation on how much Flex Builder can
handle before it gets completely unusable?I'm currently working on a rather complicated project that's sittingat about 1,700 lines of code, and the code editor in Flex Builder isgetting painfully slow to work with.If I just start typing anything
I can watch my CPU spike to 100% and sit there until I'm done typing.I still need to use Design mode because it's *awesome* for liningeverything up.Is this a case where I'm just going to have to find a
way to break everything up into smaller components?About 70% of the1,700 lines is all Actionscript.I've got a P4 with 2 GB of RAM and Flex Builder will routinely consume400-600MB of memory while I'm working.
Thanks, Jacob--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 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/
-- j:pn http://www.lennel.org

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] HTTPService Result to ArrayCollection

2006-08-30 Thread Mark McCray


What gets returned from my HTTPService call l looks like this:jobsjoblocNY/locclientSPRI/clientproduct/productnameNon-Project Time/namejobno93106/jobnoest_status/est_status/jobjoblocNY/locclientSPRI/clientproduct/productname Trafficking TOS/namejobno93110/jobnoest_status/est_status/job/jobsAnd I'm interested in populating the datagrid where one row equals one job listing from the xml.Maybe I need to format my dataGrid differently?thanks,markOn Aug 29, 2006, at 3:23 PM, Darren Houle wrote:Depends on your XML data. An ArrayCollection is basically an Array of Arrays, so... if your XML is complicated and multilayered with lots of nested tags in nested tags I'm not sure you can easily convert it to an ArrayCollection. But... if your XML looks something like this:personnameJohn/namenameJames/namenameJude/name/personpersonnameMark/namenameLuke/namenameMatthew/name/personThen you might have a chance :-)DarrenFrom: "DJ Lift" [EMAIL PROTECTED]netReply-To: [EMAIL PROTECTED]ups.comTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] HTTPService Result to ArrayCollectionDate: Tue, 29 Aug 2006 18:09:58 -Hi there,I'm new and I don't understand something :)Hopefully someone can help me out.I have a datagrid that I am attempting to populate.I've been able to successfully populate the grid with xml from and HTTPService with noproblem.But now I want to be able to filter and create specific sort functions for the grid, which Iunderstand requires the dataProvider for the dataGrid to be an ArrayCollection. Is thistrue?If so, can i somehow take the XML result from the HTTPService and make anArrayCollection out of it? I'm having trouble attempting this.Below is what i have so far...mx:HTTPService id="jobInfoReq"	url=""http://mccray/~mm/oracle/joblookup.php">http://mccray/~mm/oracle/joblookup.php"	useProxy="false"	method="GET"	showBusyCursor="true"	mx:request xmlns="" pirateLoc{pirateLocSelector.label}/pirateLoc pirateClient{pirateClientSelector.label}/pirateClient pirateProduct{pirateProductSelector.label}/pirateProduct	/mx:request /mx:HTTPService--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Flex 2 patch timeline

2006-08-30 Thread Adam Reynolds
Before I dive headlong into my first full Flex 2 project, can anybody 
from Adobe give me an update as to when/if there will be a patch for Flex 2?

Adam






--
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] loading whole Application

2006-08-30 Thread Johannes Nel



creationPolicy=allOn 8/28/06, arnold_charming [EMAIL PROTECTED] wrote:
Hi!How to load the whole application? I'm asking this because I'm usingsevral viewstack and it is evident that the screens have to be loaded
every time.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 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/
-- j:pn http://www.lennel.org

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Is this a bug? About Number type.

2006-08-30 Thread beloved_zhou
I am using Flex2.0, and I try to get a result about 3 multiply 7.9,
the result should be 23.8, but I got 23.703.

Here is a sample code:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:TextInput x=76 y=348 id=txt_1 text=3/
mx:TextInput x=291 y=348 id=txt_2 text=7.9/
mx:TextInput x=560 y=348 id=txt_3/
mx:Button x=474 y=348 label=Button click=doIt()/
mx:Script
![CDATA[
private var num1:Number = 3;
private var num2:Number = 7.9;

private function doIt():void
{
txt_3.text = String(Number(txt_1.text) * Number(txt_2.text));
trace(num1 * num2);
}
]]
/mx:Script
/mx:Application









--
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: Re: XML Binding Problem

2006-08-30 Thread Tracy Spratt












Im mistaken, it is deeper than the
highlight, it is not possible to select an item, ie, the selectedItem property
is null in the click handler. Still looking.



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy
 Spratt
Sent: Tuesday, August 29, 2006
1:52 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Re:
XML Binding Problem











It appears to be a problem with the mouseover
highlight. The tiles are still enabled, still respond to the mouseclick, but
there is no visible feedback.

I also see that the plain List does not have this problem.

Tracy


From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Tracy Spratt
Sent: Tuesday, August 29, 2006 1:23 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Re: Re: XML Binding Problem

I am seeing the issue I think you are describing in your second sample app.

I'll see if I can figure out what is happening.

Tracy


From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Tracy Spratt
Sent: Tuesday, August 29, 2006 12:58 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Re: Re: XML Binding Problem

I guess I am still not following. When you say freeze exactly what
do
you mean. What are the symptoms?

Tracy

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of Ethan Farmer
Sent: Monday, August 28, 2006 7:08 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Re: Re: XML Binding Problem

Tracy,
Yes, if the data changes enough, the tilelist still works . I don't get 
why an XML Object that hasn't changed would freeze up the tilelist while

a generic Object wouldn't (that is why I intentionally put a value in 
that wouldn't change much). My problem is this:
1) I am retrieving the XML data from a server
2) I need the tilelist to refresh itself (not append) with the returned 
data even if the data hasn't changed
3) The data does not always change between retrievals which causes havoc

in my tilelist.

Oh, and I am using a URLLoader to retrieve the data not an HTTPService 
(which has too big of a footprint for what I need to do but works 
properly). Thanks for your reply.

-Ethan

 I don't see the problem with this example. Except that day.toString()

 doesn't change often enough to see the change when you click. Change 
 it to .hours and it clearly is not frozen

 Tracy

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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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 client cache and new versions

2006-08-30 Thread Benoit Hediard
The swf is stored in the user cache.
To be sure that your users get the latest version, you can simply add a
version parameter in the url of the swf.
Ex.: myApp.swf?version=2.0.34

Benoit Hediard 

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de shrefler
Envoyé : mercredi 30 août 2006 14:27
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Flex client cache and new versions

I have a question about how client cache handles flex 2 swfs.  I'm making an
application where some users speed is an issue.  After the initial download,
should the flex application be stored in the users cache?  Also, how can you
force a re-download of the application if a new version is released? 

THanks

Sam





--
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] Can Flex Data Services Compile on the Fly?

2006-08-30 Thread Douglas Knudsen



ok...sory to hijack the thread here but, what is the advantage of using the 'compile on the fly'? I can see one, no need for a build process, can drop in files just like in CF,JSP, ASP world without compiling. Any others?
DKOn 8/30/06, Matt Chotin [EMAIL PROTECTED] wrote:
























Nope, no enforced limit to the number of
clients in FDS Express.



Matt











From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf
Of dorkie dork from dorktown
Sent: Tuesday, August 29, 2006
9:32 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Can Flex
Data Services Compile on the Fly?











In a
somewhat related question is there any limitations to this approach?

For example, if you have the single server license of FDS (that comes
with Flex 2) installed on a single server is there a limit to the
number of clients that connect to it to compile with it? IE Does FDS
crap out if you have more than 1000 mxml files requested by FDS and
FDS has to compile them all. The 1000 is just a variable number, it
could 100 or million.

On 8/29/06, Jo�o Fernandes [EMAIL PROTECTED]

wrote:
 Tom,

 FDS can compile on the fly like Flex 1.x. You can select from the 2
options:
 1) Compile it and deploy the swf file
 2) Deploy the mxml files and have FDS compile it for you.

 Jo�o Fernandes

 -Original Message-
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of Tom Chiverton
 Sent: ter�a-feira, 29 de Agosto de 2006 13:53
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Can Flex Data Services Compile on the Fly?

 On Thursday 24 August 2006 20:29, this_is_louie wrote:
  would only compile server side. Now that flex 2 is out, can FDS still
  compile on the fly? If it can, can you point me in the right
direction?

 FDS v2 doesn't compile anything - it's just a service your SWF can use.
 If you mean can you precompile Flex 2 applications ? the
answer is yes.

 --
 Tom Chiverton
 Helping to challengingly promote front-end bandwidth

 

 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









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



















-- Douglas Knudsenhttp://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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Buffer progress bar for streaming FLV

2006-08-30 Thread Abdul Qabiz



Hi,bytesTotal and bytesLoaded are used when you use progressive flv download. In case of streaming (via FMS/FCS),your actual file is not downloaded rather bits are streamed over pipeTo show buffer progress, you can use NetStream's bufferLength and bufferTime properties instead of bytesTotal/bytesLoaded.
-abdulOn 8/30/06, Chris Simeone [EMAIL PROTECTED] wrote:













  



Hi All,

I've been trying to create a Buffering progress bar for streaming
FLV (via FMS) with the mx:videoDisplay component. But, the
videoDisplay is not firing progress events for some odd reason. So I
changed my strategy and started using the netStream object.

The video is streaming via FMS, but the netStream bytesLoaded and
bytesTotal properties are always zero. Any ideas what I may be doing
wrong. The code's below. 

Also, it would be great if anyone can show how to pull this of with
the mx:videoDisplay component as well!!!

Thanks!
Chris

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=*
layout=vertical horizontalAlign=left
creationComplete=onCreationComplete();
	mx:Script
		![CDATA[
	
//
		import mx.events.VideoEvent;
		import myComponents.*;
		import flash.events.*;
		import flash.net.*;
		import flash.media.Video;
		import mx.controls.*;
		import mx.core.UIComponent;
	
//
		private var nc:NetConnection;
		private var stream:NetStream;
		private var fmsUrl:String;
		private var flvName:String;
		private var video:Video;
		private var loaded_interval:Number;
	
//
		NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
	
//
		public function onCreationComplete():void
		{
			nc = new NetConnection();
			configureListeners(nc);
			
			var videoHolder:UIComponent = new UIComponent();
			videoHolder.setActualSize(700, 525);
			
			video = new Video();
			configureListeners(video);
			
			videoHolder.addChild(video);
			video.x = 0;
			video.y = 0;
			
			fmsUrl = rtmp://localhost/test_video;
			flvName = testVideo;
			theBox.addChild(videoHolder);
			nc.connect(fmsUrl);
		}
		/
		private function configureListeners(dispatcher:IEventDispatcher):void 
		{
			dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
onSecurityError);
			dispatcher.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);
			dispatcher.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
			dispatcher.addEventListener(ProgressEvent.PROGRESS, onProgress);
			dispatcher.addEventListener(Event.ENTER_FRAME, onEnterFrame);
		}
		/
		private function connectStream():void 
		{
			if (stream) 
stream.close();

			stream = new NetStream(nc);
			configureListeners(stream);
			video.attachNetStream(stream);
			stream.bufferTime = 10;
			stream.play(flvName);
			stream.client = this;
		}
		/
		private function onNetStatus(event:NetStatusEvent):void
		{
			trace(onNetStatus:  + event);
			switch (event.info.code) 
			{
 case NetConnection.Connect.Success:
	  trace(NetConnection.Connect.Success);
	  connectStream();
	  break;
 case NetConnection.Connect.Failed:
	  trace(NetConnection.Connect.Failed);
	  break;
 case NetStream.Buffer.Empty:
	  trace(NetStream.Buffer.Empty);
	  break;
 case NetStream.Buffer.Full:
	  trace(NetStream.Buffer.Full);
	  break;
 case NetStream.Play.StreamNotFound:
	  trace(stream not found:  + flvName);
	  break;
			}
		}		
		/
		private function onEnterFrame(event:Event):void
		{
			if(stream == null) return;
			var loadpct:Number = stream.bytesLoaded / stream.bytesTotal * 100;
			trace(onEnterFrame:  + event +  Loaded:  + loadpct + %);
		}
		/
		private function onProgress(event:ProgressEvent):void
		{
			trace(onProgress:  + event);
		}
		/
		private function onSecurityError(event:SecurityErrorEvent):void 
		{
			trace(onSecurityError:  + event);
		}
		/
		private function onAsyncError(event:AsyncErrorEvent):void 
		{
			trace(onAsyncError:  + event);
		}
		/
	public function onMetaData(info:Object):void
	{
			trace(metadata: duration= + info.duration +  width= +
info.width +  height= + info.height +  framerate= + info.framerate);
	}
		/
		public 

[flexcoders] Time calculation oddity

2006-08-30 Thread m88e24
The following code should result in a time of 0ms

var d1:Date = new Date();
var d2:Date = d1;

var result:Date = new Date();
result.time = d2.valueOf() - d1.valueOf();

The odd thing is that there is a 1 hour difference.
The timezoneOffset of d1 and d2 is -120
But the timezoneOffset of result is -60.

Why does the result have a different timezoneOffset? 

Is there another way of calculation time differences?

Many thanks.






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




[flexcoders] Re: TypeError: Error #1009 in AreaChart with variable Series

2006-08-30 Thread Mark
Actually, I should correct myself.  I changed it from stacked to
overlaid and I don't get the error.  However, I also don't see the
transition.  It seems that with both stacked and 100% I see the
transition and get an error, whereas with overlaid I don't get an
error but I also don't see the transistion.  Weird.

mark






--
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] How to get client IP address in flex?

2006-08-30 Thread Sandeep Malik
Hi Guys,

Is there a way to find client IP (on which the swf file is running) 
through flex or flash?

Cheers,
Sandeep






--
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] How to get client IP address in flex?

2006-08-30 Thread ?????? ????????
You can trick with request to the server. ))

Cheers,
Mozilla By

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sandeep Malik
Sent: Wednesday, August 30, 2006 4:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to get client IP address in flex?

Hi Guys,

Is there a way to find client IP (on which the swf file is running) 
through flex or flash?

Cheers,
Sandeep






--
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] Re: CairngormEvent Antipattern

2006-08-30 Thread Tom Chiverton
On Wednesday 30 August 2006 13:14, Andrea Varga wrote:
 (For example, on a large project, when there are many developers
 working, all of them has to edit the FrontController to add an event.)

This isn't a problem with a decent RCS.

As it is, we've got a CoreController and then indivdual projects extend that 
to make their application specific events.

-- 
Tom Chiverton
Helping to centrally synthesize cross-media data



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] adding buttons in to a datagrid

2006-08-30 Thread Aral Balkan


Hey Joost, Take a look at my Quick Start on Using Item Renderers: http://www.adobe.com/devnet/flex/quickstart/using_item_renderers/hth,AralOn 29 Aug 2006, at 13:49, M.Prabhakar Shenoy wrote:use button as cellrenderer for the column you want to show button in gridJoost Saanen wrote: Hi there, Is it possible to add a button in a cell of a datagrid? I search the  whole web and the help/reference but I am not able to find any  information. Thx in advance .. Regards, Joost Saanen de Informatiefabriek The Netherlands snip
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: i can not find flex 1.5 SDK

2006-08-30 Thread Tom Chiverton
On Tuesday 29 August 2006 06:49, Matt Chotin wrote:
 You can download the developer edition of Flex 1.5 from here:
 http://www.stage.adobe.com/support/flex/downloads_updaters.html#flex15

If you feel you should have access, please contact the appropriate 
authorities and give them your IP address: 194.75.179.34
-- 
Tom Chiverton
Helping to conveniently innovate fine-grained markets



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] Anyone actually able to save data from flex

2006-08-30 Thread mthielman11
I started another topic on this below, but this is a more general
question.

We have been pulling our hair out trying to save xml data back to
server from flex.  We can retrieve and view data from the server fine
but can not save.  We have tried at least 5-10 different methods and
even tried using every code sample we could find.  None of them have
worked.  We either get stream errors or no xml data getting to the
server.  

So we are wondering if the whole thing is just broken in flex.  It
does not seem possible that NONE of our exmaples have worked.  We have
looked at this every which way and nothing is working.  All we want to
do is send XML data from a form back to a server.  Thats it.  It
should not be this hard to finds information on this.  

Has anyone actually gotten data from flex to a DB without FDS using XML?







--
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: i can not find flex 1.5 SDK

2006-08-30 Thread hank williams
I
  http://www.stage.adobe.com/support/flex/downloads_updaters.html#flex15


I think the problem is in the stage thingy which suggests internal only


--
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] Anyone actually able to save data from flex

2006-08-30 Thread Jeff Tapper
I do this all the time without any issues, to both java and .net 
backends.  No FDS involved, just pushing xml back and forth with WebServices.

At 10:08 AM 8/30/2006, mthielman11 wrote:

I started another topic on this below, but this is a more general
question.

We have been pulling our hair out trying to save xml data back to
server from flex.  We can retrieve and view data from the server fine
but can not save.  We have tried at least 5-10 different methods and
even tried using every code sample we could find.  None of them have
worked.  We either get stream errors or no xml data getting to the
server.

So we are wondering if the whole thing is just broken in flex.  It
does not seem possible that NONE of our exmaples have worked.  We have
looked at this every which way and nothing is working.  All we want to
do is send XML data from a form back to a server.  Thats it.  It
should not be this hard to finds information on this.

Has anyone actually gotten data from flex to a DB without FDS using XML?







--
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] Re: Anyone actually able to save data from flex

2006-08-30 Thread mthielman11
do you mind me asking how.  We can not even get this very simple
sample to work.

?xml version=1.0 encoding=utf-8?
mx:Application pageTitle=Flex 2 Style Explorer
xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% 
  
  mx:HTTPService id=srvsave
url=http://0.0.0.4:8080/ZebraServer/store?a=b; method=POST
resultFormat=e4x contentType=application/xml /

mx:XML id=dataModel format=e4x 
physician
testabc/test
/physician
/mx:XML

mx:Script
![CDATA[  
import mx.controls.Alert;
//public var xmldata =
parentDocument.parentDocument.phyRequest.lastResult;

  private function storePhysician_Basics():void {
srvsave.send(dataModel);
}
]]
/mx:Script
mx:Button label=Save click=storePhysician_Basics();/

/mx:Application






--
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: Anyone actually able to save data from flex

2006-08-30 Thread Mike Collins
HTTPService passes strings not objects so that is most likely the 
issue.  Either convert the DataModel to a xml string or do something 
like this to pass in the variables as form variables.  

If you want to pass objects you need to use RemoteObject calls.

public function submitURL() {

var variables:Object = new Object();
// Build request
variables.parent1firstname = 
parent1firstname.text;
variables.parent1lastname = parent1lastname.text;
  
 // Submit   
submitData.request = variables;
submitData.send();
}








--
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: Buffer progress bar for streaming FLV

2006-08-30 Thread Michael Ritchie
Abdul is correct, you need to get the netstream time, use the
following code for your enterframe function:

   private function onEnterFrame(event:Event):void
   {
   if(stream == null) return;
   var loadpct:Number = stream.bytesLoaded /
stream.bytesTotal * 100;
   trace(onEnterFrame:  + event +  Loaded:  +
stream.time + %);
   }

stream.time will return the %

- mr

--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote:

 Hi,
 
 bytesTotal and bytesLoaded are used when you use progressive flv
download.
 In case of streaming (via FMS/FCS),
 your actual file is not downloaded rather bits are streamed over
pipe
 
 To show buffer progress, you can use NetStream's bufferLength and
bufferTime
 properties instead of bytesTotal/bytesLoaded.
 
 -abdul
 
 
 
 On 8/30/06, Chris Simeone [EMAIL PROTECTED] wrote:
 
Hi All,
 
  I've been trying to create a Buffering progress bar for streaming
  FLV (via FMS) with the mx:videoDisplay component. But, the
  videoDisplay is not firing progress events for some odd reason. So I
  changed my strategy and started using the netStream object.
 
  The video is streaming via FMS, but the netStream bytesLoaded and
  bytesTotal properties are always zero. Any ideas what I may be doing
  wrong. The code's below.
 
  Also, it would be great if anyone can show how to pull this of with
  the mx:videoDisplay component as well!!!
 
  Thanks!
  Chris
 
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
  layout=vertical horizontalAlign=left
  creationComplete=onCreationComplete();
  mx:Script
  ![CDATA[
 
 
//
  import mx.events.VideoEvent;
  import myComponents.*;
  import flash.events.*;
  import flash.net.*;
  import flash.media.Video;
  import mx.controls.*;
  import mx.core.UIComponent;
 
 
//
  private var nc:NetConnection;
  private var stream:NetStream;
  private var fmsUrl:String;
  private var flvName:String;
  private var video:Video;
  private var loaded_interval:Number;
 
 
//
  NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
 
 
//
  public function onCreationComplete():void
  {
  nc = new NetConnection();
  configureListeners(nc);
 
  var videoHolder:UIComponent = new UIComponent();
  videoHolder.setActualSize(700, 525);
 
  video = new Video();
  configureListeners(video);
 
  videoHolder.addChild(video);
  video.x = 0;
  video.y = 0;
 
  fmsUrl = rtmp://localhost/test_video;
  flvName = testVideo;
  theBox.addChild(videoHolder);
  nc.connect(fmsUrl);
  }
  /
  private function configureListeners(dispatcher:IEventDispatcher):void
  {
  dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
  onSecurityError);
  dispatcher.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
onAsyncError);
  dispatcher.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
  dispatcher.addEventListener(ProgressEvent.PROGRESS, onProgress);
  dispatcher.addEventListener(Event.ENTER_FRAME, onEnterFrame);
  }
  /
  private function connectStream():void
  {
  if (stream)
  stream.close();
 
  stream = new NetStream(nc);
  configureListeners(stream);
  video.attachNetStream(stream);
  stream.bufferTime = 10;
  stream.play(flvName);
  stream.client = this;
  }
  /
  private function onNetStatus(event:NetStatusEvent):void
  {
  trace(onNetStatus:  + event);
  switch (event.info.code)
  {
  case NetConnection.Connect.Success:
  trace(NetConnection.Connect.Success);
  connectStream();
  break;
  case NetConnection.Connect.Failed:
  trace(NetConnection.Connect.Failed);
  break;
  case NetStream.Buffer.Empty:
  trace(NetStream.Buffer.Empty);
  break;
  case NetStream.Buffer.Full:
  trace(NetStream.Buffer.Full);
  break;
  case NetStream.Play.StreamNotFound:
  trace(stream not found:  + flvName);
  break;
  }
  }
  /
  private function onEnterFrame(event:Event):void
  {
  if(stream == null) return;
  var loadpct:Number = stream.bytesLoaded / stream.bytesTotal * 100;
  trace(onEnterFrame:  + event +  Loaded:  + loadpct + %);
  }
  /
  private function onProgress(event:ProgressEvent):void
  {
  trace(onProgress:  + event);
  }
  /
  private function onSecurityError(event:SecurityErrorEvent):void
  {
  trace(onSecurityError:  + event);
  }
  /

[flexcoders] Re: Line chart data points being clipped off

2006-08-30 Thread RBullotta
Doh!  I actually had this in the hardcoded version of my component
(s), and switched it over to use dynamic creation of the line series 
and forgot to add it back in.

And welcome back - hope you had a great post-release adventure...






--
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: Buffer progress bar for streaming FLV

2006-08-30 Thread Chris Simeone
Hey Greg and Abdul,

That info is exactly what I needed! I'll make the changes and let you
know how it worked out.

Thank you for your responses. 

Take Care,
Chris


--- In flexcoders@yahoogroups.com, Chris Simeone [EMAIL PROTECTED] wrote:

 Hi All,
 
 I've been trying to create a Buffering progress bar for streaming
 FLV (via FMS) with the mx:videoDisplay component. But, the
 videoDisplay is not firing progress events for some odd reason. So I
 changed my strategy and started using the netStream object.
 
 The video is streaming via FMS, but the netStream bytesLoaded and
 bytesTotal properties are always zero. Any ideas what I may be doing
 wrong. The code's below. 
 
 Also, it would be great if anyone can show how to pull this of with
 the mx:videoDisplay component as well!!!
 
 Thanks!
 Chris
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
 layout=vertical horizontalAlign=left
 creationComplete=onCreationComplete();
   mx:Script
   ![CDATA[
   

//
   import mx.events.VideoEvent;
   import myComponents.*;
   import flash.events.*;
   import flash.net.*;
   import flash.media.Video;
   import mx.controls.*;
   import mx.core.UIComponent;
   

//
   private var nc:NetConnection;
   private var stream:NetStream;
   private var fmsUrl:String;
   private var flvName:String;
   private var video:Video;
   private var loaded_interval:Number;
   

//
   NetConnection.defaultObjectEncoding = 
 flash.net.ObjectEncoding.AMF0;
   

//
   public function onCreationComplete():void
   {
   nc = new NetConnection();
   configureListeners(nc);
   
   var videoHolder:UIComponent = new UIComponent();
   videoHolder.setActualSize(700, 525);
   
   video = new Video();
   configureListeners(video);
   
   videoHolder.addChild(video);
   video.x = 0;
   video.y = 0;
   
   fmsUrl = rtmp://localhost/test_video;
   flvName = testVideo;
   theBox.addChild(videoHolder);
   nc.connect(fmsUrl);
   }
   /
   private function 
 configureListeners(dispatcher:IEventDispatcher):void 
   {
   
 dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
 onSecurityError);
   dispatcher.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
onAsyncError);
   dispatcher.addEventListener(NetStatusEvent.NET_STATUS, 
 onNetStatus);
   dispatcher.addEventListener(ProgressEvent.PROGRESS, 
 onProgress);
   dispatcher.addEventListener(Event.ENTER_FRAME, 
 onEnterFrame);
   }
   /
   private function connectStream():void 
   {
   if (stream) 
   stream.close();
 
   stream = new NetStream(nc);
   configureListeners(stream);
   video.attachNetStream(stream);
   stream.bufferTime = 10;
   stream.play(flvName);
   stream.client = this;
   }
   /
   private function onNetStatus(event:NetStatusEvent):void
   {
   trace(onNetStatus:  + event);
   switch (event.info.code) 
   {
case NetConnection.Connect.Success:
 
 trace(NetConnection.Connect.Success);
 connectStream();
 break;
case NetConnection.Connect.Failed:
 trace(NetConnection.Connect.Failed);
 break;
case NetStream.Buffer.Empty:
 trace(NetStream.Buffer.Empty);
 break;
case 

RE: [flexcoders] Re: i can not find flex 1.5 SDK

2006-08-30 Thread Matt Chotin
Oops!  That was the staging site.
http://www.adobe.com/support/flex/downloads_updaters.html#flex15

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Wednesday, August 30, 2006 7:06 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: i can not find flex 1.5 SDK

On Tuesday 29 August 2006 06:49, Matt Chotin wrote:
 You can download the developer edition of Flex 1.5 from here:
 http://www.stage.adobe.com/support/flex/downloads_updaters.html#flex15

If you feel you should have access, please contact the appropriate 
authorities and give them your IP address: 194.75.179.34
-- 
Tom Chiverton
Helping to conveniently innovate fine-grained markets



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



 





--
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 Remoting and ASP.net (flourine?) examples?

2006-08-30 Thread a1111111111111
I have spent the last several years in the CF/J2EE world and have 
gotten quite used to the idea of using remoting with Flex. I just 
joined an asp.net group and I'm trying to figure out how to get Flex 
going with it. I'm not a huge fan of using webservices for data 
intensive applications. Does anyone have a tutorial on getting Flex 
2 and asp.net talking with remoting?

Thanks
-rd





--
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] Embedding fonts at runtime

2006-08-30 Thread Daniel Freiman



I altered the code a little and got it half working. It works if you're setting the imported font using setStyle, but not if you're setting the font through the TextFormat object. Simply add the lines: var content:DisplayObject = 
ldr.content; var c:Class = content[myFont]; Font.registerFont(c);to the begining of onloadercomplete.I'm going to continue working on how to get the font to show up through TextFormat.
On 8/29/06, 
Daniel Wabyick [EMAIL PROTECTED] wrote:

I just tried to dynamically load a font at runtime, and the results arenot too promising.For other's benefits, here is what I did:- Created an AS3 project and generated a SWF (SymbolEmbed.swf) with the
Symbol font embedded.- Verified the font is available in the SWF via Font.enumerateFonts();- Loaded SymbolEmbed.swf into a Flex app using the Loader class,following instructions to keep the SWF's on the same applicationDomain.
- Checked if the font is available to the Flex app, it is not.Please let me know if anyone has any ideas,-DanielCode: AS3 project with embedded font.---
public class SymbolInclude extends Sprite
{public function SymbolInclude(){[Embed(systemFont='Symbol', fontName='mySymbol',mimeType='application/x-font')]var myFont:Class;trace(here in SymbolInclude);
var fontList : Array = Font.enumerateFonts();for ( var i:String in fontList ){trace(font:  + Font( fontList[i] ).fontName);}

}}Code: Loader code in Flex app.---mx:Script ![CDATA[ private var ldr:Loader; private function onInit() : void
 { showFonts(); var context:LoaderContext = new LoaderContext(); //context.securityDomain = SecurityDomain.currentDomain; 
context.applicationDomain =ApplicationDomain.currentDomain; ldr = new Loader(); ldr.contentLoaderInfo.addEventListener( Event.COMPLETE,onLoaderComplete ); 
ldr.load( new URLRequest( SymbolInclude.swf), context ); } private function onLoaderComplete(e:Event) : void { trace(onLoaderComplete: );
 showFonts(); } public function showFonts():void { trace(showFonts());var fontList : Array = Font.enumerateFonts

();for ( var i:String in fontList ){trace(font:  + Font( fontList[i] ).fontName);} }

 ]] /mx:ScriptDaniel Freiman wrote: I have this question too but it hasn't reached the top of my to-do list yet.What I'm hoping is that is that you can embed a font in a
 swf and then load that swf at runtime using a swfloader. On 8/28/06, *Daniel Wabyick* 
[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote: Hey guys, Is there any way to include a font at runtime using Flex 2?There was a weird hack that works in Flash 8 where you load a movie that loads an
 RSL. Does anything like this work in Flex 2 ? Thanks, -Daniel -- Flexcoders Mailing List FAQ: 

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links 
http://groups.yahoo.com/group/flexcoders/
 mailto:[EMAIL PROTECTED] 
http://docs.yahoo.com/info/terms/
--Flexcoders Mailing ListFAQ: 
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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: Webservice and column name question.

2006-08-30 Thread Franck de Bruijn












Im not sure if I understand you.



What do you see in the console output? Do
you see the column names? If not, it seems youre not getting them from
the webservice.



Cheers,

Franck











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dinger0007
Sent: Wednesday, August 30, 2006
2:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Webservice and column name question.











Correct, the structure (column names) are dynamic
based on the
webservice operations. Let see if I can be more specific.

This is what I have so far, it returns the actual data in the console
window. But want to display the column names in the console 

test = new ArrayCollection( event.result as Array);
for each(var item in test) {
trace(item.Node1); 
}






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: Buffer progress bar for streaming FLV

2006-08-30 Thread Chris Simeone
Awesome!!! Worked perfectly. Thank You.

With all this in mind, is there a way to pull this of using the
mx:videoDisplay component? 

I created my app using that component but I could not figure out how
to access the stream. I figured I would do a rewrite using the
netStream object if necessary, but I would love to avoid doing that if
possible.

Thanks Again,
Chris
 

--- In flexcoders@yahoogroups.com, Michael Ritchie [EMAIL PROTECTED] wrote:

 Abdul is correct, you need to get the netstream time, use the
 following code for your enterframe function:
 
private function onEnterFrame(event:Event):void
{
if(stream == null) return;
var loadpct:Number = stream.bytesLoaded /
 stream.bytesTotal * 100;
trace(onEnterFrame:  + event +  Loaded:  +
 stream.time + %);
}
 
 stream.time will return the %
 
 - mr
 
 --- In flexcoders@yahoogroups.com, Abdul Qabiz abdul.qabiz@ wrote:
 
  Hi,
  
  bytesTotal and bytesLoaded are used when you use progressive flv
 download.
  In case of streaming (via FMS/FCS),
  your actual file is not downloaded rather bits are streamed over
 pipe
  
  To show buffer progress, you can use NetStream's bufferLength and
 bufferTime
  properties instead of bytesTotal/bytesLoaded.
  
  -abdul
  
  
  
  On 8/30/06, Chris Simeone simspace@ wrote:
  
 Hi All,
  
   I've been trying to create a Buffering progress bar for streaming
   FLV (via FMS) with the mx:videoDisplay component. But, the
   videoDisplay is not firing progress events for some odd
reason. So I
   changed my strategy and started using the netStream object.
  
   The video is streaming via FMS, but the netStream bytesLoaded and
   bytesTotal properties are always zero. Any ideas what I may be
doing
   wrong. The code's below.
  
   Also, it would be great if anyone can show how to pull this of with
   the mx:videoDisplay component as well!!!
  
   Thanks!
   Chris
  
   ?xml version=1.0 encoding=utf-8?
   mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
   layout=vertical horizontalAlign=left
   creationComplete=onCreationComplete();
   mx:Script
   ![CDATA[
  
  

//
   import mx.events.VideoEvent;
   import myComponents.*;
   import flash.events.*;
   import flash.net.*;
   import flash.media.Video;
   import mx.controls.*;
   import mx.core.UIComponent;
  
  

//
   private var nc:NetConnection;
   private var stream:NetStream;
   private var fmsUrl:String;
   private var flvName:String;
   private var video:Video;
   private var loaded_interval:Number;
  
  

//
   NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
  
  

//
   public function onCreationComplete():void
   {
   nc = new NetConnection();
   configureListeners(nc);
  
   var videoHolder:UIComponent = new UIComponent();
   videoHolder.setActualSize(700, 525);
  
   video = new Video();
   configureListeners(video);
  
   videoHolder.addChild(video);
   video.x = 0;
   video.y = 0;
  
   fmsUrl = rtmp://localhost/test_video;
   flvName = testVideo;
   theBox.addChild(videoHolder);
   nc.connect(fmsUrl);
   }
   /
   private function
configureListeners(dispatcher:IEventDispatcher):void
   {
   dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
   onSecurityError);
   dispatcher.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
 onAsyncError);
   dispatcher.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
   dispatcher.addEventListener(ProgressEvent.PROGRESS, onProgress);
   dispatcher.addEventListener(Event.ENTER_FRAME, onEnterFrame);
   }
   /
   private function connectStream():void
   {
   if (stream)
   stream.close();
  
   stream = new NetStream(nc);
   configureListeners(stream);
   video.attachNetStream(stream);
   stream.bufferTime = 10;
   stream.play(flvName);
   stream.client = this;
   }
   /
   private function onNetStatus(event:NetStatusEvent):void
   {
   trace(onNetStatus:  + event);
   switch (event.info.code)
   {
   case NetConnection.Connect.Success:
   trace(NetConnection.Connect.Success);
   connectStream();
   break;
   case NetConnection.Connect.Failed:
   trace(NetConnection.Connect.Failed);
   break;
   case NetStream.Buffer.Empty:
   trace(NetStream.Buffer.Empty);
   break;
   case NetStream.Buffer.Full:
   trace(NetStream.Buffer.Full);
   break;
   case NetStream.Play.StreamNotFound:
   trace(stream not found:  + flvName);
   break;
   }
   }
   /
   private function 

RE: [flexcoders] Flex 2 patch timeline

2006-08-30 Thread Matt Chotin












Are there specific bugs youre
looking to be addressed? Based on direct feedback as well as observation from
the various public forums weve been pretty pleased with the quality of
the release so weve held off on rushing out an updater while we work on
things like the Mac release of Flex Builder. Doesnt mean were
not fixing bugs, but weve decided to try to address more issues in a
longer cycle rather than fewer issues quickly.



If theres a specific issue that is
blocking your work use the wish form (http://www.adobe.com/go/wish)
to submit it and indicate so. There are also plenty of official support
options available to help as well (http://www.adobe.com/support/programs/flex/?tab:plans=1)



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Adam Reynolds
Sent: Wednesday, August 30, 2006
2:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 patch
timeline











Before I dive headlong into my first full Flex 2
project, can anybody 
from Adobe give me an update as to when/if there will be a patch for Flex 2?

Adam






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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 Remoting and ASP.net (flourine?) examples?

2006-08-30 Thread bridiercharles
--- In flexcoders@yahoogroups.com, a1 [EMAIL PROTECTED] wrote:

 I have spent the last several years in the CF/J2EE world and have 
 gotten quite used to the idea of using remoting with Flex. I just 
 joined an asp.net group and I'm trying to figure out how to get Flex 
 going with it. I'm not a huge fan of using webservices for data 
 intensive applications. Does anyone have a tutorial on getting Flex 
 2 and asp.net talking with remoting?
 
 Thanks
 -rd


There is a little tutorial to this adress :
http://danny-t.co.uk/index.php/tutorials/introduction-to-flash-remoting-
with-fluorine/





--
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 2 Remoting and ASP.net (flourine?) examples?

2006-08-30 Thread Clint Modien
You may want to try WebORB 2.1 Beta 5 .

http://www.themidnightcoders.com/weborb/


On 8/30/06, a1 [EMAIL PROTECTED] wrote:







 I have spent the last several years in the CF/J2EE world and have
  gotten quite used to the idea of using remoting with Flex. I just
  joined an asp.net group and I'm trying to figure out how to get Flex
  going with it. I'm not a huge fan of using webservices for data
  intensive applications. Does anyone have a tutorial on getting Flex
  2 and asp.net talking with remoting?

  Thanks
  -rd




--
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: How to get client IP address in flex?

2006-08-30 Thread Sandeep Malik
The problem is that the server can at best tell the ip of the last 
proxy which sent the request to it. So, it may be goofed by NAT etc.

Cheers,
Sandeep

--- In flexcoders@yahoogroups.com, ??  
[EMAIL PROTECTED] wrote:

 You can trick with request to the server. ))
 
 Cheers,
 Mozilla By
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Sandeep Malik
 Sent: Wednesday, August 30, 2006 4:27 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] How to get client IP address in flex?
 
 Hi Guys,
 
 Is there a way to find client IP (on which the swf file is 
running) 
 through flex or flash?
 
 Cheers,
 Sandeep
 
 
 
 
 
 
 --
 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] How to get client IP address in flex?

2006-08-30 Thread Abdul Qabiz



If you are wrapping SWF in server side script, you can easily use some server-side code to find out. SWFs are executed on client and they can not give IP address of client..Doing server-side is quite straight forward...
-abdulOn 8/30/06, ??  [EMAIL PROTECTED] wrote:













  



You can trick with request to the server. ))

Cheers,
Mozilla By

-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of Sandeep Malik
Sent: Wednesday, August 30, 2006 4:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to get client IP address in flex?

Hi Guys,

Is there a way to find client IP (on which the swf file is running) 
through flex or flash?

Cheers,
Sandeep

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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: TypeError: Error #1009 in AreaChart with variable Series

2006-08-30 Thread Ely Greenfield








There's no easy workaround. At one point I had a 
workaround which essentially involved you copying and pasting some code from the 
chart source with a line or two of change. That's kind of a sketchy thing 
to do though, since at that point your mucking with implementation details that 
are subject to change from version to version. But I'll see if I can dig up the 
workaround again.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of MarkSent: 
Tuesday, August 29, 2006 5:45 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: TypeError: Error 
#1009 in AreaChart with variable Series


First, thanks so much for your response Ely. That's an excellent 
point about setting the series array. I hadn'tconsidered that. I guess 
that's why it's such a good idea to includecode snippets. You found an issue 
I didn't know I had. I've changedthe code to build the array and then assign 
it to the series property.In my case the area chart is in fact stacked 
so I assume it's the"known" issue you've referenced in several other posts. 
I changed itfrom stacked and it works great. Unfortunately, my requirements 
arethat it be stacked. Is there a work around for this 
issue?thanks,Mark
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Cairngorm / Hibernate Best Practices

2006-08-30 Thread dreuimar
Hey everyone,

I'm working on a rather large application, and have recently
transitioned from using my own Java DAO classes to Hibernate. One
screen of the application allows clients to add and modify lists of
keywords, along with text ads (FYI, this is a project that interacts
with Google AdWords). I had autocommit set to false for my Hibernate
DS, but the problem was I had to keep using the ServiceLocator to
commit the changes. Hitherto, the application's structure was very
strictly tied to Cairngorm's design pattern, but now I'm finding that
I'm needing to deviate from it a bit. The problem I'm also having with
autocommit set to true is that I'm not receiving back AsyncTokens, and
can therefore not deal with conflicts or faults.

Is there any method any of you have used to deal with Hibernate, or
even Dataservices, with Cairngorm, and what are some of the best
practices for using the two together?

Thanks,
Brennan





--
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: Specifying LineSeries itemRenderer with Actionscript

2006-08-30 Thread Ely Greenfield







Well, in theory, we've gone to 
great lengths (and had long, heated, philisophical 'discussions' (read: knock 
down drag out fights)) over what the relationship between MXML and actionscript 
should be. Right now, we try as much as possible to follow a very strict 
'no compiler magic' policy...specifically:
 - there's are simple rules for how an 
actionscript class's API dictates how it is used in MXML. a developer 
should be able to look at a snippet of MXML and understand instantly how you 
would achieve the same thing in Actionscript (and vice 
versa).
 - variable references and expressions in MXML 
should be implemented using binding. That means a developer should be able to 
look at the MXML and know that if there are curly braces, it's a bit of code, 
and if there aren't, it's a literal value.
 - Beyond three or four core language tags 
(Script, Style, Repeater, Component, ??? ) the compiler should have no special 
knowledge of MXML other than the simple mapping rules described above. if 
it's all driven by rules and classes, then it improves the chances you the 
developer will be able to learn the rules and figure out. What's more, if it's 
driven by rules and classes, then you can extend the product by writing your own 
classes that get access to all the same features and functionality our classes 
do.

That's the theory. And the debate continues to this 
day. As we add more functionality and features to the SDK, it gets very 
tempting to try and customize the MXML Schema in ways that don't quite follow 
the basic AS--MXML mapping rules. But so far we're still resisting 
them.

Now one of the downsides of following these 'simple rules' 
is that at times the MXML for a particular construct or feature becomes much 
more verbose than we'd like it to be. In those cases, we've got three 
choices:

 1) change the AS API to generate a less 
verbose MXML syntax. This works in some cases (i.e., the API for 
constraints was changed between beta 1 and beta 2 for this reason). But 
sometimes there's just a fundamental conflict between what dictates a good AS 
API vs. a good MXML syntax. 
 2) Another option would be to just allow 
custom syntax that breaks the mapping rules for that particular component. 
We don't like doing that (see above). 
 3) A third option is to extend the rules 
to allow for simplifying the syntax. If the use case your looking at it 
general enough, and it can be tied to a generic set of inputs (i.e., a 
particular interface, or base class, rather than a specific component), that can 
be a generally useful solution. It also has a cost associated with it, and 
can be abused, so we try and be judicious in how we use it. The more we 
complexify (? nice word, huh ?) the mappping rules of MXML, the harder it gets 
to do the translation in your head as you read some markup, and the less benefit 
we get as described above. 

So in this case, we decided that the situation was 
generically useful enough to extend the language. For 'renderer' or 
'template' use cases, where you write a component that can be passed another 
component to instantiate for some sub-part of itself, we wanted to make the 
markup simple.

So here the rule is that when the compiler sees a property 
of type IFactory, MXML allows two ways of specifying it. The first is just by 
providing a class name, like so:

LineSeries 
itemRenderer="mx.charts.renderers.DiamondItemRenderer" /

In which case the compiler automatically wraps the class in 
a ClassFactory instance and assigns it.

The second is to specify an inline derived component, like 
so:

LineSeries
 itemRenderer
 Component
 
DiamondItemRenderer
 

 
/
 /

In which case the compiler reads the contents of the 
Component tag as a separate MXML component, creates a new class for it, wraps 
_it_ in a ClassFactory, and assigns that. 

So...once you know that rule, it should in theory be 
straightforward to recognize its use in some MXML or the API documentation and 
know how you replicate it yourself in AS. In theory ;)


So to answer your original question, how are you supposed 
to figure this out? Well, the answer is you're not. There should be 
documentation...either showing the specific example of how to set an item 
renderer on a series from AS, or, even better,describing the general MXML 
rule so you can abstract the idea and apply it generally. 


Having said that, I can attest to the vast amount of of 
information the doc team has to communicate to the flex developer base, and the 
heroic job they do and have done getting it out. It's an evolving process, 
and they watch this list for feedback, so things like this that cause difficulty 
should eventually make their way back into improvements to the 
doc.

Ely.




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of j_sevlieSent: 
Tuesday, August 29, 2006 11:51 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Specifying 
LineSeries itemRenderer with Actionscript


Thank you 

RE: [flexcoders] Re: how to show/hide a line in a chart

2006-08-30 Thread Ely Greenfield







Flex 1.5 or Flex 2?

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
shemeshkaleSent: Wednesday, August 30, 2006 12:28 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
how to show/hide a line in a chart


anyone? please help!--- In [EMAIL PROTECTED]ups.com, 
"shemeshkale" baldhead72@... wrote: Igor, it seems 
u misunderstood my question. please read my first post again - i want to 
show/hide only ONE line (LineSeries) not the whole chart. your 
answer will hide the whole chart! since LineSeries can NOT have IDs the 
solution is not that simple.  again: i have one chart 
with 4 different lines in it. i want to show/hide only ONE of 
them. tnx. --- In [EMAIL PROTECTED]ups.com, 
"Igor Costa" igorcosta@ wrote:   Hi 
thereJust put an id to each linechart you have 
thanat the mx:Script   
 you could also do that.public function 
mouseEvent(event):Void{  // add the event here  
}  LinecharId._visible = false;  or  
lineCharId2._visible = true;Just that 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Not finding import mx.remoting.*;

2006-08-30 Thread Louie Penaflor










Hi,



 Im trying to do some php remoting from
flexbuilder and Im getting a Definition mx.remoting could not be found.
I have flash 8 installed do I have to tell flex the directory of the mx
libraries are? Thanks and I look forward to your replies.



Louie Penaflor

Web Software Developer

World Council of Credit Unions, Inc.

Ph: (608)231-7932



This
is a transmission fromWorld Council of Credit Unions, Inc.and
contains information that is confidential. If you are not the intended
addressee or authorized to receive for the addressee, then any disclosure,
copying, distribution, or use of the contents of this message is prohibited. If
you have received this transmission in error, please destroy it and notify the
sender immediately at the transmitting e-mail address. If you are the intended
recipient, please be advised that this e-mail transmission is not encrypted or
otherwise protected from potential misappropriation or misuse.World
Council of Credit Unions, Inc.expressly disclaims any and all liability
for harm resulting from the misappropriation, interception or misuse of the
information contained in this transmission.






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: CairngormEvent Antipattern

2006-08-30 Thread lostinrecursion
This approach seems like it could be extremely useful for me as I am
starting to build a lot of larger projects, but I have a quick comment.

Forgive me if I am off base here, but is there a mistake in the code
example? I am new to Cairngorm so bear with me for a moment.

According to your example, you call the event like so:

CODE
---
var addEvent : WidgetEvent = new
WidgetEvent(WidgetController.EVENT_ADD_WIDGET, widgetVO);
dispatchEvent(addEvent);
---

But, in the Controller, the EVENT_ADD_WIDGET constant, in keeping with
Cairngorm practice, equates to the following string: addWidget

So, my question is this, if the WidgetEvent expects a parameter of
commandName, which in this case would be addWidgetCommand (Again,
assuming you are using best practice), then how does the application
call the correct command?

Is it because the FrontController automatically maps Events to
Commands? I'm a little confused.

-K







--
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: Buffer progress bar for streaming FLV

2006-08-30 Thread Chris Simeone
Ok, Below is my updated onEnterFrame() method that updates a
progressBar component. It works great. Thanks again gang!

Now I'm going to try and get this working using the mx:videoDisplay
component. I'm not sure if I can get to its netStream object, so any
ideas/recommendations would be helpful and appreciated. 

Thanks!
Chris

/
private function onEnterFrame(event:Event):void
{
if(stream == null) return;
if(duration == 0) return;
var loadpct:Number = 
Math.round(Math.ceil((stream.time/duration)*100));

if(loadpct=100)
{
bar.setProgress(loadpct,100);
bar.label= CurrentProgress +   + loadpct + 
%;
loadpct+=10;
}
if(loadpct100)
{
loadpct=0;
}
trace(onEnterFrame: Duration:  + duration +  Time:  
+
stream.time +  Loaded:  + loadpct + %);
}





--- In flexcoders@yahoogroups.com, Chris Simeone [EMAIL PROTECTED] wrote:

 Hi All,
 
 I've been trying to create a Buffering progress bar for streaming
 FLV (via FMS) with the mx:videoDisplay component. But, the
 videoDisplay is not firing progress events for some odd reason. So I
 changed my strategy and started using the netStream object.
 
 The video is streaming via FMS, but the netStream bytesLoaded and
 bytesTotal properties are always zero. Any ideas what I may be doing
 wrong. The code's below. 
 
 Also, it would be great if anyone can show how to pull this of with
 the mx:videoDisplay component as well!!!
 
 Thanks!
 Chris
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=*
 layout=vertical horizontalAlign=left
 creationComplete=onCreationComplete();
   mx:Script
   ![CDATA[
   

//
   import mx.events.VideoEvent;
   import myComponents.*;
   import flash.events.*;
   import flash.net.*;
   import flash.media.Video;
   import mx.controls.*;
   import mx.core.UIComponent;
   

//
   private var nc:NetConnection;
   private var stream:NetStream;
   private var fmsUrl:String;
   private var flvName:String;
   private var video:Video;
   private var loaded_interval:Number;
   

//
   NetConnection.defaultObjectEncoding = 
 flash.net.ObjectEncoding.AMF0;
   

//
   public function onCreationComplete():void
   {
   nc = new NetConnection();
   configureListeners(nc);
   
   var videoHolder:UIComponent = new UIComponent();
   videoHolder.setActualSize(700, 525);
   
   video = new Video();
   configureListeners(video);
   
   videoHolder.addChild(video);
   video.x = 0;
   video.y = 0;
   
   fmsUrl = rtmp://localhost/test_video;
   flvName = testVideo;
   theBox.addChild(videoHolder);
   nc.connect(fmsUrl);
   }
   /
   private function 
 configureListeners(dispatcher:IEventDispatcher):void 
   {
   
 dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
 onSecurityError);
   dispatcher.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
onAsyncError);
   dispatcher.addEventListener(NetStatusEvent.NET_STATUS, 
 onNetStatus);
   dispatcher.addEventListener(ProgressEvent.PROGRESS, 
 onProgress);
   dispatcher.addEventListener(Event.ENTER_FRAME, 
 onEnterFrame);
   }
   /
   private function connectStream():void 
   {
   if (stream) 
   stream.close();
 
   stream = new NetStream(nc);
   configureListeners(stream);
   video.attachNetStream(stream);
   

Re: [flexcoders] AUTO DELETE ITEMS IN DATAGRID

2006-08-30 Thread Nate Hardt
Does this work?

datagrid.dataProvider.removeItemAt(0);


On Aug 29, 2006, at 4:14 PM, tonyx_788 wrote:

 IS THERE ANY EXAMPLE TO DELETE THE FIRST ITEM IN A DATAGRID AFTER I
 ADDED  5? HERE IS MY CODE TO ADD ITEMS FROM ONE DATAGRID TO ANOTHER

 import mx.collections.XMLListCollection;
 import mx.rpc.events.ResultEvent;
 import mx.controls.TextInput
 import mx.controls.Alert
 import mx.rpc.events.ResultEvent;
 [Bindable]
 private var _xlcdatagrid:XMLListCollection;
 [Bindable]
 private var _xlcdatagrid2:XMLListCollection = new XMLListCollection;

 private function onResult(oEvent:ResultEvent):void
 {
 _xlcdatagrid = new XMLListCollection(oEvent.result.name)
 datagrid.dataProvider = _xlcdatagrid;
 }
 private function selectItem():void
 {
 _xlcdatagrid2.addItem(datagrid.selectedItem);
 }






 --
 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] Re: getting printed versions of the docs

2006-08-30 Thread greg h



fyi ... the following update on buying bound Flex 2 docs was posted by David today off-list at:
www.digitalmediaminute.com/article/2286/flex-20-where-are-the-docs


Hi,

I saw this note internally:

"The printed Flex docs will be available in the Adobe store on
October 12. In the meantime they are available for purchase via the
Adobe customer service center."

(Date subject to change, but the printed docs do exist now. I have a
copy here. Call our customer service center to purchase now.)

HTH,
David
Adobe

On 7/12/06, David Mendels [EMAIL PROTECTED] wrote:













  






Hello,

For people who want the printed documentation, I believe 
this will also be made available for seperate purchase. I don't know the 
date for this.

Regards,David

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: CairngormEvent Antipattern

2006-08-30 Thread Ralf Bokelberg
The frontcontroller doesn't map events to commands but strings like
WidgetController.EVENT_ADD_WIDGET to commands. So any event with a
type set to WidgetController.EVENT_ADD_WIDGET, which reaches the
frontcontroller, triggers the command, which is bound to the string
WidgetController.EVENT_ADD_WIDGET.

Cheers,
Ralf.

On 8/30/06, lostinrecursion [EMAIL PROTECTED] wrote:
 This approach seems like it could be extremely useful for me as I am
 starting to build a lot of larger projects, but I have a quick comment.

 Forgive me if I am off base here, but is there a mistake in the code
 example? I am new to Cairngorm so bear with me for a moment.

 According to your example, you call the event like so:

 CODE
 ---
 var addEvent : WidgetEvent = new
 WidgetEvent(WidgetController.EVENT_ADD_WIDGET, widgetVO);
 dispatchEvent(addEvent);
 ---

 But, in the Controller, the EVENT_ADD_WIDGET constant, in keeping with
 Cairngorm practice, equates to the following string: addWidget

 So, my question is this, if the WidgetEvent expects a parameter of
 commandName, which in this case would be addWidgetCommand (Again,
 assuming you are using best practice), then how does the application
 call the correct command?

 Is it because the FrontController automatically maps Events to
 Commands? I'm a little confused.

 -K







 --
 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] Re: Buffer progress bar for streaming FLV

2006-08-30 Thread greg h



Chris,

Regarding your post:
Now I'm going to try and get this working using the
mx:videoDisplay component. I'm not sure if I can get to its
netStream object, so any ideas/recommendations would be helpful and
appreciated. 


Last week Abdul posted a reply on this list on the thread How to assign NetStream to VideoDisplay component?

You can find Abdul's reply on the thread here: 
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg39368.html

btw ... thank you very, very much Abdul :-)

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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Not finding import mx.remoting.*;

2006-08-30 Thread Hasan Otuome






Hey Louie,

I don't believe that package exists. I've been using the attached file
in my AMFPHP projects. Maybe it can benefit you too. After dropping it
in your project root just add the following ActionScript to your app:

import
flash.net.Responder;
public var gateway:RemotingConnection;
public var response:Responder;

//basic query method
public function getData(service:String):void{
  response = new Responder(onResult, onFault); //success and
failure functions
  gateway = new
RemotingConnection("http://yourdomain.com/flashservices/gateway.php");
//connect to the gateway
  gateway.call(service, response); //call the service
}

//basic data modification method
public function updateData(service:String, params:Array):void{
  response = new Responder(onResult, onFault); //success and
failure functions
  gateway = new
RemotingConnection("http://yourdomain.com/flashservices/gateway.php");
//connect to the gateway
  gateway.call(service, response, params); //call the service
}

Then, just make those calls when necessary later on in your app. HTH...

P E A C E

Hasan
hasan.otuome.com
www.marxmedia.net
thesourcecode.org
Adobe Certified Professional (Flash MX2004 Developer) 


Louie Penaflor wrote:


  
  
  
  Hi,
  
   Im trying to
do some php remoting from
flexbuilder and Im getting a Definition mx.remoting could not be
found.
I have flash 8 installed do I have to tell flex the directory of the mx
libraries are? Thanks and I look forward to your replies.
  
  Louie Penaflor
  Web Software Developer
  World Council of Credit
Unions, Inc.
  Ph: (608)231-7932
  
  This
is a transmission fromWorld Council of Credit Unions, Inc.and
contains information that is confidential. If you are not the intended
addressee or authorized to receive for the addressee, then any
disclosure,
copying, distribution, or use of the contents of this message is
prohibited. If
you have received this transmission in error, please destroy it and
notify the
sender immediately at the transmitting e-mail address. If you are the
intended
recipient, please be advised that this e-mail transmission is not
encrypted or
otherwise protected from potential misappropriation or misuse.World
Council of Credit Unions, Inc.expressly disclaims any and all
liability
for harm resulting from the misappropriation, interception or misuse of
the
information contained in this transmission.
  
  
  


  

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7 - Release Date: 8/29/2006
  



__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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.



  






__,_._,___


package 
{
import flash.net.NetConnection;
import flash.net.ObjectEncoding;

public class RemotingConnection extends NetConnection
{
public function RemotingConnection( sURL:String )
{
objectEncoding = ObjectEncoding.AMF0;
if (sURL) connect( sURL );
}

public function AppendToGatewayUrl( s : String ) : void
{
//
}
}
}

RE: [flexcoders] Embedding fonts at runtime

2006-08-30 Thread Dirk Eismann
Yes, this is possible:
 
[Embed(source=Arial.ttf, fontName=myArial, unicodeRange=U+0041-U+005A )]
public var myClass:Class;
 
Dirk.
 



Von: flexcoders@yahoogroups.com im Auftrag von Daniel Wabyick
Gesendet: Mi 30.08.2006 18:58
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders] Embedding fonts at runtime



Awesome! I'll definitely have to check this out.

On a related note, I wonder if its possible to embed fonts with a
specific unicode range via this syntax.  It doesn't appear to be.

[Embed(systemFont='Symbol', fontName='mySymbol',
mimeType='application/x-font')]
var myFont:Class;

I know you can use @font-face, which appears to automatically generate a
variable in the class, but its not a consistently named variable. I am
sure a utility function in the class could be used to ferret out that
variable name.


Daniel Freiman wrote:

 I altered the code a little and got it half working.  It works if
 you're setting the imported font using setStyle, but not if you're
 setting the font through the TextFormat object.  Simply add the lines:

 var content:DisplayObject = ldr.content;
 var c:Class = content[myFont];
 Font.registerFont(c);

 to the begining of onloadercomplete.

 I'm going to continue working on how to get the font to show up
 through TextFormat.


 On 8/29/06, * Daniel Wabyick* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 I just tried to dynamically load a font at runtime, and the
 results are
 not too promising.

 For other's benefits, here is what I did:

 - Created an AS3 project and generated a SWF (SymbolEmbed.swf)
 with the
 Symbol font embedded.

 - Verified the font is available in the SWF via Font.enumerateFonts();

 - Loaded SymbolEmbed.swf into a Flex app using the Loader class,
 following instructions to keep the SWF's on the same
 applicationDomain.

 - Checked if the font is available to the Flex app, it is not.

 Please let me know if anyone has any ideas,

 -Daniel




 Code: AS3 project with embedded font.
 ---
 public class SymbolInclude extends Sprite
 {
 public function SymbolInclude()
 {
 [Embed(systemFont='Symbol', fontName='mySymbol',
 mimeType='application/x-font')]
 var myFont:Class;

 trace(here in SymbolInclude);
 var fontList : Array = Font.enumerateFonts();
 for ( var i:String in fontList )
 {
 trace(font:  + Font( fontList[i] ).fontName);
 }
 }
 }


 Code: Loader code in Flex app.
 ---

 mx:Script
  ![CDATA[

  private var ldr:Loader;
  private function onInit() : void
  {
  showFonts();

  var context:LoaderContext = new LoaderContext();
  //context.securityDomain =
 SecurityDomain.currentDomain;
  context.applicationDomain =
 ApplicationDomain.currentDomain;

  ldr = new Loader();
  ldr.contentLoaderInfo.addEventListener(
 Event.COMPLETE,
 onLoaderComplete );
  ldr.load( new URLRequest( SymbolInclude.swf),
 context );
  }

  private function onLoaderComplete(e:Event) : void
  {
  trace(onLoaderComplete: );
  showFonts();
  }

  public function showFonts():void {
  trace(showFonts());
   var fontList : Array = Font.enumerateFonts ();
 for ( var i:String in fontList )
 {
 trace(font:  + Font( fontList[i]
 ).fontName);
 }
}
  ]]
  /mx:Script






 Daniel Freiman wrote:
 
  I have this question too but it hasn't reached the top of my to-do
  list yet.  What I'm hoping is that is that you can embed a font
 in a
  swf and then load that swf at runtime using a swfloader.
 
  On 8/28/06, *Daniel Wabyick*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL 
 PROTECTED]  wrote:
 
  Hey guys,
 
  Is there any way to include a font at runtime using Flex
 2?  There
  was a
  weird hack that works in Flash 8 where you load a movie that
 loads an
  RSL. Does anything like this work in Flex 2 ?
 
  Thanks,
  -Daniel
 
 
  --
  Flexcoders Mailing List
  FAQ:

 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 

RE: [flexcoders] Embedding fonts at runtime

2006-08-30 Thread Brian Deitte
Title: Re: [flexcoders] Embedding fonts at runtime





One addition to this, which is that we always include the 
space character when you specify the unicode range. I'm not sure the 
original reasoning for this, but I just noticed it in the code. Also, you 
can specify multiple ranges, separated by commas. 
-Brian

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Dirk 
  EismannSent: Wednesday, August 30, 2006 2:07 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Embedding fonts 
  at runtime
  
  
  Yes, this is 
  possible:
  
  [Embed(source="Arial.ttf", 
  fontName="myArial", unicodeRange="U+0041-U+005A" )]
  public var 
  myClass:Class;
  
  Dirk.
  
  
  Von: flexcoders@yahoogroups.com im Auftrag von 
  Daniel WabyickGesendet: Mi 30.08.2006 18:58An: 
  flexcoders@yahoogroups.comBetreff: Re: [flexcoders] Embedding fonts 
  at runtime
  
  Awesome! I'll definitely have to check this out.On a 
  related note, I wonder if its possible to embed fonts with aspecific 
  unicode range via this syntax. It doesn't appear to 
  be.[Embed(systemFont='Symbol', 
  fontName='mySymbol',mimeType='application/x-font')]var 
  myFont:Class;I know you can use @font-face, which appears to 
  automatically generate avariable in the class, but its not a consistently 
  named variable. I amsure a utility function in the class could be used to 
  ferret out thatvariable name.Daniel Freiman 
  wrote: I altered the code a little and got it half 
  working. It works if you're setting the imported font using 
  setStyle, but not if you're setting the font through the TextFormat 
  object. Simply add the 
  lines: 
  var content:DisplayObject = 
  ldr.content; 
  var c:Class = 
  content["myFont"]; 
  Font.registerFont(c); to the begining of 
  onloadercomplete. I'm going to continue working on how to get 
  the font to show up through TextFormat. On 
  8/29/06, * Daniel Wabyick* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  wrote: I just tried to dynamically 
  load a font at runtime, and the results 
  are not too 
  promising. For other's benefits, here 
  is what I did: - Created an AS3 
  project and generated a SWF (SymbolEmbed.swf) 
  with the Symbol font 
  embedded. - Verified the font is 
  available in the SWF via 
  Font.enumerateFonts(); - Loaded 
  SymbolEmbed.swf into a Flex app using the Loader 
  class, following instructions to keep the 
  SWF's on the same 
  applicationDomain. - Checked if the 
  font is available to the Flex app, it is 
  not. Please let me know if anyone has 
  any ideas, 
  -Daniel Code: 
  AS3 project with embedded font. 
  --- 
  public class SymbolInclude extends 
  Sprite 
  { 
  public function 
  SymbolInclude() 
  { 
  [Embed(systemFont='Symbol', 
  fontName='mySymbol', 
  mimeType='application/x-font')] 
  var 
  myFont:Class; 
  trace("here in 
  SymbolInclude"); 
  var fontList : Array = 
  Font.enumerateFonts(); 
  for ( var i:String in fontList 
  ) 
  { 
  trace("font: " + Font( fontList[i] 
  ).fontName); 
  } 
  } 
  } Code: Loader code in Flex 
  app. 
  --- 
  mx:Script 
  ![CDATA[ 
  private var 
  ldr:Loader; 
  private function onInit() : 
  void 
  { 
  showFonts(); 
  var context:LoaderContext = new 
  LoaderContext(); 
  //context.securityDomain = 
  SecurityDomain.currentDomain; 
  context.applicationDomain = 
  ApplicationDomain.currentDomain; 
  ldr = new 
  Loader(); 
  ldr.contentLoaderInfo.addEventListener( 
  Event.COMPLETE, onLoaderComplete 
  ); 
  ldr.load( new URLRequest( 
  "SymbolInclude.swf"), context 
  ); 
  } 
  private function onLoaderComplete(e:Event) : 
  void 
  { 
  trace("onLoaderComplete: 
  "); 
  showFonts(); 
  } 
  public function showFonts():void 
  { 
  trace("showFonts()"); 
  var fontList : Array = Font.enumerateFonts 
  (); 
  for ( var i:String in fontList 
  ) 
  { 
  trace("font: " + Font( fontList[i] 
  ).fontName); 
  } 
  } 
  ]] 
  /mx:Script 
  Daniel Freiman wrote: 
I have this question too but it 
  hasn't reached the top of my to-do  list 
  yet. What I'm hoping is that is that you can embed a 
  font in a  
  swf and then load that swf at runtime using a 
  swfloader. 
On 8/28/06, *Daniel Wabyick*  
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
   mailto: 
  [EMAIL PROTECTED]  wrote: 
Hey 
  guys,  
   Is there any way to include a font at runtime 
  using Flex 2? 
  There  was 
  a  weird hack that 
  works in Flash 8 where you load a movie that 
  loads an  RSL. 
  Does anything like this work in Flex 2 ? 

  Thanks,  
  -Daniel  

  --  Flexcoders 
  Mailing List  
  FAQ: 
   http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
   Search Archives: 
   

RE: [flexcoders] Building a chat server over FDS... impossible is nothing??

2006-08-30 Thread Jeff Vroom












Just to chime in on this briefly. You
can fairly easily build a chat system using FDS without dynamically defined
client and server destinations and it is not too much work though it has some
limitations in how it will scale if you take the simple approach. I think
for Toms particular scale requirements, this approach would not be
sufficient but if you are only dealing with a server that has at most a couple
of thousand concurrent users, this may well be the easiest and best approach,
especially if your app requires some back-end integration. Of
course the exact load you could support would vary based on your setup but youd
be able to expect a reasonably high volume of messages/second hundreds but probably
not multiple thousands. To get extra scale, you have change the messaging
topology we use in todays FDS (something that we are considering adding out
of the box for a future release). Here is the outline of
this approach:



-
Basically
each user could create a Consumer with a subtopic to receive chat messages and
presence queries. You could use the IM identity as part of the subtopic
name  e.g. myIdentity.messages. The client would also
send messages to a different subtopic also based on the identity for publishing
presence events e.g. myIdentity.presence. When the client connects,
it would also send an initial I am available message to the
myIdentity.presence subtopic, then would send additional messages such as I
am idle as its presence state changes. On the server side,
youd have a session destroy listener which would send the final I
am disconnected message to this subtopic from server code. If
you are using HTTP sessions, you should probably put a timestamp in each
presence message and the timestamp for this disconnected message
should be the current time minus the session expiration time interval (since
that is the time of last request seen by this user when the session expires). Make
sure you do not replace a more recent presence event with an older one in case
this user has logged on via a different browser in the meantime.

-
Secondly,
to get visibility for other users presence events, the client would make
an RPC call to some server component you provide which supplies the client with
their buddy list. The consumer would then issue Consumer.subscribe calls
for each buddys identitys presence subtopic. Once it
had subscribed to all of these, it would send a presence query
message to the myIdentity.messages subtopic. In response to a presence
query, the client just sends a presence event to its myIdentity.presence
subtopic with its current presence state. One other type of message you
receive on the myIdentity.messages subtopic would typically be actual IMs.
The body or headers of the message can contain things like the thread-id, the
sender etc. Youd also use this channel to send other control
messages such as an add buddy request has been received.



Of course a real IM system requires
authentication and access control, buddy list approval but I think you can
implement this with these two subtopics per user. One representing data
and control messages intended for the client, the other for data and control
messages sent by the client. For buddy list approval, you
send another control message to the users myIdentity.messages
subtopic and the buddy would reply with a control message to the other users
theirIdentity.messages channel. You can extend the
class flex.messaging.services.messaging.adapters.MessageAdapter and override
the allowSubscribe and allowSend methods to add authentication. 



The scalability is limited in this
approach because with the current FDS out of the box messaging
topology, every message goes through all servers in the cluster so it will not
continue to scale as you add servers. It will work in a clustered
environment though and so will provide fault tolerance.



It is also possible for you to change the
messaging topology with a custom message adapter though now you would be
getting into some real coding effort. To do this, you must handle
subscriptions yourself by overriding the handlesSubscriptions and
then the manage method gets called with the subscribe and
unsubscribe messages. I think a more scalable topology for chat would be
to broadcast only the subscribe, unsubscribe, and presence change events, then
to cache the presence state for all users on all servers. This would add
an order of magnitude or two of scalability in an IM system. To get
complete scalability, you partition the users using some kind of a hashing
scheme. 





Jeff







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Aldo Bucchi
Sent: Tuesday, August 29, 2006
7:32 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Building
a chat server over FDS... impossible is nothing??











Hi Tom,

 I think FDS is a great solution for a lot of different problems, but it's
just not the right tool for the job in our case.

Yup, we definitely 

[flexcoders] Stroke color on lineSeries - bug?

2006-08-30 Thread Sreejith Unnikrishnan





Applying the stroke color on lineSeries does not 
seem to have any effect.
Even in the examples provided by Adobe, chart 
explorer the colors though specified, dont work!

Is this a known bug, if it is one?

Regards
Sree
__._,_.___





--
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: How to get client IP address in flex?

2006-08-30 Thread Sandeep Malik
The problem is that the server can at max tell us the last proxy 
that sent it the data, so it may be goofed by NAT etc.

Cheers,
Sandeep

--- In flexcoders@yahoogroups.com, ??  
[EMAIL PROTECTED] wrote:

 You can trick with request to the server. ))
 
 Cheers,
 Mozilla By
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Sandeep Malik
 Sent: Wednesday, August 30, 2006 4:27 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] How to get client IP address in flex?
 
 Hi Guys,
 
 Is there a way to find client IP (on which the swf file is 
running) 
 through flex or flash?
 
 Cheers,
 Sandeep
 
 
 
 
 
 
 --
 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] Repeater Question/help

2006-08-30 Thread Jeremy Rottman
I am using a repeater to display information from my application. In
my cfc, I return an array of structures to my flex app. This array,
holds all the information about the file I am trying to display. The
problem I am having is this. 

In the array I have an array object that tells me what side the person
was on the file. They are either buyer or seller. The problem I have
is if the array object has one person of hte buyer side and one person
on the seller side. The repeater displays them both on each side. So
if I have Bill Bob on seller side and Jim bob on buyer side the
repeater processes it like this

Seller SideBuyer Side

Bill Bob   Bill Bob

Jim  Bob   Jim Bob

When it should look like this

Seller Side Buyer Side

Bill BobJim Bob


Can someone give me a bit of insight as to why it would do this. I
have posted the code below.

REPEATER DP AS CODE:
for ( var i:Number=0;iresult.length;i++){
if(result[i].AGENTSIDE == 'seller'){
sellRP.dataProvider = result;
}
else{
buyRP.dataProvider = result;
}   


REPEATER CODE:

mx:HBox x=10 y=286 width=100%
mx:VBox height=100% width=100%
mx:Repeater id=sellRP   
mx:Canvas width=100% height=200
mx:Label x=10 y=10
text={String(sellRP.currentItem.AGENTNAME)}/
/mx:Canvas
/mx:Repeater
/mx:VBox
mx:VBox height=100% width=100%
mx:Repeater id=buyRP
mx:Canvas width=100% height=200
mx:Label x=10 y=10
text={String(buyRP.currentItem.AGENTNAME)}/
/mx:Canvas
/mx:Repeater
/mx:VBox
/mx:HBox





--
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 2 patch timeline

2006-08-30 Thread Jack Caldwell





Matt or anyone else at Adobe.

I agree that the quality of Flex Builder 2 is good . . . . 
very good . . . . however . . . .

I know nothing will probably change since Adobe is the big 
software company, and I am only a single 
customer(Flex Builder 2 w/charting), but this position 
disturbs me.

It reminds me of the construction industry when a 
contractor builds or remodels myhouse. I have paid 

for the work and I find problems but the contractor is off 
working on another house and doesn't have the 

time or resources to fix the problems in a timely 
manner.

To be honest,I could care less about a Mac 
version . . . . AND I know those wanting a Mac 
version could 
care less about a 
Windows version. So please no bashing from the Mac 
side.

It appears that Adobe has not allocated enough resources to 
the development team where they can have 
2 groups. As I recall, it was said on this forum, 
soon afterFlex 2 was released the development team
received new Macs to begin work on a Mac 
version.

Why did Adobe not already have a plan and resources in 
place. This type of thing is done all the time.

While I do not expect that every single bug be issued a 
"release patch",it would be very nice and 
customer 
friendly to have a bug fix release plan in place and 
implement that plan. Especially in the first 6-9 months 
of
a major release.

I haven't encountered a bug that I know of. But when 
I do, I willprobably have spent many hours 
or days 
thinking I did notwrite the code right only to find 
out later is was a bug. Wasted time . . . . money.

I have said this before, but I would not have a single 
customer if I told them I could not fix the software they 

purchased because I was working on another 
version.

I really do not understand why large software companies 
employ this type of bug fix and update plan.

I only hope Adobe will rethink their strategy and 
implementation of releasing bug fixes.

My .02 or actually $ 749 for Flex Builder 2 
w/charting.

Thanks,

Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Matt 
ChotinSent: Wednesday, August 30, 2006 10:21 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2 patch 
timeline




Are there specific bugs 
youre looking to be addressed? Based on direct feedback as well as 
observation from the various public forums weve been pretty pleased with the 
quality of the release so weve held off on rushing out an updater while we work 
on things like the Mac release of Flex Builder. Doesnt mean were not 
fixing bugs, but weve decided to try to address more issues in a longer cycle 
rather than fewer issues quickly.

If theres a specific 
issue that is blocking your work use the wish form (http://www.adobe.com/go/wish) to 
submit it and indicate so. There are also plenty of official support 
options available to help as well 
(http://www.adobe.com/support/programs/flex/?tab:plans=1)

Matt





From: 
[EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Adam ReynoldsSent: Wednesday, August 30, 2006 2:44 
AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Flex 2 patch 
timeline




Before I 
dive headlong into my first full Flex 2 project, can anybody from Adobe give 
me an update as to when/if there will be a patch for Flex 
2?Adam


__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: Webservice and column name question.

2006-08-30 Thread Doug Lowder
Does this give you what you want?

for each(var item in test) {
  for each(var colname in item) {
trace(colname); 
  }
}


--- In flexcoders@yahoogroups.com, dinger0007 [EMAIL PROTECTED] wrote:

 I have a query result coming back from a webservice call and i want to
 pull the column names out of the results.
 
 I assumed that I can use the code below but can't figure how to
 pull the column names.
 
 If I do this, I get the data.
 test =  new ArrayCollection( event.result as Array);
 for each(var item in test) {
   trace(item.Node1); 
 }
 
 But how do I just get Node1 and not the data.
 
 Thanks in advance..








--
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 2 patch timeline

2006-08-30 Thread Jeff Tapper




Jack-
I think you misunderstand what Matt said. He didn't say they aren't
working on fixes, he said it hasnt been their top priority. If you
have an issue, he recommended you contact their support team.

I have said this before, but I
would not have a single customer if I told them I could not fix the
software they 
purchased because I was working on another version.
Again, its not an issue of not being able to fix bugs, many
companies have a process in place to allow for handling their customers
needs. In the adobe case, if something isnt working as you would
expect, there is the support channel. drop them an email or give
them a call, and they can help solve the issue you are having. They
are the ones who are best able to determine if you are doing something
wrong, or if its a bug in the code which needs to be fixed. I
wouldnt be at all surprised if their were a number of minor patches
available through the support channels. I dont know that there are,
but if I were them, and I had a few fixes to specific bugs that havent
been reported by the community at large, but instead by a few customers,
I would probably give the fixes as needed, rather than make a whole new
big push. Then again, thats just my thought process. Sadly, I
dont have a whole support team working for me, so i need to deal with
bugs in my code as they crop up.

At 03:18 PM 8/30/2006, Jack Caldwell wrote:

Matt or anyone else at
Adobe.

I agree that the quality of
Flex Builder 2 is good . . . . very good . . . . however . . . .

I know nothing will probably
change since Adobe is the big software company, and I am only a single

customer(Flex Builder 2 w/charting), but this position disturbs me.

It reminds me of the
construction industry when a contractor builds or remodels my
house. I have paid 
for the work and I find problems but the contractor is off working on
another house and doesn't have the 
time or resources to fix the problems in a timely manner.

To be honest, I could care less
about a Mac version . . . . AND I know those wanting a Mac version could

care less about a Windows version. So please no bashing from the
Mac side.

It appears that Adobe has not
allocated enough resources to the development team where they can have

2 groups. As I recall, it was said on this forum, soon after Flex 2
was released the development team
received new Macs to begin work on a Mac version.

Why did Adobe not already have
a plan and resources in place. This type of thing is done all the
time.

While I do not expect that
every single bug be issued a release patch, it would be very
nice and customer 
friendly to have a bug fix release plan in place and implement that
plan. Especially in the first 6-9 months of
a major release.

I haven't encountered a bug
that I know of. But when I do, I will probably have spent many
hours or days 
thinking I did not write the code right only to find out later is was a
bug. Wasted time . . . . money.

I have said this before, but I
would not have a single customer if I told them I could not fix the
software they 
purchased because I was working on another version.

I really do not understand why
large software companies employ this type of bug fix and update
plan.

I only hope Adobe will rethink
their strategy and implementation of releasing bug fixes.

My .02 or actually $ 749 for
Flex Builder 2 w/charting.

Thanks,

Jack


From: flexcoders@yahoogroups.com
[
mailto:flexcoders@yahoogroups.com] On Behalf Of Matt
Chotin
Sent: Wednesday, August 30, 2006 10:21 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2 patch timeline

Are there specific bugs you’re
looking to be addressed? Based on direct feedback as well as
observation from the various public forums we’ve been pretty pleased with
the quality of the release so we’ve held off on rushing out an updater
while we work on things like the Mac release of Flex Builder.
Doesn’t mean we’re not fixing bugs, but we’ve decided to try to address
more issues in a longer cycle rather than fewer issues quickly.

If there’s a specific issue
that is blocking your work use the wish form
(http://www.adobe.com/go/wish)
to submit it and indicate so. There are also plenty of official
support options available to help as well
(
http://www.adobe.com/support/programs/flex/?tab:plans=1)

Matt



From: flexcoders@yahoogroups.com
[
mailto:flexcoders@yahoogroups.com] On Behalf Of Adam
Reynolds
Sent: Wednesday, August 30, 2006 2:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 patch timeline

Before I dive headlong into my first
full Flex 2 project, can anybody 
from Adobe give me an update as to when/if there will be a patch for Flex
2?
Adam

 
__._,_.___





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

Software development 

[flexcoders] Re: Line chart data points being clipped off

2006-08-30 Thread RBullotta
I spoke too fast...I now recall why I stopped using filterData in the 
component.  If filterData is set to false, and the dataset has no 
points to chart, the chart component crashes with the following error 
(if filterData is set to true, the crash doesn't occur, and the chart 
updates empty as expected):

TypeError: Error #1010: A term is undefined and has no properties.
at mx.charts.chartClasses::GraphicsUtilities$/drawPolyLine()
at 
mx.charts.renderers::LineRenderer/mx.charts.renderers:LineRenderer::upda
teDisplayList()
at mx.skins::ProgrammaticSkin/validateDisplayList()
at mx.managers::LayoutManager/::validateDisplayList()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()







--
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: [flexcoders] Flex 2 patch timeline

2006-08-30 Thread Shannon Hicks





Who says they're not going to roll out 
MacOScompatibility and bug fixes for Windows all in one package? Just like 
when the ColdFusion team was doing MacOS work... it applied to the Windows  
Linux versions too.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jack 
CaldwellSent: Wednesday, August 30, 2006 2:18 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] RE: 
[flexcoders] Flex 2 patch timeline



Matt or anyone else at Adobe.

I agree that the quality of Flex Builder 2 is good . . . . 
very good . . . . however . . . .

I know nothing will probably change since Adobe is the big 
software company, and I am only a single 
customer(Flex Builder 2 w/charting), but this position 
disturbs me.

It reminds me of the construction industry when a 
contractor builds or remodels myhouse. I have paid 

for the work and I find problems but the contractor is off 
working on another house and doesn't have the 

time or resources to fix the problems in a timely 
manner.

To be honest,I could care less about a Mac 
version . . . . AND I know those wanting a Mac 
version could 
care less about a 
Windows version. So please no bashing from the Mac 
side.

It appears that Adobe has not allocated enough resources to 
the development team where they can have 
2 groups. As I recall, it was said on this forum, 
soon afterFlex 2 was released the development team
received new Macs to begin work on a Mac 
version.

Why did Adobe not already have a plan and resources in 
place. This type of thing is done all the time.

While I do not expect that every single bug be issued a 
"release patch",it would be very nice and 
customer 
friendly to have a bug fix release plan in place and 
implement that plan. Especially in the first 6-9 months 
of
a major release.

I haven't encountered a bug that I know of. But when 
I do, I willprobably have spent many hours 
or days 
thinking I did notwrite the code right only to find 
out later is was a bug. Wasted time . . . . money.

I have said this before, but I would not have a single 
customer if I told them I could not fix the software they 

purchased because I was working on another 
version.

I really do not understand why large software companies 
employ this type of bug fix and update plan.

I only hope Adobe will rethink their strategy and 
implementation of releasing bug fixes.

My .02 or actually $ 749 for Flex Builder 2 
w/charting.

Thanks,

Jack


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Matt 
ChotinSent: Wednesday, August 30, 2006 10:21 AMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Flex 2 patch 
timeline




Are there specific bugs 
youre looking to be addressed? Based on direct feedback as well as 
observation from the various public forums weve been pretty pleased with the 
quality of the release so weve held off on rushing out an updater while we work 
on things like the Mac release of Flex Builder. Doesnt mean were not 
fixing bugs, but weve decided to try to address more issues in a longer cycle 
rather than fewer issues quickly.

If theres a specific 
issue that is blocking your work use the wish form (http://www.adobe.com/go/wish) to 
submit it and indicate so. There are also plenty of official support 
options available to help as well 
(http://www.adobe.com/support/programs/flex/?tab:plans=1)

Matt





From: 
[EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Adam ReynoldsSent: Wednesday, August 30, 2006 2:44 
AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Flex 2 patch 
timeline




Before I 
dive headlong into my first full Flex 2 project, can anybody from Adobe give 
me an update as to when/if there will be a patch for Flex 
2?Adam



--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 
8/29/2006
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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.



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 8/29/2006
 


[flexcoders] Problems calling a RemoteObject within a loop

2006-08-30 Thread Doug Arthur



I've noticed a critical issue when calling a remoteObject within a loop and having a resultHandler, the resultHandler does not execute the same number of times that the remoteObject was invoked. Can anyone explain this?


In my case, after each record is updated, I increment an int to identifty when all records have been saved, because another remote call needs to be fired off when all records have been added/updated. This is not happening, and it's a critical issue.



- Doug

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: How to get client IP address in flex?

2006-08-30 Thread Sandeep Malik
Like what kind of server script are we talking about here and how do 
we execute a server script on the client side?

-Sandeep

--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] 
wrote:

 If you are wrapping SWF in server side script, you can easily use 
some
 server-side code to find out. SWFs are executed on client and they 
can not
 give IP address of client..
 
 Doing server-side is quite straight forward...
 
 -abdul
 
 On 8/30/06, ??  [EMAIL PROTECTED] wrote:
 
You can trick with request to the server. ))
 
  Cheers,
  Mozilla By
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com 
[mailto:
  flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
  Behalf Of Sandeep Malik
  Sent: Wednesday, August 30, 2006 4:27 PM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: [flexcoders] How to get client IP address in flex?
 
  Hi Guys,
 
  Is there a way to find client IP (on which the swf file is 
running)
  through flex or flash?
 
  Cheers,
  Sandeep
 
  --
  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] Re: Buffer progress bar for streaming FLV

2006-08-30 Thread Chris Simeone
Hmmm Bummer...

Before I abandon my idea I want to sum up this thread...

I can't create a progress bar that shows buffering progress as long as
I use the videoDisplay component. 

I have to use the netStream objects if I want to create a buffering
progress bar, because that's the only way I can access the streams
time and bufferLength properties.

Sound right?


--- In flexcoders@yahoogroups.com, greg h [EMAIL PROTECTED] wrote:

 Chris,
 
 Regarding your post:
 Now I'm going to try and get this working using the mx:videoDisplay
 component. I'm not sure if I can get to its netStream object, so any
 ideas/recommendations would be helpful and appreciated.
 
 Last week Abdul posted a reply on this list on the thread How to assign
 NetStream to VideoDisplay component?
 
 You can find Abdul's reply on the thread here:
 http://www.mail-archive.com/flexcoders@yahoogroups.com/msg39368.html
 
 btw ... thank you very, very much Abdul :-)
 
 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 
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] Embedding fonts at runtime

2006-08-30 Thread Daniel Freiman



I figured out how to use the textformat object. The textformat object does actually work, but a TextField will only retrieve the embeded font if it's parent has previously been sent set the font as a style. So for any component that uses a UITextField, set the fontFamily style of the parent UIComponent to the newly loaded font and then the UITextField should be able to use the font even if fontFamily is subsequently reset. I have no idea why this works, so there may be some improvements to this method.
On 8/30/06, Brian Deitte [EMAIL PROTECTED] wrote:







One addition to this, which is that we always include the 
space character when you specify the unicode range. I'm not sure the 
original reasoning for this, but I just noticed it in the code. Also, you 
can specify multiple ranges, separated by commas. 
-Brian

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Dirk 
  EismannSent: Wednesday, August 30, 2006 2:07 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Embedding fonts 
  at runtime
  
  
  Yes, this is 
  possible:
  
  [Embed(source=Arial.ttf, 
  fontName=myArial, unicodeRange=U+0041-U+005A )]
  public var 
  myClass:Class;
  
  Dirk.
  
  
  Von: flexcoders@yahoogroups.com im Auftrag von 
  Daniel WabyickGesendet: Mi 30.08.2006 18:58An: 
  flexcoders@yahoogroups.comBetreff: Re: [flexcoders] Embedding fonts 
  at runtime
  
  Awesome! I'll definitely have to check this out.On a 
  related note, I wonder if its possible to embed fonts with aspecific 
  unicode range via this syntax. It doesn't appear to 
  be.[Embed(systemFont='Symbol', 
  fontName='mySymbol',mimeType='application/x-font')]var 
  myFont:Class;I know you can use @font-face, which appears to 
  automatically generate avariable in the class, but its not a consistently 
  named variable. I amsure a utility function in the class could be used to 
  ferret out thatvariable name.Daniel Freiman 
  wrote: I altered the code a little and got it half 
  working. It works if you're setting the imported font using 
  setStyle, but not if you're setting the font through the TextFormat 
  object. Simply add the 
  lines: 
  var content:DisplayObject = 
  ldr.content; 
  var c:Class = 
  content[myFont]; 
  Font.registerFont(c); to the begining of 
  onloadercomplete. I'm going to continue working on how to get 
  the font to show up through TextFormat. On 
  8/29/06, * Daniel Wabyick* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 
  wrote: I just tried to dynamically 
  load a font at runtime, and the results 
  are not too 
  promising. For other's benefits, here 
  is what I did: - Created an AS3 
  project and generated a SWF (SymbolEmbed.swf) 
  with the Symbol font 
  embedded. - Verified the font is 
  available in the SWF via 
  Font.enumerateFonts(); - Loaded 
  SymbolEmbed.swf into a Flex app using the Loader 
  class, following instructions to keep the 
  SWF's on the same 
  applicationDomain. - Checked if the 
  font is available to the Flex app, it is 
  not. Please let me know if anyone has 
  any ideas, 
  -Daniel Code: 
  AS3 project with embedded font. 
  --- 
  public class SymbolInclude extends 
  Sprite 
  { 
  public function 
  SymbolInclude() 
  { 
  [Embed(systemFont='Symbol', 
  fontName='mySymbol', 
  mimeType='application/x-font')] 
  var 
  myFont:Class; 
  trace(here in 
  SymbolInclude); 
  var fontList : Array = 
  Font.enumerateFonts(); 
  for ( var i:String in fontList 
  ) 
  { 
  trace(font:  + Font( fontList[i] 
  ).fontName); 
  } 
  } 
  } Code: Loader code in Flex 
  app. 
  --- 
  mx:Script 
  ![CDATA[ 
  private var 
  ldr:Loader; 
  private function onInit() : 
  void 
  { 
  showFonts(); 
  var context:LoaderContext = new 
  LoaderContext(); 
  //context.securityDomain = 
  SecurityDomain.currentDomain; 
  context.applicationDomain = 
  ApplicationDomain.currentDomain; 
  ldr = new 
  Loader(); 
  ldr.contentLoaderInfo.addEventListener( 
  Event.COMPLETE, onLoaderComplete 
  ); 
  ldr.load( new URLRequest( 
  SymbolInclude.swf), context 
  ); 
  } 
  private function onLoaderComplete(e:Event) : 
  void 
  { 
  trace(onLoaderComplete: 
  ); 
  showFonts(); 
  } 
  public function showFonts():void 
  { 
  trace(showFonts()); 
  var fontList : Array = Font.enumerateFonts 
  (); 
  for ( var i:String in fontList 
  ) 
  { 
  trace(font:  + Font( fontList[i] 
  ).fontName); 
  } 
  } 
  ]] 
  /mx:Script 
  Daniel Freiman wrote: 
I have this question too but it 
  hasn't reached the top of my to-do  list 
  yet. What I'm hoping is that is that you can embed a 
  font in a  
  swf and then load that swf at runtime using a 
  swfloader. 
On 8/28/06, *Daniel Wabyick*  
  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 
   mailto: 
  [EMAIL PROTECTED]  wrote: 
Hey 
  guys,  
   Is there any way to include a font at runtime 
  using Flex 2? 
  There  was 
  a  weird hack that 
  works in 

Re: [flexcoders] The supplied index is out of bounds error is thrown when binding LinkBar dataProvider and selectedIndex properties simultaneously

2006-08-30 Thread Michael Klishin
On Thu, 2006-08-17 at 18:39 +0300, Sergey Kovalyov wrote:
 Hi All!

 The exception is thrown while running this application. Sure, it is
 due to _selectedIndex default value that equals 0, but _dataProvider
 is still empty. But how to avoid this problem?
 
 Regards, Sergey.

Use creationComplete event and check whether dataProvider size is
greater than 0. That is, do not use MXML tag property but set it from
AS.
-- 
Michael 'Antares' Klishin

novemberain.com | osflash.org/red5 | rubyonrails.ru | flex.org



--
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] Not finding import mx.remoting.*;

2006-08-30 Thread Louie Penaflor












Thanks for the help.



How can you pass paramaters for the
service?









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Hasan Otuome
Sent: Wednesday, August 30, 2006
1:21 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Not
finding import mx.remoting.*;











Hey
Louie,

I don't believe that package exists. I've been using the attached file in my
AMFPHP projects. Maybe it can benefit you too. After dropping it in your
project root just add the following ActionScript to your app:

import
flash.net.Responder;
public var gateway:RemotingConnection;
public var response:Responder;

//basic query method
public function getData(service:String):void{
  response = new Responder(onResult,
onFault); //success and failure functions
  gateway = new RemotingConnection(MailScanner has detected a possible fraud
attempt from yourdomain.com claiming to be
http://yourdomain.com/flashservices/gateway.php);
//connect to the gateway
  gateway.call(service, response);
//call the service
}

//basic data modification method
public function updateData(service:String, params:Array):void{
  response = new Responder(onResult,
onFault); //success and failure functions
  gateway = new RemotingConnection(MailScanner has detected a possible fraud
attempt from yourdomain.com claiming to be
http://yourdomain.com/flashservices/gateway.php);
//connect to the gateway
  gateway.call(service, response,
params); //call the service
}

Then, just make those calls when necessary later on in your app. HTH...

P E A C E

Hasan
hasan.otuome.com
www.marxmedia.net
thesourcecode.org
Adobe Certified Professional (Flash MX2004 Developer) 


Louie Penaflor wrote: 







Hi,




Im trying to do some php remoting from flexbuilder and Im getting
a Definition mx.remoting could not be found. I have flash 8 installed do
I have to tell flex the directory of the mx libraries are? Thanks and I
look forward to your replies.



Louie
Penaflor

Web Software
Developer

World
Council of Credit Unions, Inc.

Ph:
(608)231-7932



This
is a transmission fromWorld Council of Credit Unions, Inc.and
contains information that is confidential. If you are not the intended
addressee or authorized to receive for the addressee, then any disclosure, copying,
distribution, or use of the contents of this message is prohibited. If you have
received this transmission in error, please destroy it and notify the sender
immediately at the transmitting e-mail address. If you are the intended
recipient, please be advised that this e-mail transmission is not encrypted or
otherwise protected from potential misappropriation or misuse.World
Council of Credit Unions, Inc.expressly disclaims any and all liability
for harm resulting from the misappropriation, interception or misuse of the
information contained in this transmission.











No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.405 / Virus Database: 268.11.7 - Release Date: 8/29/2006 










__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Stroke color on lineSeries - bug?

2006-08-30 Thread Sam Shrefler



Sree:

I'm not sure if its a bug, anerror in the documents, or none of the abover...

If you need to change teh stroke color, I've successfully used the following...

mx:LineSeries 
 mx:lineStroke mx:Stroke color=0x33 weight=3//mx:lineStroke
/mx:LineSeries 
Hope that helps
Sam
On 8/30/06, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote:



Applying the stroke color on lineSeries does not seem to have any effect.
Even in the examples provided by Adobe, chart explorer the colors though specified, dont work!

Is this a known bug, if it is one?

Regards
Sree 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] securityError:Security sandbox violation with flickr.com

2006-08-30 Thread hastyarkxu
I met a very strainge security problem. When I do the user 
authentication, I use the operation 'getFrob' which AS3 library 
downloaded from the labs.adobe.com to get the permission from 
flickr.com. I test it in my local PC, it's OK. But after I uploaded 
to the web server and test, there is the security error which means 
I can not get the frob from flickr.com

The error infor is:
'cannot load data from flickr.com/services/rest/?
api_key=0a8a284e1ab28c' 

I don't know whether this problem has some relation with the 
AUTH_ENDPOINT constant variable. As I know flickr has changed the 
auth URL to 'http://api.flickr.com/services/*'. I don't know whether 
the download AS2 library has changed that? Can anyone tell me?

if not, this a constant virable, I think I can not change it 
runtime. How can I do it? I don't want to code the flickr access 
class from the very begining:(

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: [flexcoders] Embedding fonts at runtime

2006-08-30 Thread Tom Lee
Title: Re: [flexcoders] Embedding fonts at runtime










Just wondering, is [Embed] directive
compile-time, or run-time?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brian Deitte
Sent: Wednesday, August 30, 2006
2:43 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Embedding fonts at runtime





One addition to this, which is that we
always include the space character when you specify the unicode range.
I'm not sure the original reasoning for this, but I just noticed it in the
code. Also, you can specify multiple ranges, separated by commas.
-Brian











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dirk Eismann
Sent: Wednesday, August 30, 2006
2:07 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Embedding fonts at runtime





Yes, this is possible:











[Embed(source=Arial.ttf,
fontName=myArial, unicodeRange=U+0041-U+005A )]





public var myClass:Class;











Dirk.













Von: flexcoders@yahoogroups.com im Auftrag von Daniel
Wabyick
Gesendet: Mi 30.08.2006 18:58
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders]
Embedding fonts at runtime







Awesome! I'll definitely have to check this out.

On a related note, I wonder if its possible to embed fonts with a
specific unicode range via this syntax. It doesn't appear to be.

[Embed(systemFont='Symbol', fontName='mySymbol',
mimeType='application/x-font')]
var myFont:Class;

I know you can use @font-face, which appears to automatically generate a
variable in the class, but its not a consistently named variable. I am
sure a utility function in the class could be used to ferret out that
variable name.


Daniel Freiman wrote:

 I altered the code a little and got it half working. It works if
 you're setting the imported font using setStyle, but not if you're
 setting the font through the TextFormat object. Simply add the
lines:


var content:DisplayObject = ldr.content;

var c:Class = content[myFont];

Font.registerFont(c);

 to the begining of onloadercomplete.

 I'm going to continue working on how to get the font to show up
 through TextFormat.


 On 8/29/06, * Daniel Wabyick* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
wrote:

 I just tried to dynamically load a font at
runtime, and the
 results are
 not too promising.

 For other's benefits, here is what I did:

 - Created an AS3 project and generated a SWF
(SymbolEmbed.swf)
 with the
 Symbol font embedded.

 - Verified the font is available in the SWF via
Font.enumerateFonts();

 - Loaded SymbolEmbed.swf into a Flex app using the
Loader class,
 following instructions to keep the SWF's on the
same
 applicationDomain.

 - Checked if the font is available to the Flex
app, it is not.

 Please let me know if anyone has any ideas,

 -Daniel




 Code: AS3 project with embedded font.
 ---
 public class SymbolInclude
extends Sprite
 {

public function SymbolInclude()
 {

[Embed(systemFont='Symbol', fontName='mySymbol',
 mimeType='application/x-font')]

var myFont:Class;


trace(here in SymbolInclude);

var fontList : Array = Font.enumerateFonts();

for ( var i:String in fontList )

{

trace(font:  + Font( fontList[i] ).fontName);

}
 }
 }


 Code: Loader code in Flex app.
 ---

 mx:Script

![CDATA[


private var ldr:Loader;

private function onInit() : void

{

showFonts();


var context:LoaderContext = new LoaderContext();

//context.securityDomain =
 SecurityDomain.currentDomain;

context.applicationDomain =
 ApplicationDomain.currentDomain;


ldr = new Loader();

ldr.contentLoaderInfo.addEventListener(
 Event.COMPLETE,
 onLoaderComplete );

ldr.load( new URLRequest( SymbolInclude.swf),
 context );

}


private function onLoaderComplete(e:Event) : void

{

trace(onLoaderComplete: );

showFonts();

}


public function showFonts():void {

trace(showFonts());

var fontList : Array = Font.enumerateFonts ();

for ( var i:String in fontList )

{

trace(font:  + Font( fontList[i]
 ).fontName);

}

}

]]
 /mx:Script






 Daniel Freiman wrote:
 
  I have this question too but it hasn't
reached the top of my to-do
  list yet. What I'm hoping is that is
that you can embed a font
 in a
  swf and then load that swf at runtime using a
swfloader.
 
  On 8/28/06, *Daniel Wabyick* 
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:
[EMAIL PROTECTED]  wrote:
 
  Hey guys,
 
  Is there any way to
include a font at runtime using Flex
 2? There
  was a
  weird hack that works
in Flash 8 where you load a movie that
 loads an
  RSL. Does anything
like this work in Flex 2 ?
 
  Thanks,
  -Daniel
 
 
  --
  Flexcoders Mailing
List
  FAQ:
 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  

RE: [flexcoders] Flex 2 patch timeline

2006-08-30 Thread Jack Caldwell





Jeff:

I fully understood what Matt was saying. That's just 
it . . . . it is not a top priority.

The issue is that Adobe is fixing the bugs, but not 
releasing them.

We as developers have to try to figure it out then call 
support, etc. That could take
hours or days of my time. It's wasted time and 
money.

I am like you, I don't have a large support staff 
either.

My position, for over 27 years,has always been . . . 
. find a bug send ALL customers 
a fix ASAP. Not waiting for a customer to 
call me.

Again, in the first 6-9 months after a major release, I 
think there should be a different
release plan in place.

Thanks,

Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff 
TapperSent: Wednesday, August 30, 2006 2:32 PMTo: 
flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Flex 2 patch timeline


Jack-I think you misunderstand what Matt said. He didn't say 
they aren't working on fixes, he said it hasnt been their top priority. If 
you have an issue, he recommended you contact their support team. 
I have said this before, but I 
would not have a single customer if I told them I could not fix the software 
they purchased because I was working on another 
version.Again, its not an issue of not being able to fix bugs, 
many companies have a process in place to allow for handling their customers 
needs. In the adobe case, if something isnt working as you would expect, 
there is the support channel. drop them an email or give them a call, and 
they can help solve the issue you are having. They are the ones who are 
best able to determine if you are doing something wrong, or if its a bug in the 
code which needs to be fixed. I wouldnt be at all surprised if their were 
a number of minor patches available through the support channels. I dont 
know that there are, but if I were them, and I had a few fixes to specific bugs 
that havent been reported by the community at large, but instead by a few 
customers, I would probably give the fixes as needed, rather than make a whole 
new big push. Then again, thats just my thought process. Sadly, I 
dont have a whole support team working for me, so i need to deal with bugs in my 
code as they crop up.At 03:18 PM 8/30/2006, Jack Caldwell 
wrote:
Matt or anyone else at Adobe.I agree that the quality of Flex Builder 2 is good . . . 
  . very good . . . . however . . . .I know nothing will probably change since Adobe is the 
  big software company, and I am only a single customer(Flex Builder 2 
  w/charting), but this position disturbs me.It reminds me of the construction industry 
  when a contractor builds or remodels my house. I have paid for the 
  work and I find problems but the contractor is off working on another house 
  and doesn't have the time or resources to fix the problems in a timely 
  manner.To be 
  honest, I could care less about a Mac version . . . . AND I know those wanting 
  a Mac version could care less about a Windows version. So please no 
  bashing from the Mac side.It appears that Adobe has not allocated enough resources to the 
  development team where they can have 2 groups. As I recall, it was 
  said on this forum, soon after Flex 2 was released the development 
  teamreceived new Macs to begin work on a Mac 
  version.Why did 
  Adobe not already have a plan and resources in place. This type of thing 
  is done all the time.While I do not expect that every single bug be issued a "release 
  patch", it would be very nice and customer friendly to have a bug fix 
  release plan in place and implement that plan. Especially in the first 
  6-9 months ofa major release.I haven't encountered a bug that I know of. But 
  when I do, I will probably have spent many hours or days thinking I did 
  not write the code right only to find out later is was a bug. Wasted 
  time . . . . money.I have said this before, but I would not have a single customer if I 
  told them I could not fix the software they purchased because I was 
  working on another version.I really do not understand why large software companies employ this 
  type of bug fix and update plan.I only hope Adobe will rethink their strategy and 
  implementation of releasing bug fixes.My .02 or actually $ 749 for Flex Builder 2 
  w/charting.Thanks,Jack
  
  From: [EMAIL PROTECTED]ups.com [ 
  mailto:flexcoders@yahoogroups.com] On Behalf Of Matt 
  ChotinSent: Wednesday, August 30, 2006 10:21 AMTo: 
  [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Flex 2 
  patch timelineAre there 
  specific bugs youre looking to be addressed? Based on direct feedback 
  as well as observation from the various public forums weve been pretty 
  pleased with the quality of the release so weve held off on rushing out an 
  updater while we work on things like the Mac release of Flex Builder. 
  Doesnt mean were not fixing bugs, but weve decided to try to address more 
  issues in a longer cycle rather than fewer issues quickly.If 

Re: [flexcoders] Flex 2 patch timeline

2006-08-30 Thread hank williams



On 8/30/06, Jack Caldwell [EMAIL PROTECTED] wrote:







Jeff:

I fully understood what Matt was saying. That's just 
it . . . . it is not a top priority.

The issue is that Adobe is fixing the bugs, but not 
releasing them.Jack,With any big software project, there are **always** bugs. Typically hundreds. You *never* get down to zero and rarely even into the dozens. The question is how many of them are there and how important are they. You cant put a new release out every time there is a bug. So you have to decide when a good time to do it is. If there are major and important bugs to fix, you put a release out. But you cant do that weekly. Thats why its important for them to know if there are any showstopper or really important bugs.
So Matt's question was important. Are there any bad bugs that they dont know about? It makes total sense to me, if there are no major bugs, to wait and put out a new release in 4 or 5 months. New releases are organizationally traumatic. And they are also not risk free. It is always possible to introduce new bad bugs while fixing old not so important ones. So waiting a while and being sure everything is right with a full QA cycle is not a bad thing at all. Doing that around a major change like mac support (which will also effect the windows version because its the same codebase) seems like the right thing to do if there are no major problems.
RegardsHank

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: [Junk E-Mail - LOW] RE: [flexcoders] Flex 2 patch timeline

2006-08-30 Thread Shannon Hicks






"My position, for 
over 27 years,has always been . . . . find a bug send ALL customersa fix ASAP."

If you do that, then 
when do you get time to develop new versions of the product? At some point you 
have to make a tradeoff... Adobe's tradeoff was to get the Windows version out 
the door sooner rather than later, andthen add other OS compatibility 
afterwards. They were pretty clear about that even during the 
beta.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jack 
CaldwellSent: Wednesday, August 30, 2006 3:00 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] RE: 
[flexcoders] Flex 2 patch timeline



Jeff:

I fully understood what Matt was saying. That's just 
it . . . . it is not a top priority.

The issue is that Adobe is fixing the bugs, but not 
releasing them.

We as developers have to try to figure it out then call 
support, etc. That could take
hours or days of my time. It's wasted time and 
money.

I am like you, I don't have a large support staff 
either.

My position, for over 27 years,has always been . . . 
. find a bug send ALL customers 
a fix ASAP. Not waiting for a customer to 
call me.

Again, in the first 6-9 months after a major release, I 
think there should be a different
release plan in place.

Thanks,

Jack


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jeff 
TapperSent: Wednesday, August 30, 2006 2:32 PMTo: 
[EMAIL PROTECTED]ups.com; 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Flex 2 patch 
timeline


Jack-I think you misunderstand what Matt said. He didn't say 
they aren't working on fixes, he said it hasnt been their top priority. If 
you have an issue, he recommended you contact their support team. 
I have said this before, but I 
would not have a single customer if I told them I could not fix the software 
they purchased because I was working on another 
version.Again, its not an issue of not being able to fix bugs, 
many companies have a process in place to allow for handling their customers 
needs. In the adobe case, if something isnt working as you would expect, 
there is the support channel. drop them an email or give them a call, and 
they can help solve the issue you are having. They are the ones who are 
best able to determine if you are doing something wrong, or if its a bug in the 
code which needs to be fixed. I wouldnt be at all surprised if their were 
a number of minor patches available through the support channels. I dont 
know that there are, but if I were them, and I had a few fixes to specific bugs 
that havent been reported by the community at large, but instead by a few 
customers, I would probably give the fixes as needed, rather than make a whole 
new big push. Then again, thats just my thought process. Sadly, I 
dont have a whole support team working for me, so i need to deal with bugs in my 
code as they crop up.At 03:18 PM 8/30/2006, Jack Caldwell 
wrote:
Matt or anyone else at Adobe.I agree that the quality of Flex Builder 2 is good . . . 
  . very good . . . . however . . . .I know nothing will probably change since Adobe is the 
  big software company, and I am only a single customer(Flex Builder 2 
  w/charting), but this position disturbs me.It reminds me of the construction industry 
  when a contractor builds or remodels my house. I have paid for the 
  work and I find problems but the contractor is off working on another house 
  and doesn't have the time or resources to fix the problems in a timely 
  manner.To be 
  honest, I could care less about a Mac version . . . . AND I know those wanting 
  a Mac version could care less about a Windows version. So please no 
  bashing from the Mac side.It appears that Adobe has not allocated enough resources to the 
  development team where they can have 2 groups. As I recall, it was 
  said on this forum, soon after Flex 2 was released the development 
  teamreceived new Macs to begin work on a Mac 
  version.Why did 
  Adobe not already have a plan and resources in place. This type of thing 
  is done all the time.While I do not expect that every single bug be issued a "release 
  patch", it would be very nice and customer friendly to have a bug fix 
  release plan in place and implement that plan. Especially in the first 
  6-9 months ofa major release.I haven't encountered a bug that I know of. But 
  when I do, I will probably have spent many hours or days thinking I did 
  not write the code right only to find out later is was a bug. Wasted 
  time . . . . money.I have said this before, but I would not have a single customer if I 
  told them I could not fix the software they purchased because I was 
  working on another version.I really do not understand why large software companies employ this 
  type of bug fix and update plan.I only hope Adobe will rethink their strategy and 
  implementation of releasing bug fixes.My .02 or actually $ 749 for Flex Builder 2 
  w/charting.Thanks,Jack
  
  From: 

RE: [flexcoders] Stroke color on lineSeries - bug?

2006-08-30 Thread Matt Horn
For LineSeries, you use the stroke style property to define a style for
the chart item's renderer. You use the lineStroke property to define the
stroke of the actual line segments. 

This is documented here:

Defining strokes for LineSeries and AreaSeries
http://livedocs.macromedia.com/flex/2/docs/1262.html 

hth,
matt horn
flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Sam Shrefler
 Sent: Wednesday, August 30, 2006 3:20 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Stroke color on lineSeries - bug?
 
 Sree:
  
 I'm not sure if its a bug, an error in the documents, or none 
 of the abover...
  
 If you need to change teh stroke color, I've successfully 
 used the following...
  
 mx:LineSeries 
   mx:lineStroke
 mx:Stroke color=0x33 weight=3/
   /mx:lineStroke
 /mx:LineSeries 
  
 Hope that helps
 
 Sam
  
 On 8/30/06, Sreejith Unnikrishnan [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]  wrote: 
 
   Applying the stroke color on lineSeries does not seem 
 to have any effect.
   Even in the examples provided by Adobe, chart explorer 
 the colors though specified, dont work!

   Is this a known bug, if it is one?

   Regards
   Sree
   
 
 
  
 


--
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] Embedding fonts at runtime

2006-08-30 Thread Matt Horn
[Embed] is always at compile time, so I dont think this solution matches
your requirements of loading teh fonts at run time.

-m 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee
 Sent: Wednesday, August 30, 2006 4:01 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Embedding fonts at runtime
 
 Just wondering, is [Embed] directive compile-time, or run-time?
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Brian Deitte
 Sent: Wednesday, August 30, 2006 2:43 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Embedding fonts at runtime
 
  
 
 One addition to this, which is that we always include the 
 space character when you specify the unicode range.  I'm not 
 sure the original reasoning for this, but I just noticed it 
 in the code.  Also, you can specify multiple ranges, 
 separated by commas.  -Brian
 

 
   
 
 
 
   From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann
   Sent: Wednesday, August 30, 2006 2:07 PM
   To: flexcoders@yahoogroups.com
   Subject: RE: [flexcoders] Embedding fonts at runtime
 
   Yes, this is possible:
 

 
   [Embed(source=Arial.ttf, fontName=myArial, 
 unicodeRange=U+0041-U+005A )]
 
   public var myClass:Class;
 

 
   Dirk.
 

 
   
 
 
 
   Von: flexcoders@yahoogroups.com im Auftrag von Daniel Wabyick
   Gesendet: Mi 30.08.2006 18:58
   An: flexcoders@yahoogroups.com
   Betreff: Re: [flexcoders] Embedding fonts at runtime
 
   Awesome! I'll definitely have to check this out.
   
   On a related note, I wonder if its possible to embed 
 fonts with a
   specific unicode range via this syntax.  It doesn't 
 appear to be.
   
   [Embed(systemFont='Symbol', fontName='mySymbol',
   mimeType='application/x-font')]
   var myFont:Class;
   
   I know you can use @font-face, which appears to 
 automatically generate a
   variable in the class, but its not a consistently named 
 variable. I am
   sure a utility function in the class could be used to 
 ferret out that
   variable name.
   
   
   Daniel Freiman wrote:
   
I altered the code a little and got it half working.  
 It works if
you're setting the imported font using setStyle, but 
 not if you're
setting the font through the TextFormat object.  
 Simply add the lines:
   
var content:DisplayObject = ldr.content;
var c:Class = content[myFont];
Font.registerFont(c);
   
to the begining of onloadercomplete.
   
I'm going to continue working on how to get the font 
 to show up
through TextFormat.
   
   
On 8/29/06, * Daniel Wabyick* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]  wrote:
   
I just tried to dynamically load a font at 
 runtime, and the
results are
not too promising.
   
For other's benefits, here is what I did:
   
- Created an AS3 project and generated a SWF 
 (SymbolEmbed.swf)
with the
Symbol font embedded.
   
- Verified the font is available in the SWF via 
 Font.enumerateFonts();
   
- Loaded SymbolEmbed.swf into a Flex app using 
 the Loader class,
following instructions to keep the SWF's on the same
applicationDomain.
   
- Checked if the font is available to the Flex 
 app, it is not.
   
Please let me know if anyone has any ideas,
   
-Daniel
   
   
   
   
Code: AS3 project with embedded font.
---
public class SymbolInclude extends Sprite
{
public function SymbolInclude()
{
[Embed(systemFont='Symbol', 
 fontName='mySymbol',
mimeType='application/x-font')]
var myFont:Class;
   
trace(here in SymbolInclude);
var fontList : Array = Font.enumerateFonts();
for ( var i:String in fontList )
{
trace(font:  + Font( 
 fontList[i] ).fontName);
}
}
}
   
   
Code: Loader code in Flex app.
---
   
mx:Script
 ![CDATA[
   
 private var ldr:Loader;
 private function onInit() : void
 {
  

Re: [flexcoders] Problems calling a RemoteObject within a loop

2006-08-30 Thread Fernando Lobos



send the parameter into an array !
On 8/30/06, Doug Arthur [EMAIL PROTECTED] wrote:







I've noticed a critical issue when calling a remoteObject within a loop and having a resultHandler, the resultHandler does not execute the same number of times that the remoteObject was invoked. Can anyone explain this? 


In my case, after each record is updated, I increment an int to identifty when all records have been saved, because another remote call needs to be fired off when all records have been added/updated. This is not happening, and it's a critical issue. 



- Doug
 

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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] Stroke color on lineSeries - bug?

2006-08-30 Thread Ely Greenfield








you need to set the lineStroke color. It's not a bug, but 
it changed late in the beta cycle, so we may have missed earlier samples or 
docs.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Sam 
ShreflerSent: Wednesday, August 30, 2006 12:20 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Stroke color on 
lineSeries - bug?



Sree:

I'm not sure if its a bug, anerror in the documents, or none of the 
abover...

If you need to change teh stroke color, I've successfully used the 
following...

mx:LineSeries 
 mx:lineStroke mx:Stroke 
color="0x33" weight="3"//mx:lineStroke
/mx:LineSeries 
Hope that helps
Sam
On 8/30/06, Sreejith 
Unnikrishnan [EMAIL PROTECTED]com wrote: 

  
  
  Applying the stroke color on lineSeries does not 
  seem to have any effect.
  Even in the examples provided by Adobe, chart 
  explorer the colors though specified, dont work!
  
  Is this a known bug, if it is one?
  
  Regards
  Sree

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: Specifying LineSeries itemRenderer with Actionscript

2006-08-30 Thread Matt Horn
 Having said that, I can attest to the vast amount of of 
 information the doc team has to communicate to the flex 
 developer base, and the heroic job they do and have done 
 getting it out.  It's an evolving process, and they watch 
 this list for feedback, so things like this that cause 
 difficulty should eventually make their way back into 
 improvements to the doc.

LOL. Homer's doc was heroic. We're lucky if our stuff gets read.

When deciding new doc topics to add, we get ideas from reading this
list, the forums, blogs, LiveDocs comments, talking to support, mktg,
prod mgmt, eng, qa, and little bit of intuition. You can bet that
problems that come up time and again in these places will make their way
into the docs.

One of the big things that we look at, though, is how much of an edge
case each issue might be. If one in a thousand users will encounter a
problem with something, then we'll likely write about the issue that 1
in 10 users will encounter first. Doesn't mean we won't get to it, but
it might be covered by a Tech Note or some other method before it gets
put in the main product documentation.

Now, if the doc were a wiki, this topic would already be documented. :)

matt horn
flex docs


 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield
 Sent: Wednesday, August 30, 2006 12:38 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: Specifying LineSeries 
 itemRenderer with Actionscript
 
  
  
 Well, in theory, we've gone to great lengths (and had long, 
 heated, philisophical 'discussions' (read: knock down drag 
 out fights)) over what the relationship between MXML and 
 actionscript should be.  Right now, we try as much as 
 possible to follow a very strict 'no compiler magic' 
 policy...specifically:
 - there's are simple rules for how an actionscript 
 class's API dictates how it is used in MXML.  a developer 
 should be able to look at a snippet of MXML and understand 
 instantly how you would achieve the same thing in 
 Actionscript (and vice versa).
 - variable references and expressions in MXML should be 
 implemented using binding. That means a developer should be 
 able to look at the MXML and know that if there are curly 
 braces, it's a bit of code, and if there aren't, it's a literal value.
 - Beyond three or four core language tags (Script, Style, 
 Repeater, Component, ??? ) the compiler should have no 
 special knowledge of MXML other than the simple mapping rules 
 described above.  if it's all driven by rules and classes, 
 then it improves the chances you the developer will be able 
 to learn the rules and figure out. What's more, if it's 
 driven by rules and classes, then you can extend the product 
 by writing your own classes that get access to all the same 
 features and functionality our classes do.
  
 That's the theory.  And the debate continues to this day.  As 
 we add more functionality and features to the SDK, it gets 
 very tempting to try and customize the MXML Schema in ways 
 that don't quite follow the basic AS--MXML mapping rules.  
 But so far we're still resisting them.
  
 Now one of the downsides of following these 'simple rules' is 
 that at times the MXML for a particular construct or feature 
 becomes much more verbose than we'd like it to be.  In those 
 cases, we've got three choices:
  
 1) change the AS API to generate a less verbose MXML 
 syntax.  This works in some cases (i.e., the API for 
 constraints was changed between beta 1 and beta 2 for this 
 reason).  But sometimes there's just a fundamental conflict 
 between what dictates a good AS API vs. a good MXML syntax.  
 2) Another option would be to just allow custom syntax 
 that breaks the mapping rules for that particular component.  
 We don't like doing that (see above).  
 3) A third option is to extend the rules to allow for 
 simplifying the syntax.  If the use case your looking at it 
 general enough, and it can be tied to a generic set of inputs 
 (i.e., a particular interface, or base class, rather than a 
 specific component), that can be a generally useful solution. 
  It also has a cost associated with it, and can be abused, so 
 we try and be judicious in how we use it.  The more we 
 complexify (? nice word, huh ?) the mappping rules of MXML, 
 the harder it gets to do the translation in your head as you 
 read some markup, and the less benefit we get as described above.  
  
 So in this case, we decided that the situation was 
 generically useful enough to extend the language.  For 
 'renderer' or 'template' use cases, where you write a 
 component that can be passed another component to instantiate 
 for some sub-part of itself, we wanted to make the markup simple.
  
 So here the rule is that when the compiler sees a property of 
 type IFactory, MXML allows two ways of specifying it. The 
 first is just by providing a class name, like so:
  
 LineSeries 

RE: [flexcoders] Re: How to get client IP address in flex?

2006-08-30 Thread Matt Horn
I think the best thing to do is pass the IP addy via a flashVars
variable. You do this by editing the HTML wrapper. You can look at the
example here, and modify it to fit your server technology (this example
uses JSP) and your variable input (this example uses query string
params):

http://livedocs.macromedia.com/flex/2/docs/1005.html

hth,
matt horn
flex docs 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep Malik
 Sent: Wednesday, August 30, 2006 3:02 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: How to get client IP address in flex?
 
 Like what kind of server script are we talking about here and 
 how do we execute a server script on the client side?
 
 -Sandeep
 
 --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com , Abdul Qabiz 
 [EMAIL PROTECTED]
 wrote:
 
  If you are wrapping SWF in server side script, you can easily use
 some
  server-side code to find out. SWFs are executed on client and they
 can not
  give IP address of client..
  
  Doing server-side is quite straight forward...
  
  -abdul
  
  On 8/30/06, ??  [EMAIL PROTECTED] wrote:
  
   You can trick with request to the server. ))
  
   Cheers,
   Mozilla By
  
  
   -Original Message-
   From: flexcoders@yahoogroups.com 
   mailto:flexcoders%40yahoogroups.com  
   flexcoders%40yahoogroups.com
 [mailto:
   flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com  
   flexcoders%40yahoogroups.com] On Behalf Of Sandeep Malik
   Sent: Wednesday, August 30, 2006 4:27 PM
   To: flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com  
   flexcoders%40yahoogroups.com
   Subject: [flexcoders] How to get client IP address in flex?
  
   Hi Guys,
  
   Is there a way to find client IP (on which the swf file is
 running)
   through flex or flash?
  
   Cheers,
   Sandeep
  
   --
   Flexcoders Mailing List
   FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.t
 xt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
   Search Archives: http://www.mail-archive.com/flexcoders% 
   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] Is this a bug? About Number type.

2006-08-30 Thread Gordon Smith












You presumably meant the result should be 23.7, not 23.8.



However, getting 23.703 isn't a bug; you'd get the
same answer in other languages like Java and C++. The imprecision is because Number
in ActionScript (like float in Java and C++) stores a floating-point value as a
binary fraction, not as a decimal fraction. These datatypes use binary fractions
because that's how current microprocessors store and manipulate floating-point
values.



Java solves this problem by having a BigDecimal class whjich
can store decimal fractions. In that case, computations are slower because it
takes many microsprocessor instructions to do a single operation.



The current version of ActionScript doesn't have any decimal
fraction datatype, but it is under consideration for a future version of the
language. The lack of this feaure comes up about once a week, and some participants
on flexcoders have discussed the possibiliy of porting BigDecimal or its
equivalent to ActionScript.



Perhaps you can simply round your results to the precision
you need? Take a look at the toFixed() method of the Number class.



- Gordon











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of beloved_zhou
Sent: Wednesday, August 30, 2006
4:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Is this a
bug? About Number type.











I am using Flex2.0, and I try to get a result about 3
multiply 7.9,
the result should be 23.8, but I got 23.703.

Here is a sample code:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute
mx:TextInput x=76 y=348 id=txt_1
text=3/
mx:TextInput x=291 y=348 id=txt_2
text=7.9/
mx:TextInput x=560 y=348 id=txt_3/
mx:Button x=474 y=348 label=Button
click=doIt()/
mx:Script
![CDATA[
private var num1:Number = 3;
private var num2:Number = 7.9;

private function doIt():void
{
txt_3.text = String(Number(txt_1.text) * Number(txt_2.text));
trace(num1 * num2);
}
]]
/mx:Script
/mx:Application






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: [Junk E-Mail - LOW] RE: [flexcoders] Flex 2 patch timeline

2006-08-30 Thread Matt Chotin












Yes, that is the plan. At the same time
the Mac release comes out we will be upgrading the Windows release with bug
fixes. Mac and Windows will be synchronized at that point moving forward.



Hank has stated my position very nicely
with regard to the other points.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks
Sent: Wednesday, August 30, 2006
12:45 PM
To: flexcoders@yahoogroups.com
Subject: RE: [Junk E-Mail - LOW]
RE: [flexcoders] Flex 2 patch timeline











Who says they're not going to roll out
MacOScompatibility and bug fixes for Windows all in one package? Just
like when the ColdFusion team was doing MacOS work... it applied to the Windows
 Linux versions too.



Shan









From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jack Caldwell
Sent: Wednesday, August 30, 2006
2:18 PM
To: [EMAIL PROTECTED]ups.com
Subject: [Junk E-Mail - LOW] RE:
[flexcoders] Flex 2 patch timeline



Matt or anyone else at Adobe.



I agree that the quality of Flex Builder 2
is good . . . . very good . . . . however . . . .



I know nothing will probably change since
Adobe is the big software company, and I am only a single 

customer(Flex Builder 2 w/charting), but
this position disturbs me.



It reminds me of the construction industry
when a contractor builds or remodels myhouse. I have paid 

for the work and I find problems but the
contractor is off working on another house and doesn't have the 

time or resources to fix the problems in a
timely manner.



To be honest,I could care less about
a Mac version . . . . AND I know those wanting a Mac version could 

care less about a Windows version.
So please no bashing from the Mac side.



It appears that Adobe has not allocated
enough resources to the development team where they can have 

2 groups. As I recall, it was said
on this forum, soon afterFlex 2 was released the development team

received new Macs to begin work on a Mac
version.



Why did Adobe not already have a plan and
resources in place. This type of thing is done all the time.



While I do not expect that every single
bug be issued a release patch,it would be very nice and
customer 

friendly to have a bug fix release plan in
place and implement that plan. Especially in the first 6-9 months of

a major release.



I haven't encountered a bug that I know
of. But when I do, I willprobably have spent many hours or days 

thinking I did notwrite the code
right only to find out later is was a bug. Wasted time . . . . money.



I have said this before, but I would not
have a single customer if I told them I could not fix the software they 

purchased because I was working on another
version.



I really do not understand why large
software companies employ this type of bug fix and update plan.



I only hope Adobe will rethink their
strategy and implementation of releasing bug fixes.



My .02 or actually $ 749 for Flex Builder
2 w/charting.



Thanks,



Jack









From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Wednesday, August 30, 2006
10:21 AM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Flex 2
patch timeline







Are there specific bugs youre looking to be addressed? Based
on direct feedback as well as observation from the various public forums weve
been pretty pleased with the quality of the release so weve held off on
rushing out an updater while we work on things like the Mac release of Flex
Builder. Doesnt mean were not fixing bugs, but weve decided to try to
address more issues in a longer cycle rather than fewer issues quickly.

If theres a specific issue that is blocking your work use
the wish form (http://www.adobe.com/go/wish)
to submit it and indicate so. There are also plenty of official support
options available to help as well (http://www.adobe.com/support/programs/flex/?tab:plans=1)

Matt











From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Adam Reynolds
Sent: Wednesday, August 30, 2006
2:44 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Flex 2 patch
timeline











Before I
dive headlong into my first full Flex 2 project, can anybody 
from Adobe give me an update as to when/if there will be a patch for Flex 2?

Adam

















--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 8/29/2006



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 8/29/2006






__._,_.___





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

Software development tool
  

Re: [flexcoders] Flex 2 patch timeline

2006-08-30 Thread Paul Andrews





Jack,

I don't think you appreciate what a nightmare that 
would be for any development company. The sheer overhead of doing what you 
suggest would be immense. I don't know of a software company of any kind that 
operates like that. I think you've had the wrong position for 27 
years..

Paul

  - Original Message - 
  From: 
  Jack 
  Caldwell 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, August 30, 2006 8:59 
  PM
  Subject: RE: [flexcoders] Flex 2 patch 
  timeline
  
  Jeff:
  
  I fully understood what Matt was saying. That's 
  just it . . . . it is not a top priority.
  
  The issue is that Adobe is fixing the bugs, but not 
  releasing them.
  
  We as developers have to try to figure it out then call 
  support, etc. That could take
  hours or days of my time. It's wasted time and 
  money.
  
  I am like you, I don't have a large support staff 
  either.
  
  My position, for over 27 years,has always been . . 
  . . find a bug send ALL customers 
  a fix ASAP. Not waiting for a customer to 
  call me.
  
  Again, in the first 6-9 months after a major release, I 
  think there should be a different
  release plan in place.
  
  Thanks,
  
  Jack
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Jeff 
  TapperSent: Wednesday, August 30, 2006 2:32 PMTo: 
  flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Flex 2 patch timeline
  
  
  Jack-I think you misunderstand what Matt said. He didn't say 
  they aren't working on fixes, he said it hasnt been their top priority. 
  If you have an issue, he recommended you contact their support team. 
  I have said this before, but I 
  would not have a single customer if I told them I could not fix the software 
  they purchased because I was working on another 
  version.Again, its not an issue of not being able to fix bugs, 
  many companies have a process in place to allow for handling their customers 
  needs. In the adobe case, if something isnt working as you would expect, 
  there is the support channel. drop them an email or give them a call, 
  and they can help solve the issue you are having. They are the ones who 
  are best able to determine if you are doing something wrong, or if its a bug 
  in the code which needs to be fixed. I wouldnt be at all surprised if 
  their were a number of minor patches available through the support 
  channels. I dont know that there are, but if I were them, and I had a 
  few fixes to specific bugs that havent been reported by the community at 
  large, but instead by a few customers, I would probably give the fixes as 
  needed, rather than make a whole new big push. Then again, thats just my 
  thought process. Sadly, I dont have a whole support team working for me, 
  so i need to deal with bugs in my code as they crop up.At 03:18 PM 
  8/30/2006, Jack Caldwell wrote:
  Matt or anyone else at Adobe.I agree that the quality of Flex Builder 2 is good . . 
. . very good . . . . however . . . .I know nothing will probably change since Adobe is the 
big software company, and I am only a single customer(Flex Builder 2 
w/charting), but this position disturbs me.It reminds me of the construction industry 
when a contractor builds or remodels my house. I have paid for the 
work and I find problems but the contractor is off working on another house 
and doesn't have the time or resources to fix the problems in a timely 
manner.To be 
honest, I could care less about a Mac version . . . . AND I know those 
wanting a Mac version could care less about a Windows version. So 
please no bashing from the Mac side.It appears that Adobe has not allocated enough 
resources to the development team where they can have 2 groups. As 
I recall, it was said on this forum, soon after Flex 2 was released the 
development teamreceived new Macs to begin work on a Mac 
version.Why did 
Adobe not already have a plan and resources in place. This type of 
thing is done all the time.While I do not expect that every single bug be issued a 
"release patch", it would be very nice and customer friendly to have a 
bug fix release plan in place and implement that plan. Especially in 
the first 6-9 months ofa major release.I haven't encountered a bug that I know 
of. But when I do, I will probably have spent many hours or days 
thinking I did not write the code right only to find out later is was a 
bug. Wasted time . . . . money.I have said this before, but I would not have a single 
customer if I told them I could not fix the software they purchased 
because I was working on another version.I really do not understand why large 
software companies employ this type of bug fix and update 
plan.I only hope 
Adobe will rethink their strategy and implementation of releasing bug 
fixes.My .02 or 
actually $ 749 for Flex Builder 2 w/charting.Thanks,Jack

 

  1   2   >