[flexcoders] Re: Cairngorm Sequence Command Example

2005-10-31 Thread kaibabsowats
Do any of the command depends on each other (have to work in a
specific sequence) or do they just all have to be done to create the
state you want?

If it's the later you might not want to use the SequenceCommand but
just 5 separate commands that change some state variables and once
your state is set right do what you want.

Renaun

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

 Hi there,
   Does anyone have an example implementation of a Cairngorm
SequenceCommand
 class.
 I need to chain 5 of my asynch Command's together to perform an
action once
 _all_ 5 have completed execution.
 Am I wrong in expecting that a single SequenceCommand will be able
to chain
 all 5 commands ?
  TIA
  - superabe








 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Beta Flash Player causing FLV problems?

2005-10-27 Thread kaibabsowats
This is a nice tool to use to switch between flash players.
http://www.kewbee.de/FlashPluginSwitcher/index.php

There is an uninstaller exe located under the Program
Files\Macromedia\Flash or Flex.  You can also get one from
macromedia's site if I remember correctly.

Renaun

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

 I installed the latest Flash Beta player as part of
 this Alpha Flex Buildler program.
 
 However today I published a FLV video in my
 dreamweaver 8 site and it doesn't work (shows up as an
 X).
 
 Is this caused by the beta player?
 
 I need to remove the Beta Flash Player on my
 production workstation; can someone tell me how?
 
 thx
 
 
   
 __ 
 Yahoo! FareChase: Search multiple travel sites in one click.
 http://farechase.yahoo.com







 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: (Flex 1.5 using Cairngorm Framework) MenuBars in PopUps not Working

2005-10-25 Thread kaibabsowats
More details are need?

How is PopUp.mxml used?
Whats the top component in PopUp.mxml,etc...

You probably doing this but just to double check, in PopUp.mxml are
you putting the AS function insdie mx:Script![CDATA[ ]/mx:Script

Renaun

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

 MenuBars aren't working properly in my pop-ups, whereas they are
 working just fine in my Main.mxml.
 
 In my pop-up, the File menu I've declared won't even drop down when I
 click on it.
 
 -
 
 In Main.mxml:
 
 mx:MenuBar id=MainMenuBar width=450
 change=menuChangeHandler(event)
 mx:dataProvider
 mx:XML
 menuitem label=Finder
   menuitem label=Finder A type=Finder data=FinderA/
   menuitem label=Finder B type=Finder data=FinderB/
 /menuitem
 menuitem label=Add/Edit
   menuitem label=Add/Edit A type=Add/Edit data=AddEditA/
   menuitem label=Add/Edit B type=Add/Edit data=AddEditB/
 /menuitem
 /mx:XML
 /mx:dataProvider
 /mx:MenuBar
 
 mx:Script![CDATA[
 private function menuChangeHandler(event){
 if(event.menuItem.attributes.data == FinderA) {
 commonViewHelper.openWindow('FinderA')
 } else if(event.menuItem.attributes.data == FinderB) {
 commonViewHelper.openWindow('FinderB')
 } else if(event.menuItem.attributes.data == AddEditA) { 
 commonViewHelper.openWindow('AddEditA')
 } else if(event.menuItem.attributes.data == AddEditB) {
 commonViewHelper.openWindow('AddEditB')
 }
 ]]/mx:Script
 
 (That works fine)
 
 -
 
 In PopUp.mxml:
 
 mx:MenuBar id=PopUpMenuBar width=450
 change=menuChangeHandler(event)
 mx:dataProvider
 mx:XML
 menuitem label=File
   menuitem label=Open type=File data=Open/
   menuitem label=Close type=File data=Close/
   menuitem label=Save type=File data=Save/
 /menuitem
 /mx:XML
 /mx:dataProvider
 /mx:MenuBar
 
 private function menuChangeHandler(event){
 if(event.menuItem.attributes.data == Open) {
   // Nothing yet
 } else if(event.menuItem.attributes.data == Close) {
   PopUpViewHelper.closePopUp();   // Closes the pop-up
 } else if(event.menuItem.attributes.data == Save) {
   // Nothing yet
 }
 }
 
 (This is not working properly - the menu won't even drop down to show
 the options.)
 
 Any insight would be greatly appreciated.







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

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

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

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

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




[flexcoders] Flex/AS Documentation Tools

2005-09-17 Thread kaibabsowats
What tools do people use for creating documentation for their MXML and
AS files?

I came across http://naturaldocs.org/ has anybody used this?

Renaun





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

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

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

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

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




[flexcoders] Re: Flex, Coldfusion and RH

2005-09-15 Thread kaibabsowats
What is your Coldfusion server version, Standard or Enterprise?

Renaun

--- In flexcoders@yahoogroups.com, Fernando Barros [EMAIL PROTECTED]
wrote:
 I cant put to work my flex 1.5, coldfusionmx 7 and RH AS:
 
 My coldfusion is working fine but flex only errors:
 
 Any idea will be great!
 
 Tks,
 
 Fernando
 
 Here is my cfserver.log:
 
 Starting Macromedia JRun 4 (Build 84683), coldfusion server
 15/09 15:54:20 warning Unable to open
 /opt/coldfusionmx7/runtime/lib/license.properties
 15/09 15:54:26 info JRun Naming Service listening on *:2920
 15/09 15:54:27 warning No sessionSecret has been specified in jrun.xml.
 Installing a self generated sessionSecret.
 15/09 15:54:28 info No JDBC data sources have been configured for this
 server (see jrun-resources.xml)
 15/09 15:54:28 info JRun Proxy Server listening on *:51011
 15/09 15:54:28 info Deploying enterprise application Macromedia
 ColdFusion MX from: file:/opt/coldfusionmx7/
 15/09 15:54:30 info Deploying web application Macromedia Coldfusion MX
 from: file:/opt/coldfusionmx7/
 15/09 15:54:37 INFO License Service: Flex 1.5 CF Edition enabled
 15/09 15:54:37 INFO Starting Flex 1.5 CF Edition
 15/09 15:54:37 error Error loading class for Filter FlexDetectionFilter:
 Filter is disabled.
 [1]java.lang.NoClassDefFoundError: flex/services/J2EEServiceImpl
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(Unknown Source)
 at java.security.SecureClassLoader.defineClass(Unknown Source)




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

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

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

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

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




[flexcoders] Modeling Cairngorm

2005-09-14 Thread kaibabsowats
Whats the best way to model (UML modeling, Class Diagram, etc...) to
model Cairngorm, specifically ViewHelpers and the UI structure.

For Example I have a Main page that has a ViewStack for 3 sub parts of
the application.  Each Sub part has their own sub parts with
respective ViewHelpers.  The Diagram below hopefully describes what I
am talking about (VH = ViewHelper)

MainVH - AppVH
  |   |
  |   |- CategoryVH
  |   |
  |   |- SubcategoryVH
  |   |  
  |   |- ItemPageVH
  |   |  
  |   |- RenderItemControllerVH
  |   |  
  |   |- ItemRenderingAVH
  |   |  
  |   |- ItemRenderingBVH
  |   |  
  |   |- ItemRenderingCVH  
  |
  |- ReportsVH
  |   |
  |   |- User ReportsVH
  |   |
  |   |- Group ReportsVH
  |
  |- SetupVH
  |
  |- Manage UsersVH
  |
  |- Change PasswordVH
  
Does a standard Class Diagram suffice for modeling the structure
above?  I can't think of a way it would.  

What I am after is a nice way to show the API of all the ViewHelpers
but also convey the structure above.




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

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

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

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

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




[flexcoders] Re: Modeling Cairngorm

2005-09-14 Thread kaibabsowats
Here is the revised structure the last post didn't come through very
clear:

MainVH - AppVH
__|___|
__|___|- CategoryVH
__|___|
__|___|- SubcategoryVH
__|___|
__|___|- ItemPageVH
__|___|
__|___|- RenderItemControllerVH
__|_|  
__|_|- ItemRenderingAVH
__|_|
__|_|- ItemRenderingBVH
__|_|
__|_|- ItemRenderingCVH  
__|
__|- ReportsVH
__|___|
__|___|- User ReportsVH
__|___|
__|___|- Group ReportsVH
__|
__|- SetupVH
__|
__|- Manage UsersVH
__|
__|- Change PasswordVH

--- In flexcoders@yahoogroups.com, kaibabsowats [EMAIL PROTECTED] wrote:
 Whats the best way to model (UML modeling, Class Diagram, etc...) to
 model Cairngorm, specifically ViewHelpers and the UI structure.
 
 For Example I have a Main page that has a ViewStack for 3 sub parts
of
 the application.  Each Sub part has their own sub parts with
 respective ViewHelpers.  The Diagram below hopefully describes what
I
 am talking about (VH = ViewHelper)
 
 MainVH - AppVH
   |   |
   |   |- CategoryVH
   |   |
   |   |- SubcategoryVH
   |   |  
   |   |- ItemPageVH
   |   |  
   |   |- RenderItemControllerVH
   |   |  
   |   |- ItemRenderingAVH
   |   |  
   |   |- ItemRenderingBVH
   |   |  
   |   |- ItemRenderingCVH  
   |
   |- ReportsVH
   |   |
   |   |- User ReportsVH
   |   |
   |   |- Group ReportsVH
   |
   |- SetupVH
   |
   |- Manage UsersVH
   |
   |- Change PasswordVH
   
 Does a standard Class Diagram suffice for modeling the structure
 above?  I can't think of a way it would.  
 
 What I am after is a nice way to show the API of all the ViewHelpers
 but also convey the structure above.





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

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

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

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

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





[flexcoders] Re: How to create a binding from within an actionscript class file - Impossible?

2005-09-13 Thread kaibabsowats
I dont believe binding is a good use in the instance.  What is the
string in the class file used for?  

Is it used in displaying something?
  If so the value should probably be in the Model and bound to the
View and not in a Class.

Is it used for class logic?

Probably better to take a step back and disect what you are trying to
accomplish.

One way (not necessarily good) is to pass a reference to a function in
the class as a parameter of the Event object in the EventBroadcaster
call.  Then set this function reference in the execute method of the
Command object to a private attribute.  Then in the onResult method
call use this attribute to return a call back to your class file with
the data you want set.  This is a lot of coupling and you really
should look at what you are trying to accomplish before going this route.

Renaun


--- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote:
 No takers so I guess it is not possible?
 How do you Flex gurus get your model updated dynamically, or, am I
 asking in the wrong group?
 
 --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote:
  In my class file I call EventBroadcaster to dispatch an event that
  eventually retrieves a string into a Command.onResult(). I need that
  string back in my class file. So, I want to bind a variable in the
  class file to that onResult method. Could someone show me how to do
  this? Perhaps there is a way to instantiate mx:Binding in my class
  file some way, that would do it, but I can't figure it out.
  
  Or is there a better way (the right way) to do this without coupling
  the class file to the command file?
  
  Thanks,
  Libby





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

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

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

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

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




[flexcoders] Re: Including Panel depending on the selected canvas

2005-09-06 Thread kaibabsowats
Look for an example of ViewStack in the livedocs.

--- In flexcoders@yahoogroups.com, vnice Cute [EMAIL PROTECTED] wrote:
 Hello All;
 Please how can i add (include a panel) to the mxml file.
 
 Please see the attached code
 
 Thanks 
 Attach Code 
 
 ?xml version=1.0 encoding=utf-8?mx:Application
xmlns:mx=http://www.macromedia.com/2003/mxml;xmlns=*   
pageTitle=SMET Projectmx:Style source=style.css/   
mx:Canvas width=100% height=100%mx:HBox width=100%
height=100%**
Including Panel here depended on the selected
canvas**
 
 mx:Panel id=detailsPanel width=100% height=100%
   mx:TabNavigator id=tn width=100% height=100% 
  mx:Canvas label=SMET Team   /mx:Canvas  
 
mx:Canvas label=Inputs/mx:Canvas  
 
mx:Canvas label=Reports   /mx:Canvas  
  mx:Canvas
label=Projects /mx:Canvas  
  mx:Canvas
label=Charts   /mx:Canvas
mx:Canvas
label=Forums   /mx:Canvas
mx:Canvas
label=Chat /mx:Canvas
mx:Canvas
label=Logout   /mx:Canvas  
/mx:TabNavigator!--mx:ControlBar
   mx:Button label=Write Review //mx:ControlBar
--/mx:Panel/mx:HBox   
/mx:Canvas/mx:Application** The Panel 1
**mx:Panel id=smetnav title=Home
width=210 height=100% textAlign=center fontSize=14 
   mx:Form   mx:Label text=About 
 SMET Team/  /mx:Form
   /mx:Panel
 
  
 
 ** The Panel 2 **  
 mx:Panel id=Inputs title=Home width=210 height=100%
textAlign=center fontSize=14   mx:Form   
mx:Label
text=About Input forms/  /mx:Form
/mx:Panel
 
 
 
   
 -
  Click here to donate to the Hurricane Katrina relief effort.





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

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

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

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

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




[flexcoders] Re: Embedding a slideshow swf that calls image files

2005-08-31 Thread kaibabsowats
Try progress=event.target.content.my_txt.text ='Hello World'

The example code off my blog uses a dynamic textfield variable but
this should work also.  

Make sure the parent SWF (flex) and the loaded SWF are in the same
domain or you will get cross-domain security issues.

Renaun

--- In flexcoders@yahoogroups.com, Philippe Maegerman [EMAIL PROTECTED] 
wrote:
 I thought you found the trick by using 'progress' instead of 'load'
or 'creationComplete' but that doesn't work for me.
  
 I have a flex file that is loading swfVar.swf and assigns a value to
the property 't' like this:
  
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
 mx:Loader contentPath=swfVar.swf progress=event.target.content.t
='Hello World'
 /mx:Loader
 /mx:Application
  
 The swf contains one TextField called 'my_txt', its text is
populated with a variable 't' that should have been assigned a value
by the mxml file as you suggest:
  
 swfVar.swf
 -
 var t:String;
 my_txt.text = t;
  
 But the textfield always shows 'undefined'
  
 Maybe I didn't understand what you were blogging about, do not
hesitate to correct me.
  
 Cheers,
  
 Philippe Maegerman
 
  
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of kaibabsowats
 Sent: mardi 30 août 2005 20:15
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Embedding a slideshow swf that calls image
files
 
 
 I blogged some more info on the SWF FlashVar, view it at:
 
 http://renaun.com/blog/?p=4
 
 
 
 
 --
 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
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Software+design+and+developmentw3=Macromedia+flexw4=Software+development+best+practicec=4s=131.sig=FkTWphZzV9mFulU7V3u7pQ
Software design and development
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Software+design+and+developmentw3=Macromedia+flexw4=Software+development+best+practicec=4s=131.sig=w0jnvy4gyxC04c4dhRnw6A
Macromedia flex
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Software+design+and+developmentw3=Macromedia+flexw4=Software+development+best+practicec=4s=131.sig=XXu7YeegB3Vi-5Qngf6oNQ

 Software development best practice
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Software+design+and+developmentw3=Macromedia+flexw4=Software+development+best+practicec=4s=131.sig=ZT_U6e_iPgXSriY_dI9nIg

 
 
 
 YAHOO! GROUPS LINKS 
 
 
   
 *  Visit your group flexcoders
http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/ . 
 
 
 
 
 
 
 --
 **STATEMENT OF CONFIDENTIALITY** 
 
 This e-mail and any attached files are confidential and intended
solely for the use of the individual to whom it is addressed. If you
have received this email in error please send it back to the person
that sent it to you. Any views or opinions presented are solely those
of author and do not necessarily represent those the Emakina Company.
Unauthorized publication, use, dissemination, forwarding, printing or
copying of this email and its associated attachments is strictly
prohibited.
 
 We also inform you that we have checked that this message does not
contain any virus but we decline any responsability in case of any
damage caused by an a non detected virus.
 --





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Embedding a slideshow swf that calls image files

2005-08-31 Thread kaibabsowats
It has to do with the timing of everything.

The last example code of your SWF was:
var t:String;  // which sets to undefined
myText.text = t;

So when the SWF's first frame plays it sets myText.text to undefined.

It seems that your SWF goes on past the first frame ( or stops
execution ) before the Loader.content gets to set the variable t.  

So the execution sequence would look something like this:
Loader calls SWF.
SWF calls first frame action script and sets myText.text = t (which is
undefined)
SWF moves on to or stops executing first frame actionscript.
Loader.content.t is set.
Now myText.text = t is never called again and the new value is not set.

In the case where you call myText.text directly you are not setting a
variable that has a execution based on some timeline but directly to
the correct value you want to change.

An alternate is do:
progress=event.target.content.t ='Hello
World';event.target.content.gotoAndPlay(1)

But the setting of variables directly is much better.

Talking to loaded SWF's are not exactly like FlashVars because it
depends on the nature of the SWF where things are initialized/set.

I hope that makes sense,

Renaun  

--- In flexcoders@yahoogroups.com, Philippe Maegerman [EMAIL PROTECTED] 
wrote:
 I tried it and noticed it worked, but couldn't guess why assigning a
value to a variable wouldn't work.
 That was the original problem where variables were passed through
Flashvars and used later in a XML download.
 It was just puzzling me ;))
  
 Philippe Maegerman
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of kaibabsowats
 Sent: mercredi 31 août 2005 15:59
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Embedding a slideshow swf that calls image
files
 
 
 Try progress=event.target.content.my_txt.text ='Hello World'
 
 The example code off my blog uses a dynamic textfield variable but
 this should work also.  
 
 Make sure the parent SWF (flex) and the loaded SWF are in the same
 domain or you will get cross-domain security issues.
 
 Renaun
 
 --- In flexcoders@yahoogroups.com, Philippe Maegerman [EMAIL PROTECTED]
wrote:
  I thought you found the trick by using 'progress' instead of 'load'
 or 'creationComplete' but that doesn't work for me.
   
  I have a flex file that is loading swfVar.swf and assigns a value to
 the property 't' like this:
   
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  mx:Loader contentPath=swfVar.swf progress=event.target.content.t
 ='Hello World'
  /mx:Loader
  /mx:Application
   
  The swf contains one TextField called 'my_txt', its text is
 populated with a variable 't' that should have been assigned a value
 by the mxml file as you suggest:
   
  swfVar.swf
  -
  var t:String;
  my_txt.text = t;
   
  But the textfield always shows 'undefined'
   
  Maybe I didn't understand what you were blogging about, do not
 hesitate to correct me.
   
  Cheers,
   
  Philippe Maegerman
  
   
  
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On Behalf Of kaibabsowats
  Sent: mardi 30 août 2005 20:15
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Embedding a slideshow swf that calls image
 files
  
  
  I blogged some more info on the SWF FlashVar, view it at:
  
  http://renaun.com/blog/?p=4
  
  
  
  
  --
  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

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Software+design+and+developmentw3=Macromedia+flexw4=Software+development+best+practicec=4s=131.sig=FkTWphZzV9mFulU7V3u7pQ
   Software design and development

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Software+design+and+developmentw3=Macromedia+flexw4=Software+development+best+practicec=4s=131.sig=w0jnvy4gyxC04c4dhRnw6A
   Macromedia flex

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Software+design+and+developmentw3=Macromedia+flexw4=Software+development+best+practicec=4s=131.sig=XXu7YeegB3Vi-5Qngf6oNQ
   
  Software development best practice

http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Software+design+and+developmentw3=Macromedia+flexw4=Software+development+best+practicec=4s=131.sig=ZT_U6e_iPgXSriY_dI9nIg
   
  
  
  
  YAHOO! GROUPS LINKS 
  
  

  *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
  
  *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
  
  *  Your use of Yahoo! Groups is subject

[flexcoders] Re: Flex Cairngorm + ColdFusion + Framework?

2005-08-31 Thread kaibabsowats
The nature of Remoting does limit the benifits of frameworks for the
backend.  Let me restate this.  It doesn't warrant anything fancy for
the actual Remote Object interface.  Of course you should use patterns
for business logic but the actual Remote Object interface is just API
structure of folders. (ie:  com.store.ProductService,
com.setup.UserService)

The actual business logic and other backend resources that
ProductService and UserService uses to get the correct data is where
you can use Patterns.  The patterns would probably be more along the
lines of Business Logic, Database, State, etc... not UI patterns. 

So my quick answer is yes and no, does that make sense?

Renaun

--- In flexcoders@yahoogroups.com, Simon Barber [EMAIL PROTECTED] wrote:
 I recently started building an application in Flex using the
 Cairngorm 
 framework. The server side logic will come from ColdFusion but I was 
 wondering if anyone implements any MVC style framework on the 
 ColdFusion side? 
 
 I have looked at a few and the Tartan framework has a lot of 
 similarities with Cairngorm. Do you think it would be worth 
 implementing an MVC framework on the server side like Tartan for 
 instance?
 
 Has anyone done this and had great success?




 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Jboss throws out of memory error

2005-08-31 Thread kaibabsowats
Most likely its a JVM issue.  What JVM are you using?

If its Sun's set the -Xms and -Xmx parameters.

Renaun

--- In flexcoders@yahoogroups.com, relisanhard52
[EMAIL PROTECTED] wrote:
 Hi
 I am using JBoss 3.2.2. I deploy some sample flex demo code. Sometimes 
 it is throwing this error - OutOfMemoryError.
 Considering my sample demo applications are hardly 8files together this 
 is starting to concern me..
 
 Any ideas/advise.
 
 
 Regards
 Husain
 
 Btw, Alistair/Steven - your book not sold/published in India?(I had to 
 get a copy from amazon!)




 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Embedding images in an array

2005-08-31 Thread kaibabsowats
Try,

var viewImages:Array = new Array();
[Embed(source=/assets/lock.png)]
var lockImage:String;
viewImages[ lockImage ] = lockImage;

Renaun

--- In flexcoders@yahoogroups.com, zipo13 [EMAIL PROTECTED] wrote:
 Hi,
 I'm trying to embed a bunch of images into an array instead of a string.
 I think my failure to do that comes from the fact that I don't know
 what this syntax actually does:
 
 [Embed(source=/assets/lock.png)]
 var lockImage:String;
 
 I understand that this causes lockImage to somehow get a string that
 represents the embedded image but I'm not sure how this happens - does
 the compiler just knows to pick the string var that is defined right
 after it?
 
 in that in mind I tried the following:
 
 var viewImages:Array = new Array();
 [Embed(source=/assets/lock.png)]
 viewImages[lockImage];
 
 in the hope that this string will get into the array under lockImage
 but as expected it didn't work.
 
 Any ideas?




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

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

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

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

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




[flexcoders] Re: Jboss throws out of memory error

2005-08-31 Thread kaibabsowats
The Xms and Xmx JVM parameters set the default memory settings.  By
default Sun's JVM is set to 64Mb which is not high enough for most
server applications.

I dont know JBoss well enough, but you should be able to Google on
JBoss and Xms and Xmx settings.  It will have to do with JAVA_OPTS or
the JAVA command line call java.exe in the run scripts.  They should
look something like -Xms256Mb -Xmx256Mb ( or higher ).

You can always use another JVM like IBM, JRockit (I use this one for
servers), Oracle, or Borland.



--- In flexcoders@yahoogroups.com, Husain Kitabi [EMAIL PROTECTED]
wrote:
 Hi
 I am using Sun JDK 1.4
 What does those parameters signify.
  
 Regards
 Husain
 
 kaibabsowats [EMAIL PROTECTED] wrote:
 Most likely its a JVM issue.  What JVM are you using?
 
 If its Sun's set the -Xms and -Xmx parameters.
 
 Renaun
 
 --- In flexcoders@yahoogroups.com, relisanhard52
 [EMAIL PROTECTED] wrote:
  Hi
  I am using JBoss 3.2.2. I deploy some sample flex demo code.
Sometimes 
  it is throwing this error - OutOfMemoryError.
  Considering my sample demo applications are hardly 8files together
this 
  is starting to concern me..
  
  Any ideas/advise.
  
  
  Regards
  Husain
  
  Btw, Alistair/Steven - your book not sold/published in India?(I
had to 
  get a copy from amazon!)
 
 
 
 
 --
 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 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. 
 
 
 -
 
 
 
 
 hussain
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com




 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




[flexcoders] Re: Embedding a slideshow swf that calls image files

2005-08-30 Thread kaibabsowats
You can set variables or call functions on SWF's that have been loaded
 through the Loader class.

mx:Script
![CDATA[
function setVars( event ) {
event.target.content.xmlFile = cover.xml;
event.target.content.progressColor = 0xCC;
}
]] 
/mx:Script
mx:Loader id=slideshow source=slideshow.swf complete=setVars(
event )/

The question is will these variables be set before the first frame is
called on the SWF.  If not try progress instead of complete event.

Renaun

--- In flexcoders@yahoogroups.com, Steve Ocean [EMAIL PROTECTED]
wrote:
 I have a slideshow generator that does a great job of one task,
showing a 
 particular format of a slideshow. I want to embed this slideshow in
a Flex 
 app. I have looked through the docs and forums and have found
similar 
 questions, but none with exactly the same problem, and I confess I
can't 
 figure out how best to do this.
 
 How, should I put one of these slideshows, or any swf for that
matter, in a 
 contanier, say a viewstack, and pass it the parameters it needs to
function? 
 I need to assume that I cannot change the code of the swf I am
embedding, 
 nor do I have access to the FLA.
 
 Here's the HTML that the slideshow uses to initiate the show and
instruct 
 the swf player about where to get files etc:
 
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 http://www.w3.org/TR/html4/loose.dtd;
 html
 head
 meta http-equiv=Content-Type content=text/html;
charset=iso-8859-1
 titleUntitled Document/title
 /head
 
 body
 object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354
codebase=

http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=7,0,0,0
 width=675 height=450 id=cover align=middle
 param name=FlashVars
value=xmlFile=cover.xmlprogressColor=0xCC /
 param name=movie value=slideshow.swf /
 param name=quality value=best /
 param name=scale value=scale /
 param name=bgcolor value=#00 /
 embed src=slideshow.swf id=cover quality=best
flashvars=xmlFile=
 cover.xmlprogressColor=0xCC scale=noscale bgcolor=#00 
 type=application/x-shockwave-flash width=675 height=450
pluginspage=
 http://www.macromedia.com/go/getflashplayer; /
 /object
 /body
 /html
 
 
 Here's the XML in cover.xml:
 
 ?xml version=1.0 encoding=UTF-8?
 slideshow effecttime=6 transtime=2 music=08 Dreams of
Eternity.mp3 
 volume=30 repeat=true streaming=true
 slide filename=1 Ext Sunset Best.jpg /
 slide filename=10 Patio to Dia Head.jpg /
 slide filename=10.jpg /
 slide filename=Sunset Liv Rm 010.jpg /
 /slideshow
 
 many thanks




 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Loading in the background

2005-08-11 Thread kaibabsowats
In regards to the MediaDisplay and downloading all the media before 
playing, one way is to do:
mediaDisplay.setMedia( somemedia );
mediaDisplay.stop();

Then there is a start event which fires when the MediaDisplay 
thinks there is enough buffered to start playing.  If you want to 
set your own buffer amount before start playing just use the 
progress event and do something like this:

if( mediaDisplay.bytesLoaded  mediaDisplay.bytesTotal * 0.5 )
mediaDisplay.play();

Renaun


--- In flexcoders@yahoogroups.com, Adam Cath [EMAIL PROTECTED] wrote:
 Hi Andrew,
 
 2) You can create the MediaDisplay and set visible=false so it 
doesn't show up until you want it. If it doesn't start buffering, 
you should be able to kick-start it by calling load().
 
 1) What do you mean by load content? You can download whatever 
you want, whenever you want, from a remote object or web service. 
You can load assets like images by creating them, but making them 
invisible (like what I suggested above). 
 
 Hope this helps,
 Adam
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of elvithrar
 Sent: Wednesday, August 10, 2005 5:58 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Loading in the background
 
 Im quite new to flex and was hoping somebody could answer the
 following questions:
 
 Does flex allow you to load content in the background so if i 
decide
 to go to a new page the content could already be there?
 
 Also, probably more importantly, is it possible to start streaming 
for
 a MediaDisplay in the background so once a user views the 
MediaDisplay
 the  
 whole video is buffered or a significant portion has already been
 buffered?
 
 Thanks
 
 Andrew
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com 
 Yahoo! Groups Links





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hpdnna4/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123829840/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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: Cairgorm command question.

2005-08-10 Thread kaibabsowats
Its a combination.  Your command will catch the error, then it should
call a ViewHelper function to do anything that is in regards to the
View.  

The Cairgnorm Shopping Cart example has Alerts for most of the on
Fault calls.  So it kinda of depends on what you want to have done. 
If you want to change the View because of an error condition you will
want the Command to communicate such an action with the ViewHelper.

Thats my simple take on it, 

Renaun

--- In flexcoders@yahoogroups.com, Omar Ramos [EMAIL PROTECTED] wrote:
 Hi guys I have a simple question. Does my command need to have the
 logic to manage the exceptiosn I recive from remoting and decide what
 to do depending on the exception? or does that belong on the view
 helper? Thanks for any feedback you can give with this.
 
 
 Omar Ramos




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hs07i1g/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123702820/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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: Interesting news on Zorn

2005-08-09 Thread kaibabsowats
I just read this and WOW is right.  Any more news on this will be good.

But after looking into it more, there will be differences in the
Product offerings. Some items below will keep you wanting to buy the
Flex Server license, but it depends on the kind of Project you are
using Flex for:

- new set of Data Services
- Support for data push, real time data streaming
- Support of automated testing
- Additional components not available in the base Zorn package

Renaun

--- In flexcoders@yahoogroups.com, temporal_illusion
[EMAIL PROTECTED] wrote:
 Holy cow that's HUGE news!
 
 Excellent move, very glad to see this!
 
 Jason
 
 --- In flexcoders@yahoogroups.com, Ian Welsh [EMAIL PROTECTED] wrote:
  from Mike Chambers ...
   
  
 http://weblogs.macromedia.com/mesh/archives/2005/08/will_zorn_requi.cfm




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hrjvk6t/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123629312/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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: Problem of installation with Fedora C4

2005-08-08 Thread kaibabsowats
Seems to be a awk issue.  Find what version of awk is on the Flex
support RedHat Enterprise stuff and use a version close to it.

--- In flexcoders@yahoogroups.com, endofadam228
[EMAIL PROTECTED] wrote:
 Hi All,
 I want to install the Flex server in fedora C4, I tried many different
 config to install, but still not work
 
 Any one can help me? Please!
 
 the installation and display the messages are as below:
 
 [EMAIL PROTECTED] ~]# cd flex
 [EMAIL PROTECTED] flex]# ./flex-15-lin.bin Preparing to install...
 Extracting the JRE from the installer archive...
 Unpacking the JRE...
 Extracting the installation resources from the installer archive...
 Configuring the installer for this system's environment...
 awk: cmd. line:6: warning: escape sequence `\.'
 treated as plain `.'
 
 Launching installer...
 
 Preparing CONSOLE Mode Installation...
 

===
(created with InstallAnywhere
 by Zero G)

---
 
 ===
 
 Installer User Interface Mode Not Supported
 
 Unable to load and to prepare the installer in console or silent mode.
 
 ===





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hb4c52k/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123517253/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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: Fastest Hardware for Flex compilation

2005-08-08 Thread kaibabsowats
Definetly call Macromedia Sales Rep for clarification because thats
not what the Sales Rep told me.  

It doesn't seem right to have to pay $29k just to get going on a
single CPU server.  And if the starter kit is 4 separate licenses it
seems to agree with the EULA.

--- In flexcoders@yahoogroups.com, Dave Carabetta [EMAIL PROTECTED] wrote:
 On 8/8/05, jwc_wensan [EMAIL PROTECTED] wrote:
  Dave:
  
  Am I understanding correctly, that the Starter Kit can ONLY be used
  on a SINGLE server that has from 1-4 CPUs?
  
 
 That's the way the EULA reads and what I am almost positive our sales
 rep told us back in late March when he was giving us a heads-up.
 However, as you see, my e-mail address doesn't end in
 macromedia.com, so your best bet is to call your sales rep for
 clarification.
 
 Regards,
 Dave.




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12honfts5/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123539878/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

--
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: Fastest Hardware for Flex compilation

2005-08-05 Thread kaibabsowats
CPU is defintely the factor for compiling, as for Dual CPU it depends
on if the compiler is multi-threaded.  Does any one know if the mxmlc
compiler is multi-threaded?

--- In flexcoders@yahoogroups.com, Allen Manning [EMAIL PROTECTED]
wrote:
 I have 1.5 gigs of memory and still have loads free when the
compilation is
 happening.
 
 Would a second processor assist in mxmlc compilation?
 
 
 Allen
 www.prismix.com/
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Niklas Richardson
 Sent: 05 August 2005 10:17
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Fastest Hardware for Flex compilation
 
 Lots of CPUs and lots of memory! :)
 
 
 On 05/08/05, Allen Manning [EMAIL PROTECTED] wrote:
   
   
  
  Hello, 
  

  
  I'm trying to get my flex compilation time down to as little as
possible. 
  We are using mxmlc via Ant to compile our flex code.  What machine
spec
  would be the best to build these swfs fast.  Would a dual proc help at
 all? 
  

  
  Thanks, 
  
  Allen 
  
  www.prismix.com/ 
  




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hm0700a/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123266417/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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: has anyone had problems setting media components volumes?

2005-07-21 Thread kaibabsowats
Are you using MediaPlayer or MediaController with MediaDisplay?

You can try to set the volume level after you have loaded and started
playing the media.

I use MediaController and MediaDisplay, I can set the volume correctly
after the videos have been loaded and then play them.  But I am not
using a rtmp address.

Renaun

--- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote:
 I'm loading an flv from an rtmp address (flashcom) and i'm trying to
set the 
 volume to zero. 
 
 It's not working. I'm setting the volume to zero in the mxml. And I'm 
 setting the volume to zero programatically before I play the video.
 
 Setting it in mxml doesn't seem to affect the media controller at
all. When 
 I set it in AS I can see the volume control on the controller move
to zero.
 
 But the volume of the video is not affected.
 
 HOWEVER when I set the volume of the video manually it works. The
volume is 
 muted and stays muted for when I play all other videos.
 
 Anyone else have this problem?




--
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: has anyone had problems setting media components volumes?

2005-07-21 Thread kaibabsowats
Here are some snippets from my AS code to make sure we are on the same
page.

var mcDisplay:MediaDisplay;
var mcController:MediaController;

// can be done in the mxml also
mcDisplay.associateController( mcController );

// Later at the function where I know the FLV has been loaded
mcDisplay.volume = 50;
mcController.volume = 50;
mcDisplay.play();

So I actually set the volume before hand and it works, but I dont know
if the rtmp actually messes with stuff as it is sending more
information.  My knowledge of FCS is limited but I think the volume
can be controlled on that end so the Media Components might act
different because of receiving volume info from the rtmp stream, but
again my knowledge is limited on this subject.

Renaun



--- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote:
 MediaDisplay with a Controller
 
 I'll try setting it after it's playing... and report back. 
 
 Thanks for the idea.
 
 On 7/21/05, kaibabsowats [EMAIL PROTECTED] wrote:
  
  rtmp address.




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

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

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

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





[flexcoders] Re: Flex CPU License(s)

2005-07-20 Thread kaibabsowats
I won't give you definite answer as it does really depend, but give
you a at least number.  

With Java the JVM has a 1.5Gb ram limitation (unless using Sun boxes
or 64 bit correct me if I am wrong).  So I usually try and get 2Gb of
ram minimum.  This allows the JVM use its limit if needed and have
stuff left over for normal OS and Database usage.

The number I can give is that you can definitely handle a couple
hundred simultaneous users on a server like that.  To spec out
anything more you need to benchmark the server with the actual
application.  I had a Dual 3.2Ghz Xeon 2Gb ram handle 1000-2000
simultaneous users for a Java application that was Memory intensive.

It is pretty safe to say if you actually have a couple hundred
simultaneous users you mostly likely have ten of thousand actual
users.  Of course there is no magic number but these are given as is
and really should be benchmarked with the actual application.

Renaun

--- In flexcoders@yahoogroups.com, jwc_wensan [EMAIL PROTECTED] wrote:
 To All:
 
 Yesterday I made a post regarding trying to determine how many users
 a single server with one CPU could handle.  I realize it depends
 and I did not define any type of application.
 
 I am trying to get some type of handle on what my costs will be
 regarding CPU licenses, servers, etc.
 
 So let me try again.  Let's take the Flexstore as an example 
 application.  Based on this, can anyone shed some light as to how 
 many users in an hour the server could adequately handle.
 
 Where will the bottleneck occur: Flex, server itself, database, etc.
 
 If an hour is not the right way to measure, then please offer any
 measurement you feel is correct.
 
 Server Configuration:
 
 Dell Server @ 3.8 GHz with 1 GB RAM
 JRUN4
 Win 2000 Server
 1 Flex license
 
 As Dave and others recommended, I will put the database on a separate
 server.
 
 I am not trying to tie anyone's hands here, just trying to get some
 perspective.
 
 Thanks in advance,
 
 Jack




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

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

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

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





[flexcoders] Re: Flex CPU License(s)

2005-07-20 Thread kaibabsowats
The number was a at least number, so it was definetely low.

I'll take a stab and trying to explain all the depends, but I might be
off on some of these.

Performance hit - Flex compiling the MXML into SWF files, there is
caching mechanisms built in, dont know the extent how well the caching
works.  This process is usaully CPU then Memory intensive.  This is
done when in the JVM so your bottleneck here is the JVM used (IBM,
Sun, BEA Jrockit, etc... ).

Backend Data Tier ( WebServices/Remoting etc... ) - This depends on
what you end up using, could be Java, .Net, or ColdFusion (even PHP or
Perl).  Assuming you run any of these on the same machine you'll have
performance in CPU or Memory, where these bottlenecks follow a typical
application bottleneck.  These service's performance is not directly
related to Flex, unless you are using Flex's sandbox policy then there
would be some overhead placed on the JVM again to handle each request.

As for benchmarking there are software programs out there that can
replay http requests and simulate lots of people hitting your servers.
  But its still hard to get good numbers unless you simulate your real
deployment environment as close as possible.  

One thing going for Flex is the idea that instead of having alot of
small requests hitting your server over a period of time, which eats
up resources, you have one medium/big hit at first with little
interaction with the server after (of course depending on if the
application is getting real-time data or not).  You have a situation
where they hit it less times over a period of time thus off setting
the time server resource you give up for running Flex.

The disclaimer is that it just depends.  Depends on size of the SWF's,
complexity of MXML Flex compiling, data being transfered, interaction
of user (does the app have real time data ), etc...  

In my case I am doing online video training and my bandwidth is going
to be a bigger issue then Flex performance for the number of projected
users.

Its really hard to say what a specific server can do without knowing
the extent of how its going to be used and the application being
built.

Renaun

--- In flexcoders@yahoogroups.com, jwc_wensan [EMAIL PROTECTED]
wrote:
 Renaun:
 
 I appreciate your input.
 
 That number seems low.  What do you see is the bottleneck?  Flex,
 CPU, RAM, etc.?
 
 Without going live, any suggestions on how to benchmark?
 
 Thanks,
 
 Jack
 
 
 --- In flexcoders@yahoogroups.com, kaibabsowats [EMAIL PROTECTED] 
 wrote:
  I won't give you definite answer as it does really depend, but
give
  you a at least number.  
  
  With Java the JVM has a 1.5Gb ram limitation (unless using Sun 
 boxes
  or 64 bit correct me if I am wrong).  So I usually try and get
2Gb 
 of
  ram minimum.  This allows the JVM use its limit if needed and have
  stuff left over for normal OS and Database usage.
  
  The number I can give is that you can definitely handle a couple
  hundred simultaneous users on a server like that.  To spec out
  anything more you need to benchmark the server with the actual
  application.  I had a Dual 3.2Ghz Xeon 2Gb ram handle 1000-2000
  simultaneous users for a Java application that was Memory 
 intensive.
  
  It is pretty safe to say if you actually have a couple hundred
  simultaneous users you mostly likely have ten of thousand actual
  users.  Of course there is no magic number but these are given as 
 is
  and really should be benchmarked with the actual application.
  
  Renaun
  
  --- In flexcoders@yahoogroups.com, jwc_wensan [EMAIL PROTECTED] 
 wrote:
   To All:
   
   Yesterday I made a post regarding trying to determine how many 
 users
   a single server with one CPU could handle.  I realize it 
 depends
   and I did not define any type of application.
   
   I am trying to get some type of handle on what my costs will be
   regarding CPU licenses, servers, etc.
   
   So let me try again.  Let's take the Flexstore as an example 
   application.  Based on this, can anyone shed some light as to 
 how 
   many users in an hour the server could adequately handle.
   
   Where will the bottleneck occur: Flex, server itself, database, 
 etc.
   
   If an hour is not the right way to measure, then please offer
any
   measurement you feel is correct.
   
   Server Configuration:
   
   Dell Server @ 3.8 GHz with 1 GB RAM
   JRUN4
   Win 2000 Server
   1 Flex license
   
   As Dave and others recommended, I will put the database on a 
 separate
   server.
   
   I am not trying to tie anyone's hands here, just trying to get 
 some
   perspective.
   
   Thanks in advance,
   
   Jack




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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

[flexcoders] Re: Flex CPU License(s)

2005-07-20 Thread kaibabsowats
Here is my short answer to your bottleneck question.

The RAM will be the bottleneck of your server as stated below.

--- In flexcoders@yahoogroups.com, jwc_wensan [EMAIL PROTECTED] wrote:
 Renaun:
 
 I appreciate your input.
 
 That number seems low.  What do you see is the bottleneck?  Flex,
 CPU, RAM, etc.?
 
 Without going live, any suggestions on how to benchmark?
 
 Thanks,
 
 Jack
 
 
 --- In flexcoders@yahoogroups.com, kaibabsowats [EMAIL PROTECTED] 
 wrote:
  I won't give you definite answer as it does really depend, but give
  you a at least number.  
  
  With Java the JVM has a 1.5Gb ram limitation (unless using Sun 
 boxes
  or 64 bit correct me if I am wrong).  So I usually try and get 2Gb 
 of
  ram minimum.  This allows the JVM use its limit if needed and have
  stuff left over for normal OS and Database usage.
  
  The number I can give is that you can definitely handle a couple
  hundred simultaneous users on a server like that.  To spec out
  anything more you need to benchmark the server with the actual
  application.  I had a Dual 3.2Ghz Xeon 2Gb ram handle 1000-2000
  simultaneous users for a Java application that was Memory 
 intensive.
  
  It is pretty safe to say if you actually have a couple hundred
  simultaneous users you mostly likely have ten of thousand actual
  users.  Of course there is no magic number but these are given as 
 is
  and really should be benchmarked with the actual application.
  
  Renaun
  
  --- In flexcoders@yahoogroups.com, jwc_wensan [EMAIL PROTECTED] 
 wrote:
   To All:
   
   Yesterday I made a post regarding trying to determine how many 
 users
   a single server with one CPU could handle.  I realize it 
 depends
   and I did not define any type of application.
   
   I am trying to get some type of handle on what my costs will be
   regarding CPU licenses, servers, etc.
   
   So let me try again.  Let's take the Flexstore as an example 
   application.  Based on this, can anyone shed some light as to 
 how 
   many users in an hour the server could adequately handle.
   
   Where will the bottleneck occur: Flex, server itself, database, 
 etc.
   
   If an hour is not the right way to measure, then please offer any
   measurement you feel is correct.
   
   Server Configuration:
   
   Dell Server @ 3.8 GHz with 1 GB RAM
   JRUN4
   Win 2000 Server
   1 Flex license
   
   As Dave and others recommended, I will put the database on a 
 separate
   server.
   
   I am not trying to tie anyone's hands here, just trying to get 
 some
   perspective.
   
   Thanks in advance,
   
   Jack




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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: If I buy a flex license can I host other peoples apps on the license?

2005-07-19 Thread kaibabsowats
My question about this story is your take on the cost of development
of Flash compared to Flex.  Figure in development cost (Design Time,
Training, Maintenance, etc… ) for one 1 year or more.  Is there a
big
enough difference in Staff Costs to warrant a $750k licensing of Flex
over a longer period of time.

I experience between working on a Flash project with a team of 2
people can be hard to do unless you use all ActionScript files and 3rd
Party Flash compilers.  But to be able to use traditional Enterprise
development strategies with Flex development has saved lots of time
and Staff costs.  But I can see where some applications will not work
with the way Flex is licensing their servers because of the high price
tag.

I do agree that Flex prices hinder proper server farming when
designing an application.

Do most people believe there is a real money benefit with Developer
salary/time costs when comparing Flex development to Flash
development?



--- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote:
 Thought I'd kick in a story... I'm on a project @ one of the
largest IT 
 company's in the world and was talking with the lead on diff project
in the 
 same office (for one of the biggest clients here). They were
really tyring 
 to get the client to go down the flex road on the project. (It was
initially 
 a flash design.) However the deployment was to a rather large server
farm. 
 The licensing quote from MM for the deployment worked out to be
around $750K 
 U.S. (or more... i forget... i was too busy trying to re-hinge my
jaw) The 
 client said no to flex for this particular project and decided to go
with 
 flash because of the licensing price tag.
 
 
 
 that was equal to or more 750K . To which the company promptly said
k ya 
 no... 2 much dough
 




--
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: SWF and Flex SSL confusing situations

2005-07-15 Thread kaibabsowats
 
 You should be able to keep the SWF as http and the remoting calls as
 https without a problem.  The only disadvantage is that your users will
 not see the secure icon in their browser.  Since the content on the page
 will not all be https.
 

Does this mean that the client will not see the SSL Certificate at
all?  Can they view the SSL Certificate some place?

And the last time I tried having Flex open as http and send remoting
calls with https ( protocal=https ) it didn't work, but I'll have to
try again.  Any pointers on server(s) configurations would be helpful.





--
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: SWF and Flex SSL confusing situations

2005-07-15 Thread kaibabsowats
Thanks for your answers I appreciate it!

Fourth Situation:
Regular Flash Player 7 SWF is loaded over http.  It loads a Flex
application using the Loader class and a https url.
Is the Flex application considered https?
And to double check if the loaded Flex application has remoting
calls that us endpoint https are the calls really https?





--
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] SWF and Flex SSL confusing situations

2005-07-14 Thread kaibabsowats
I would like to understand some of the http and https situations and
how it affects SSL connections.

First Situation:
Flex application loaded with http.  The Flex access remoting calls
with a https endpoint.
Are the remoting calls really send over https?

Second Situation:
Flex application loaded with https.  Flex application uses a
mx.controls.Loader to load an item from a http location.
Is https used when loading the http item with Loader? another way
of asking, is there https overhead in this situation?

Third Situation:
Regular Flash Player 7 SWF application loads a Flex application
using a Loader class.  The contentPath of the Flex application is a
https url.  
Does the SWF application override any https settings int he Flex
application, for example remote calls set to call https protocal?

Are there any options for creating a website all in flash along with
the a shopping cart, but to have the shopping cart form and remoting
calls use https, but also keep url to get to the website http?




--
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: Debug Player crashing on Flex App

2005-07-14 Thread kaibabsowats
I have been developing a flex application that uses MediaController
and MediaDisplay along with a Loader to load a FLV and a SWF and then
sync them.  

I get the Flash Player to warn that there were errors quite often, and
less often I get the whole browser IE and Firefox to crash.

I also ported the FLV and SWF load/sync AS files to a Flash MX 2004
project and got the similar results (less often but we haven't tested
it as much).  You can see stable code in action at www.g-t-t.com. 
Just go to www.g-t-t.com and click on play video.

This mostly happens when I have unstable code ( unstable in
relationship to our defined funcationality requirements ).  I just
figure it was pushing the Flash Player to the limits with the newer
Media components and what we were trying to get them to do.

So There is no sequence of bits that should cause the player to
crash.  Ever. is a bold statement but if you mean it I'll have to
start paying close attention to what I am doing that causes it to
crash the broswer.



--- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL PROTECTED]
wrote:
 Congratulations, that should never happen!  You've found something very
 rare and precious.  Please bundle up your SWF and submit a bug report.
  
 There is no sequence of bits that should cause the player to crash.
 Ever.
 
 -Roger
 
 Roger Gonzalez
 [EMAIL PROTECTED] 
 
 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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] Panel Mouse Down Problem

2005-05-24 Thread kaibabsowats
I have a problem where the mouse doesn't fire off the correct
MouseDown event.  It only happens when the mouse doesn't move and a
new container with a mouseDown event is loaded under it.  It seems to
remember the last container's mouseDown area and fires that event.  I
am trying to figure out how to alleviate this problem.

Steps to recreate what I am talking about.
Copy the Example code into a mxml file.  Bring it up.
Click on the first panel, dont move the mouse.
You'll see a popup stating which Panel was clicked.
Then hit the space bar (as the popup has focus) to get rid of the
popup.  
With out moving the mouse click the left mouse button.  You'll see
that the same popup appears.
Clear the popup.
Now move the mouse, and click on the panel.
You'll see that it properly fires the panel's mouseDown.

Any help would be much appreciated

Example Code:
?xml version=1.0 encoding=utf-8?
mx:Application 
xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* 

mx:Script
![CDATA[
import mx.controls.Alert;

function changeView( view ) {
Alert.show( view );
if( view == 'firstChild1Panel1' ) {
firstChildStack.selectedChild = firstChild2;
}
if( view == 'firstChild2Panel1' ) {
firstChildStack.selectedChild = firstChild1;
}   
}
]]
/mx:Script

mx:ViewStack id=firstStack
mx:Panel id=firstChild headerHeight=34 verticalGap=0
mx:ViewStack id=firstChildStack
mx:HBox id=firstChild1 width=100% 
height=320
horizontalAlign=center direction=horizontal verticalGap=10
mx:Panel id=firstChild1Panel1 
title=First Child #1 Panel 1
width=210 height=320

initialize=firstChild1Panel1.onRelease=null;first
Child1Panel1.useHandCursor=true;

mouseDown=changeView( 
'firstChild1Panel1' );
marginLeft=8 marginRight=8 
marginTop=8 marginBottom=8
mx:ControlBar 
verticalAlign=middle
mx:Label text=Click 
Here to Enter!   width=100%
textAlign=center /
/mx:ControlBar
/mx:Panel 
mx:Panel id=firstChild1Panel2 
title=First Child #1 Panel 2
width=210 height=320 

initialize=firstChild1Panel2.onRelease=null;first
Child1Panel2.useHandCursor=true;

mouseDown=changeView( 
'firstChild1Panel2' );
marginLeft=8 marginRight=8 
marginTop=8 marginBottom=8
mx:ControlBar 
verticalAlign=middle
mx:Label text=Click 
Here to Enter!   width=100%
textAlign=center /
/mx:ControlBar
/mx:Panel
mx:Panel id=firstChild1Panel3 
title=First Child #1 Panel 3
width=210 height=320 

initialize=firstChild1Panel3.onRelease=null;first
Child1Panel3.useHandCursor=true;

mouseDown=changeView( 
'firstChild1Panel3' );
marginLeft=8 marginRight=8 
marginTop=8 marginBottom=8
mx:ControlBar 
verticalAlign=middle
mx:Label text=Click 
Here to Enter!   width=100%
textAlign=center /
/mx:ControlBar
/mx:Panel
/mx:HBox
mx:HBox id=firstChild2 width=100% 
height=320
horizontalAlign=center direction=horizontal verticalGap=10
mx:Panel id=firstChild2Panel1 
title=First Child #2 Panel 1
width=210 height=320

initialize=firstChild2Panel1.onRelease=null;first
Child2Panel1.useHandCursor=true;

mouseDown=changeView( 
'firstChild2Panel1' );
marginLeft=8 marginRight=8 
marginTop=8 marginBottom=8
mx:ControlBar 
verticalAlign=middle
mx:Label text=Click 
Here to Enter!   width=100%
textAlign=center /
 

[flexcoders] Re: Making a page with a video clip

2005-05-24 Thread kaibabsowats
There is also a free encoder here http://www.rivavx.com/

We ended up with Sorenson for quality reasons, but Riva is a good
starting point.

As for playing video in Flex, its pretty simple just explore the API
of MediaPlayback, MediaDisplay and MediaController.




 
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: Panel Mouse Down Problem

2005-05-24 Thread kaibabsowats
Here I made it simplier:

?xml version=1.0 encoding=utf-8?
mx:Application 
xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=*

mx:Panel id=panel1 title=Some Panel width=210 height=320
mouseDown=mx.controls.Alert.show('You have Clicked Me!')
mx:ControlBar verticalAlign=middle
mx:Label text=Click Here to Enter!   width=100%
textAlign=center /
/mx:ControlBar
/mx:Panel 

/mx:Application

Have your mouse over the panel as you refresh the page, the mouseDown
event is not working until you move the mouse.




 
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: Perplexing caching behavior

2005-05-11 Thread kaibabsowats
The only way I got it to work was to turn off Caching.
from the flex-config.xml

cache-swosfalse/cache-swos

Dont necessarly need caching in development at least while you are
messing with changing icons/images out.




 
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: NetStream instance in Media Components

2005-04-29 Thread kaibabsowats
Let me know if I can help with any specific feedback on the Media
components.  Looking forward to the improvements.

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 Yeah, we're looking at improving the media components for 2.0 to
hopefully
 avoid issues like this.
 
  
 
 Matt
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, April 28, 2005 8:27 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: NetStream instance in Media Components
 
  
 
 Thanks for the reply,
 
 When I use the start event to start playing the attached swf, the
 swf starts playing but the stream doesn't start playing for a little
 longer and since I am using the Media Component I can't tell if its
 buffering or doing what.  I do know the play head doesn't really start
 playing until its done with what its doing (which clearly looks like
 buffering).  So in short the start event is fired but the video
 doesn't play for a while.  I had to end up doing the syncing off the
 change event which is not very reliable but is doable.  As when the
 playHead moves the video really is playing.
 
 But the other thing was (Non-Flex or Non-Media components) articles I
 saw about NetStream and streaming FLV had some examples about showing
 a loader during the buffering time with netStream.onStatus.  So I was
 hoping for a easy way to get control of the stream's instance to do
 the normal FCS FLV streaming enhancements.  With Media components I
 can't get figure out what is really related to what and loose the
 power of talking with FCS.  I guess I will have to ditch the Media
 Components and create a custom component to use in Flex to really get
 it to work.  A little disappointed.
 
 --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
  Hmm, in the code I wrote the start event generally fired right
 around the
  time things were ready to go.  Even if I called play(someNon0Time)
start
  would fire when the buffer had reached the point that I was ready to
 play (I
  think).  
  
   
  
  The instance is very buried in the code and not really meant to be
 exposed.
  I don't have any reliable way of telling you what to look for.
  
   
  
  Matt
  
_  
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, April 27, 2005 2:51 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] NetStream instance in Media Components
  
   
  
  
  Is there a instance of NetStream or PlayerNetStream in the Media
  Components?  If not does the Media Components create some instance of
  the NetStream or PlayerNetStream some where else?
  
  The closest thing to FCS and Flex is:
  http://coenraets.com/viewarticle.jsp?articleId=90
 http://coenraets.com/viewarticle.jsp?articleId=90 
  http://coenraets.com/viewarticle.jsp?articleId=90
 http://coenraets.com/viewarticle.jsp?articleId=90  
  
  In his LiveMediaDisplay class he calls:
  mx.controls.streamingmedia.PlayerNetStream.prototype.play
  = function (s)
  {
  super.setBufferTime(1);
  super.play(s);
  }
  
  I know this is not calling an instance but overiding the play method
  of PlayerNetStream.  But where is the instance?  super has to be
  referencing a instance some where right?
  
  What I am doing right now is I have a Media Component (both Playback
  and the Display/Controller) that loads a FCS streaming flv by
  setMedia, with a url like rtmp://fcsserver/app/instance/some.flv.  It
  loads the flv just fine, but the buffering is causing me troubles.  As
  the start event on the Media Component doesn't relate to the
  buffering.  Basically I am looking for an event that really means the
  flv is ready to play, as I am trying to sync some swf's to it.
  
 





 
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: NetStream instance in Media Components

2005-04-28 Thread kaibabsowats
Thanks for the reply,

When I use the start event to start playing the attached swf, the
swf starts playing but the stream doesn't start playing for a little
longer and since I am using the Media Component I can't tell if its
buffering or doing what.  I do know the play head doesn't really start
playing until its done with what its doing (which clearly looks like
buffering).  So in short the start event is fired but the video
doesn't play for a while.  I had to end up doing the syncing off the
change event which is not very reliable but is doable.  As when the
playHead moves the video really is playing.

But the other thing was (Non-Flex or Non-Media components) articles I
saw about NetStream and streaming FLV had some examples about showing
a loader during the buffering time with netStream.onStatus.  So I was
hoping for a easy way to get control of the stream's instance to do
the normal FCS FLV streaming enhancements.  With Media components I
can't get figure out what is really related to what and loose the
power of talking with FCS.  I guess I will have to ditch the Media
Components and create a custom component to use in Flex to really get
it to work.  A little disappointed.

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 Hmm, in the code I wrote the start event generally fired right
around the
 time things were ready to go.  Even if I called play(someNon0Time) start
 would fire when the buffer had reached the point that I was ready to
play (I
 think).  
 
  
 
 The instance is very buried in the code and not really meant to be
exposed.
 I don't have any reliable way of telling you what to look for.
 
  
 
 Matt
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, April 27, 2005 2:51 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] NetStream instance in Media Components
 
  
 
 
 Is there a instance of NetStream or PlayerNetStream in the Media
 Components?  If not does the Media Components create some instance of
 the NetStream or PlayerNetStream some where else?
 
 The closest thing to FCS and Flex is:
 http://coenraets.com/viewarticle.jsp?articleId=90
 http://coenraets.com/viewarticle.jsp?articleId=90 
 
 In his LiveMediaDisplay class he calls:
 mx.controls.streamingmedia.PlayerNetStream.prototype.play
 = function (s)
 {
 super.setBufferTime(1);
 super.play(s);
 }
 
 I know this is not calling an instance but overiding the play method
 of PlayerNetStream.  But where is the instance?  super has to be
 referencing a instance some where right?
 
 What I am doing right now is I have a Media Component (both Playback
 and the Display/Controller) that loads a FCS streaming flv by
 setMedia, with a url like rtmp://fcsserver/app/instance/some.flv.  It
 loads the flv just fine, but the buffering is causing me troubles.  As
 the start event on the Media Component doesn't relate to the
 buffering.  Basically I am looking for an event that really means the
 flv is ready to play, as I am trying to sync some swf's to it.
 
 
 
 
 
 
 
 
   _  
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
 http://groups.yahoo.com/group/flexcoders/ 
   
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
   
 * Your use of Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/  Terms of Service.





 
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] FCS NetStream with Flex

2005-04-27 Thread kaibabsowats


I am trying to learn how to use FCS with Flex's mx:MediaPlayback.  I
can get it to play a Streaming FLV by just attaching a rmtp:// url to
the setMedia function.  But how do I then work with NetStream's
onStatus events as NetStream is not used at all.  How do I get the
events from FCS about buffering and play status?

Anybody have any good info on FCS and Flex Component integration.





 
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: FCS NetStream with Flex

2005-04-27 Thread kaibabsowats


Misspelled rmtp its suppose to be
rtmp://fcsserver/application/instance/some.flv

--- In flexcoders@yahoogroups.com, kaibabsowats [EMAIL PROTECTED] wrote:
 
 I am trying to learn how to use FCS with Flex's mx:MediaPlayback.  I
 can get it to play a Streaming FLV by just attaching a rmtp:// url to
 the setMedia function.  But how do I then work with NetStream's
 onStatus events as NetStream is not used at all.  How do I get the
 events from FCS about buffering and play status?
 
 Anybody have any good info on FCS and Flex Component integration.





 
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] NetStream instance in Media Components

2005-04-27 Thread kaibabsowats


Is there a instance of NetStream or PlayerNetStream in the Media
Components?  If not does the Media Components create some instance of
the NetStream or PlayerNetStream some where else?

The closest thing to FCS and Flex is:
http://coenraets.com/viewarticle.jsp?articleId=90

In his LiveMediaDisplay class he calls:
mx.controls.streamingmedia.PlayerNetStream.prototype.play
= function (s)
{
super.setBufferTime(1);
super.play(s);
}

I know this is not calling an instance but overiding the play method
of PlayerNetStream.  But where is the instance?  super has to be
referencing a instance some where right?

What I am doing right now is I have a Media Component (both Playback
and the Display/Controller) that loads a FCS streaming flv by
setMedia, with a url like rtmp://fcsserver/app/instance/some.flv.  It
loads the flv just fine, but the buffering is causing me troubles.  As
the start event on the Media Component doesn't relate to the
buffering.  Basically I am looking for an event that really means the
flv is ready to play, as I am trying to sync some swf's to it.







 
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] MediaPlayback dragDrop event not triggering

2005-04-25 Thread kaibabsowats


I must be missing something here.  I have a simple mx:List with
dragEnabled = true.

I have a MediaPlayback tag:
mx:MediaPlayback id=video1 dragDrop=doDragDrop(event)/

I can't get the MediaPlayback to fire the dragDrop event when I drag a
item from the list over the MediaPlayback control.

Anyone have any experience of dropping items into a MediaPlayback control?





 
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: Windows Logon ID in Flex

2005-04-25 Thread kaibabsowats


Since the flash player resides in a sandbox on the clients machine
(for security reasons) it wont be able to talk to the underlying OS to
try and grab sensitive information like Login ID's.

You would have to use other mechanisms to get the users Login ID and
pass it along to the server.  But this is quite complex and depends on
client machines and network setup.  All way beyond Flex/Flash.

Somebody correct me if I am wrong,

--- In flexcoders@yahoogroups.com, Tolulope Olonade [EMAIL PROTECTED]
wrote:
 Anybody knows how I can get windows log on ID in Action Script??? or
 MXML??? Or Using any Flex technology..
  
 Thanks.





 
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] Dynamic CSS

2005-04-25 Thread kaibabsowats


Can you reference CSS files in the main Application file dynamically?

I tried to bind a value to the CSS include statement and kept getting
errors.





 
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] Questions About Services Security

2005-04-25 Thread kaibabsowats


I want to use RemoteObject that invokes a Java class. (not AMF,
HTTPService, or SOAP).

Question 1, are the Java classes restricted to the same server as
Flex? (besides some funky network share i mean).

Question 2, Using RemoteObject to Java classes (not AMF) do I gain the
security that only mxml's from the same domain (or allowable domains
through domain.xml and flex-config.xml) can access the Java class?

Thanks for any answers to these questions or any other insights to
Security in regards to RemoteObject Java classes.

I do understand about HTTPS, I am more concerned about easy access to
Remote calls.





 
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: Dynamic CSS

2005-04-25 Thread kaibabsowats


Thx for your reply, I only see our posts when searching for Dynamic CSS.

Any standard approaches to the Dynamic CSS limitation?

--- In flexcoders@yahoogroups.com, Matthew Shirey [EMAIL PROTECTED] wrote:
 No you cannot. Just search the groups for the keywords Dynamic
CSS. You'll 
 see quite a few posts on the topic.
 
 -- Matthew
 
 On 4/25/05, kaibabsowats [EMAIL PROTECTED] wrote:
  
  
  
  Can you reference CSS files in the main Application file dynamically?
  
  I tried to bind a value to the CSS include statement and kept getting
  errors.
  
  
  Yahoo! Groups Links
  
  
  
  
 





 
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: MediaPlayback dragDrop event not triggering

2005-04-25 Thread kaibabsowats


I didn't understand the following code on dragEnter:
 event.handled = true;
 event.target.drawFocus(true);
Problem solved, sorry for the post.

--- In flexcoders@yahoogroups.com, kaibabsowats [EMAIL PROTECTED] wrote:
 
 I must be missing something here.  I have a simple mx:List with
 dragEnabled = true.
 
 I have a MediaPlayback tag:
 mx:MediaPlayback id=video1 dragDrop=doDragDrop(event)/
 
 I can't get the MediaPlayback to fire the dragDrop event when I drag a
 item from the list over the MediaPlayback control.
 
 Anyone have any experience of dropping items into a MediaPlayback
control?





 
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: Questions About Services Security

2005-04-25 Thread kaibabsowats


This is a bit confusing to me, but I understand when you say it has to
use AMF, unless exposed as a SOAP.

I guess my question then is.  If you use the Flex proxy remoteObject
gateway (as right now I actually call a different AMF gateway for all
my AMF calls), can you restrict domain/ip access in the flex-config.xml?

I have a PHP amf gateway setup now, and anybody could hit the remote
gateway if they new the URL.  I was wondering if using the Flex's
proxy remoteObject gateway by only accessing Java remote objects on
the server, would I achieve a situation where it was impossible for
outside people to make requests on the Flex remoteObject gateway?

Does that make sense?

--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 If you want your Flex app to communicate with a Java class you must
use AMF
 unless you expose it as a SOAP service.  I'm not sure how you were
intending
 on reaching it without AMF?
 
  
 
 When you do use AMF you are restricted to classes that are available
to the
 web application in which Flex is running (or more accurately your amf
 gateway).  We have the whitelist in flex-config.xml which gives you more
 control over which classes can be accessed.
 
  
 
 Matt
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 Sent: Monday, April 25, 2005 11:08 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Questions About Services Security
 
  
 
 
 I want to use RemoteObject that invokes a Java class. (not AMF,
 HTTPService, or SOAP).
 
 Question 1, are the Java classes restricted to the same server as
 Flex? (besides some funky network share i mean).
 
 Question 2, Using RemoteObject to Java classes (not AMF) do I gain the
 security that only mxml's from the same domain (or allowable domains
 through domain.xml and flex-config.xml) can access the Java class?
 
 Thanks for any answers to these questions or any other insights to
 Security in regards to RemoteObject Java classes.
 
 I do understand about HTTPS, I am more concerned about easy access to
 Remote calls.
 
 
 
 
 
 
   _  
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
 http://groups.yahoo.com/group/flexcoders/ 
   
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
   
 * Your use of Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/  Terms of Service.





 
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: DataGrid doublelclick

2005-04-20 Thread kaibabsowats


Here is an example of a DoubleClickTree should be pretty easy to
convert over to a DataGrid:

#65279;[Event(doubleClick)]
class com.mason.core.components.DoubleClickTree extends
mx.controls.Tree {
var lastClick = 0;
var dbLastSelected:Object;
var dClick = false;


// Required for Delegate.
import mx.utils.Delegate;
function DoubleClickTree() {
addEventListener(change,_doubleClick);
}

function _doubleClick( event ) {
checkDblClick( this.selectedNode );
if( this.getIsBranch( this.selectedNode )  dClick ) {
this.setIsOpen( this.selectedNode, (( this.getIsOpen(
this.selectedNode ) ) ? false : true), true, true);
}
if( !this.getIsBranch( this.selectedNode )  dClick ) {
dispatchEvent({ type: doubleClick });
}   
}

private function checkDblClick(s) {
var clickTime = getTimer();
dClick = ((clickTime-lastClick300)  (dbLastSelected == s));
lastClick = clickTime;
dbLastSelected = s;
}

}


--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 Hi,
 i'm not find documentation about   double click cell press event
into 
 DataGrid?
 It's possibile please.
 Thank you in advance.
 Devis





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

2005-04-20 Thread kaibabsowats


A solution to my own question:
function interval() {
this.setStyle( dropShadow, false );
clearInterval( this.intervalNumber );
doLater( this, deletePopUp );
}

But this seems like a hack, and the fact that the dropShadow stays
around seems like a bug?  Anyone seen this before?





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

2005-04-20 Thread kaibabsowats


Thanks, I'll give it a try.  I say a doLater example some where but
must have implemented it wrong.

--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
 Yes, if you, typically, do a deletePopUp when the event was
triggered by the 
 popup itself, there's some kind of reference to the popup kept around.
 
 I've found that if I do something like this:
 
 function initApp()
 {
 popup = PopUpManager.createPopUp(this, TitleWindow, true);
 popup.addEventListener(click, this);
 }
 
 
 function click()
 {
 doLater(this, removePopUp);
 }
 
 function removePopUp()
 {
 popup.deletePopUp();
 }
 
 It's ok but if I were to immediately remove it, the dropshadow still is 
 there.  Anyway, the above works all the time.
 
 - Original Message - 
 From: kaibabsowats [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, April 20, 2005 1:31 PM
 Subject: [flexcoders] Re: PopUpManager
 
 
 
 
 A solution to my own question:
 function interval() {
 this.setStyle( dropShadow, false );
 clearInterval( this.intervalNumber );
 doLater( this, deletePopUp );
 }
 
 But this seems like a hack, and the fact that the dropShadow stays
 around seems like a bug?  Anyone seen this before?
 
 
 
 
 
 
 Yahoo! Groups Links





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

2005-04-20 Thread kaibabsowats


Ok I am sick and am not thinking right.  Excuse my other post's
misspellings (say=saw).  But the doLater is not the issue.  Its the
timer.  I dont want to do it on a click event but a timed event with
setInterval.

The click makes sense because the PopUp has been rendered but with a
timed function (setInterval) it seems to get mixed up somewhere.

--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:
 Yes, if you, typically, do a deletePopUp when the event was
triggered by the 
 popup itself, there's some kind of reference to the popup kept
around.
 
 I've found that if I do something like this:
 
 function initApp()
 {
 popup = PopUpManager.createPopUp(this, TitleWindow, true);
 popup.addEventListener(click, this);
 }
 
 
 function click()
 {
 doLater(this, removePopUp);
 }
 
 function removePopUp()
 {
 popup.deletePopUp();
 }
 
 It's ok but if I were to immediately remove it, the dropshadow
still is 
 there.  Anyway, the above works all the time.
 
 - Original Message - 
 From: kaibabsowats [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, April 20, 2005 1:31 PM
 Subject: [flexcoders] Re: PopUpManager
 
 
 
 
 A solution to my own question:
 function interval() {
 this.setStyle( dropShadow, false );
 clearInterval( this.intervalNumber );
 doLater( this, deletePopUp );
 }
 
 But this seems like a hack, and the fact that the dropShadow stays
 around seems like a bug?  Anyone seen this before?
 
 
 
 
 
 
 Yahoo! Groups Links





 
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/