Re: [flexcoders] Data Grid with dynamic columns ignoring % width or right style.

2009-01-15 Thread Wesley Acheson
 Okay sorry If I wasn't clear enough about it basically the data grid 
 stretches, but not enough to accomidate all columns. Nor even enough to 
 fill the container.  Setting a width of 0 makes the datagrid remember its 
 constraint layout.  Some other intresting factors in my test case if I 
 leave on column not dynamically created specified in the mxml, and replace 
 it with the dynamic columns then it works correctly.

 [...]

 I've told you what your basic problem is: The DatarGrid's minWidth is
 greater than the Panel's width. You could come up with any number of
 scenarios in which this happens -- it doesn't matter. If you add a 100
 columns to the DataGrid, it will compute its minWidth based on how
 much space it thinks it needs. The way to override that is to set the
 minWidth explicitly. If you try this with the sample you posted,
 you'll see that you get the desired behavior.

  DataGrid minWidth=1 ... /

 Manish

Thanks that fixed it your correct. I still think the calcuation is
wrong but this works correctly.


[flexcoders] AIR and flex together

2009-01-15 Thread Kenneth Sutherland
I'm looking for some samples/tutorials/general pointers in doing either
of the following.

1)Create an AIR app that can load a live flex app and use that for
testing.  So We have a app which is live and if I could load that into a
AIR app which can edit a config file and then test that config file
using the live swf but inside the AIR app to make sure that if doesn't
break the flex app before uploading new config for the live app.

2)Or I've heard of being able to drag data from an AIR app into a
flex app.  If so then the AIR app could pass the test data across to the
flex app and it would refresh and we could see whether it works or not.

 

Cheers Kenneth.

 



realise

.


Kenneth Sutherland

Technical Developer

Realise Ltd
Quay House, 142 Commercial Street, Leith, Edinburgh EH6 6LB
Tel 0131 476 7432
www.realise.com http://www.realise.com/ 

Check out some of our recent flex work:
* Focus on funds UK http://www.focusonfunds.co.uk/ 
* Focus on funds Europe
http://europe.standardlifeinvestments.com/distributor/products_and_serv
ices/going_further_focus_on_funds/index.html 
* Fund selector
http://uk.standardlifeinvestments.com/ifa/adviser_support/index.html 

* Video view
http://uk.standardlifeinvestments.com/ifa/market_views/video_view_and_m
p3s/index.html 
Realise are sponsors of the Marketing Society Scotland.
Realise Limited is registered in Scotland, SC172507.

 

 

Disclaimer 
---
This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer. 
Registered in Scotland number: SC 172507. 
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. 

This email message has been scanned for viruses by Mimecast.
---

[flexcoders] Accessibility stopped working

2009-01-15 Thread Guy Morton
I had been successfully compiling my app via flexbuilder 3 using the - 
accessible compiler flag. Then it stopped working, for no apparent  
reason. I tried reinstalling fb but it made no difference. The  
compiler option is still set but now my app gets compiled with no  
accessibility features.

Anyone got any ideas as to why this might have happened or how to fix  
it?

Guy


[flexcoders] Re: BlazeDS server environment configuration

2009-01-15 Thread grg_blls
Hi again,

following the information provided, I tried the tutorial Wesley 
provided, only the information in the article is of course rather 
sketchy - as the complete detailed description was provided in the 
source code used for that banner example. Unfortunatelly the sources 
provided are not available anymore (links, dowloads, et.c. don't 
work), as this article is outdated being 5 years old.

So I can't really make much out of this. On the other hand what is 
described in that old article is generally correct, and this is the 
way I know I have to proceed. Only I still have to look for something 
more up to day and detailed enough for me to study and adapt to my 
case.

Specifically, I look for an current BlazeDS/Tomcat/MySql environment 
setup detailed description for a Flex client connected to database by 
Remote Object procedures. Besides working examples, I still look for 
a book to read on the subject and documentation, in extend to BlazeDS 
developer's guide..

So while the question remains open and  have to wait for any other 
answer leading to some consice piece of info, I thank you both 
valdhor and Wesley for trying to help me.
 
George 

--- In flexcoders@yahoogroups.com, grg_blls grg_b...@... wrote:

 Hi again (and thanks for replying)
 
 I didn't say Wesley is not correct..On the contrary...
 As I have first to work it out and then see if I get any more 
 questions. (Obviously not having done this before, was the reason 
for 
 asking about documentation (or a cookbook) in the first place.
 
 Sofar I 've done a lot working with Flex for the client and the 
 business logic of my app, having Hsqldb as a basic database. I also 
 feel very satisfied with Flex documentation and on-line help (this 
 forum included) that helped me so much sofar.
 
 So I still consider any additional hint towards a good book on 
 BlazeDS, covering both some examplary applications as well as 
 pointing to differences to say JBOSS for instance. This as I want 
to 
 go a bit deeper into the subject and understand better.. some 
aspects.
 
 Thank you all
 George
 
 
 --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
 
  Wesley is correct - This is a Java question.
  
  You already have the BlazeDS part set up and working. All you 
need 
 to
  do is change the database access in Java.
  
  I would suggest following the tutorial Wesley provided and then 
 apply
  the knowledge gained to your project.
  
  From what I can see this entails adding the driver for the MySQL
  connection; removing the flex.samples.ConnectionHelper stuff and
  adding the dbHandler handler class from the tutorial.
  
  
  --- In flexcoders@yahoogroups.com, grg_blls grg_blls@ wrote:
  
   --- In flexcoders@yahoogroups.com, Wesley Acheson 
   wesley.acheson@ wrote:
   
Really thats more of a java question then a flex one. for 
using 
   mysql
and tomcat try


 http://www.opensourcetutorials.com/tutorials/Databases/MySQL/tomcat-
   and-mysql/page2.html
   
   
   Thank you Wesley for a quick reply.
   But what I am asking has to do with BlazeDS (how to set up its 
   environment) in conjunction to the MySql database environment 
 plus 
   Tomcat environment. So this is more complicated than that. 
   
   You see I understand what to do with the Java classes needed 
and 
 that 
   I have to set up a Remote Object in mxml, and that I have to 
   configure how I connect to the service destination. (I have 
done 
 that 
   already while using the Hsqldb - and work just fine, by 
following 
 the 
   documentation available). Now I have to again with MySql, but I 
   missing a clear documentation..
   
   Then BlazeDS has to be set up properly to work with MySql under 
 the 
   servlet container (Tomcat). Mainly this connection will serve 
 user 
   login procedures, so what will be in that database will be a 
 number 
   of users and their login data. (I mean an apriori unknown 
number 
 of 
   users)
   
   Thank you 
   George
  
 





[flexcoders] setSelection method is missing from IUITextField interface? (Flex SDK 3.1)

2009-01-15 Thread Andriy Panas
Dear all,

In my code I have variable typed as IUITextField

/*
  The internal IUITextField that renders the text of this text control.
*/
protected var textField : IUITextField;


In Flex Builder I am able to select with code complete feature
setSelection method on typed variable with IUITextField type and
then my project compiles just fine.

But I am wondering why I could not locate declaration of
setSelection method inside of source file IUITextField.as file
supplied with SDK?

--
Best regards,
Andriy Panas


[flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Sceneshift

Hey guys,

I have a project coming up where I need to capture the Microphone input and
then push it to a byteArray. I know this isn't possible without first
recording the input and analyzing it afterward, which is fine. 

I was wondering which is the best flash server to push and send the data, I
was thinking about using Red5 and sending back the data as a sound only FLV
for analyzing, but perhaps Red5 would be a better solution?

Can anyone offer me any recommendations or experiences as to which method
they would employ? 
-- 
View this message in context: 
http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21474622.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] String encoding comparison

2009-01-15 Thread Mike Chang
I need to do this comparison:
if (string a == string b)

a is hi
and b is also hi, but extracted from an XML file that has characters in
other encoding (shift-JIS, japanese to be exact).
this statement comes back false in Flex, which is not what I want.
the statement comes back true if the XML file has complete ascii in it.

so I'm guessing the byte representation of hi is different because the XML
parsing engine sees there are some other characters in shift JIS and assumes
hi is in that encoding as well.

how do I convert it back so I can compare to the actual string hi.


thanks


[flexcoders] Zoom Effect with ColumnChart

2009-01-15 Thread webbymary
I am trying to zoom in on different areas of a columnchart but the
Zoom effect is ignoring(?) my assignments of the OriginX and OriginY
values which I get from the mouse's X Y properties on the click event.

Zooming also adds a weird effect of zooming just the axes if I happen
to click on one of them.

Ideally I'd like to have the chart almost behave like an image so
that I can click anywhere in the rectangle that encloses the chart and
have the interface zoom in around where my mouse clicked.

Any ideas?  Thanks in advance!



[flexcoders] Re: Read xml files in relative path

2009-01-15 Thread narayanaweb
Hi GK,

Thank you for your timely reply. I realize after reading your mail
that we were using applicationStorageDirectory instead of
applicationDirectory and thus were not able to resolve the path to the
local XML files.

Thank you once again,

Regards,
Satya V
Enlume Inc.,



[flexcoders] Issue while opening a flex store project

2009-01-15 Thread shakeb_sikander

HI All, 
My first Post here. I am new to Flex Hardly 10 days old. I want to 
open the flexstore project in flex builder 3 and could not able to do 
so.
What I did: file-import- got the error msg as The folder does 
not contain a valid Flex Builder Project.
also tried file-import-general-. same error msg.
I need your Help guys
I downloaded the sample project from
http://examples.adobe.com/flex2/inproduct/sdk/flexstore/srcview/index.
html

Thanks in Advance
SAS





[flexcoders] Dragging problems in and firefox/safari, works perfectly in Inetnet Explorer

2009-01-15 Thread robert.ross27
I have some code which performs a drag and drop from one custom 
component into another. 

The actual drag operation works perfectly in all browsers. But the 
Image shown while performing the drag does not appear in Firefox or 
Safari. You can see it for a split second and then it disappears.

Can't find any reason why the image shouldn't be appearing. Anyone any 
ideas?

var imageProxy:Image = new Image();
imageProxy.source = dragInitiator.typeIcon.source;
imageProxy.width = dragInitiator.typeIcon.width;
imageProxy.height = dragInitiator.typeIcon.height;

DragManager.doDrag(dragInitiator, ds, new 
MouseEvent(MouseEvent.MOUSE_DOWN), imageProxy, -48,0,0.8);

Thx
Rob



[flexcoders] Re: Dragging problems in and firefox/safari, works perfectly in Inetnet Explorer

2009-01-15 Thread robert.ross27
Internet Explorer, even. 



[flexcoders] Re: BlazeDS server environment configuration

2009-01-15 Thread valdhor
OK, how about:

http://backbeatlabs.com/?p=3
http://www.bfaig.org/blog/?cat=14
http://www.adobe.com/devnet/flex/articles/flex_hibernate.html


--- In flexcoders@yahoogroups.com, grg_blls grg_b...@... wrote:

 Hi again,
 
 following the information provided, I tried the tutorial Wesley 
 provided, only the information in the article is of course rather 
 sketchy - as the complete detailed description was provided in the 
 source code used for that banner example. Unfortunatelly the sources 
 provided are not available anymore (links, dowloads, et.c. don't 
 work), as this article is outdated being 5 years old.
 
 So I can't really make much out of this. On the other hand what is 
 described in that old article is generally correct, and this is the 
 way I know I have to proceed. Only I still have to look for something 
 more up to day and detailed enough for me to study and adapt to my 
 case.
 
 Specifically, I look for an current BlazeDS/Tomcat/MySql environment 
 setup detailed description for a Flex client connected to database by 
 Remote Object procedures. Besides working examples, I still look for 
 a book to read on the subject and documentation, in extend to BlazeDS 
 developer's guide..
 
 So while the question remains open and  have to wait for any other 
 answer leading to some consice piece of info, I thank you both 
 valdhor and Wesley for trying to help me.
  
 George 
 
 --- In flexcoders@yahoogroups.com, grg_blls grg_blls@ wrote:
 
  Hi again (and thanks for replying)
  
  I didn't say Wesley is not correct..On the contrary...
  As I have first to work it out and then see if I get any more 
  questions. (Obviously not having done this before, was the reason 
 for 
  asking about documentation (or a cookbook) in the first place.
  
  Sofar I 've done a lot working with Flex for the client and the 
  business logic of my app, having Hsqldb as a basic database. I also 
  feel very satisfied with Flex documentation and on-line help (this 
  forum included) that helped me so much sofar.
  
  So I still consider any additional hint towards a good book on 
  BlazeDS, covering both some examplary applications as well as 
  pointing to differences to say JBOSS for instance. This as I want 
 to 
  go a bit deeper into the subject and understand better.. some 
 aspects.
  
  Thank you all
  George
  
  
  --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
  
   Wesley is correct - This is a Java question.
   
   You already have the BlazeDS part set up and working. All you 
 need 
  to
   do is change the database access in Java.
   
   I would suggest following the tutorial Wesley provided and then 
  apply
   the knowledge gained to your project.
   
   From what I can see this entails adding the driver for the MySQL
   connection; removing the flex.samples.ConnectionHelper stuff and
   adding the dbHandler handler class from the tutorial.
   
   
   --- In flexcoders@yahoogroups.com, grg_blls grg_blls@ wrote:
   
--- In flexcoders@yahoogroups.com, Wesley Acheson 
wesley.acheson@ wrote:

 Really thats more of a java question then a flex one. for 
 using 
mysql
 and tomcat try
 
 
  http://www.opensourcetutorials.com/tutorials/Databases/MySQL/tomcat-
and-mysql/page2.html


Thank you Wesley for a quick reply.
But what I am asking has to do with BlazeDS (how to set up its 
environment) in conjunction to the MySql database environment 
  plus 
Tomcat environment. So this is more complicated than that. 

You see I understand what to do with the Java classes needed 
 and 
  that 
I have to set up a Remote Object in mxml, and that I have to 
configure how I connect to the service destination. (I have 
 done 
  that 
already while using the Hsqldb - and work just fine, by 
 following 
  the 
documentation available). Now I have to again with MySql, but I 
missing a clear documentation..

Then BlazeDS has to be set up properly to work with MySql under 
  the 
servlet container (Tomcat). Mainly this connection will serve 
  user 
login procedures, so what will be in that database will be a 
  number 
of users and their login data. (I mean an apriori unknown 
 number 
  of 
users)

Thank you 
George
   
  
 





[flexcoders] Re: Issue while opening a flex store project

2009-01-15 Thread valdhor
Yes, this is not obvious.

This is how I got the sample running...

- Unzip the file to a directory of your choice.
- Create a new Project in Flex Builder (I called it FlexStore).
- Copy the assets, data, productsView and samples directories into the
src directory of your Flex Builder Project.
- Copy the beige.css, blue.css, HomeView.mxml, main.css,
ProductsView.mxml and SupportView.mxml files into the src directory of
your Flex Builder Project (Overwrite any files with the same name).
- In Flex Builder right click on the beige.css file and in the
contextual menu select Compile CSS to SWF. Do the same for blue.css
and main.css.
- Run the project.


--- In flexcoders@yahoogroups.com, shakeb_sikander
shakeb_sikan...@... wrote:

 
 HI All, 
 My first Post here. I am new to Flex Hardly 10 days old. I want to 
 open the flexstore project in flex builder 3 and could not able to do 
 so.
 What I did: file-import- got the error msg as The folder does 
 not contain a valid Flex Builder Project.
 also tried file-import-general-. same error msg.
 I need your Help guys
 I downloaded the sample project from
 http://examples.adobe.com/flex2/inproduct/sdk/flexstore/srcview/index.
 html
 
 Thanks in Advance
 SAS





[flexcoders] Why this error with getDefinitionByName?

2009-01-15 Thread enriirne
trace(getDefinitionByName('mx.controls::TextInput'));

ReferenceError: Error #1065: Variable TextInput is not defined.

Enri



Re: [flexcoders] Why this error with getDefinitionByName?

2009-01-15 Thread Howard Fore
Is this in a SWF that's loaded into another SWF? If so see
http://richardleggett.co.uk/blog/index.php/2008/09/08/getdefinitionbyname_vs_getdefinition

On Thu, Jan 15, 2009 at 10:28 AM, enriirne enrii...@yahoo.it wrote:

 trace(getDefinitionByName('mx.controls::TextInput'));

 ReferenceError: Error #1065: Variable TextInput is not defined.

 Enri



-- 
Howard Fore, howard.f...@hofo.com
The universe tends toward maximum irony. Don't push it. - Jeff Atwood


[flexcoders] Re: Accessibility stopped working

2009-01-15 Thread Anthony DeBonis
Try compiling with accessible turned off and get the swf size - when 
you turn accessible compile back on the swf size should be a bit 
larger. This will tell you if the compile is backing in the needed 
classes. If so it may be the client tool you're using to run the 
application. Can you give more information?


--- In flexcoders@yahoogroups.com, Guy Morton g...@... wrote:

 I had been successfully compiling my app via flexbuilder 3 using the 
- 
 accessible compiler flag. Then it stopped working, for no apparent  
 reason. I tried reinstalling fb but it made no difference. The  
 compiler option is still set but now my app gets compiled with no  
 accessibility features.
 
 Anyone got any ideas as to why this might have happened or how to 
fix  
 it?
 
 Guy






Re: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Nate Beck
Red5 is a great open source project, and a great solution for your needs.
 However, if you want support on your project, I've found Red5 to be a
bit... lacking.
If you have the funds... my recommendation would be to use Wowza Media
Server (http://www.wowzamedia.com/).  A single license will run you around
$1,000.  Which in my experience is well worth it for the level of support
you get on their forums.

I recommend Wowza over Adobe FMS for two reasons.

   - You extend Wowza with Java... which makes life a lot easier instead of
   using Server-Side Actionscript.
   - It's much less expensive.

Cheers,
Nate


On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift j...@sceneshift.com wrote:


 Hey guys,

 I have a project coming up where I need to capture the Microphone input and
 then push it to a byteArray. I know this isn't possible without first
 recording the input and analyzing it afterward, which is fine.

 I was wondering which is the best flash server to push and send the data, I
 was thinking about using Red5 and sending back the data as a sound only FLV
 for analyzing, but perhaps Red5 would be a better solution?

 Can anyone offer me any recommendations or experiences as to which method
 they would employ?
 --
 View this message in context:
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21474622.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  




-- 

Cheers,
Nate

http://blog.natebeck.net


[flexcoders] Populating a Flex Container in Flash

2009-01-15 Thread specdout
Hi All,

I'm currently developing a Flex application that loads a Flash SWF for
use as a background image. In other words, the app's main window has
as its first child a SWFLoader component into which I've loaded a SWF
developed in Flash. So far, so good.

Now, rather than open up dialogs or create direct child windows of the
main window, I want to host Flex content within the Flash SWF itself.
I installed the Flex Component Kit in my Flash CS3 environment and
proceeded to created a MovieClip symbol that contains a
FlexContentHolder. From Flex, I can access the symbol and set Flex
content on that symbol but the Flex content never appears. An example
of how I've attempted to do this is as follows:

   // get a reference to the Flex Content MovieClip
   var swf:MovieClip = _swfLoader.content as MovieClip;
   var fc:Object = swf[flexContainer];

   // create some Flex content to display
   var button:Button = new Button();
   button.width = 200;
   button.height = 100;
   button.label = Click me!;

   // create a top-level container for the Flex content
   var uiComponent:UIComponent = new UIComponent();
   uiComponent.width = fc.width;
   uiComponent.height = fc.height;
   uiComponent.alpha = 1.0;
   uiComponent.addChild(button);
   uiComponent.visible = true;

   fc.content = uiComponent;

Am I doing something wrong here? Conceptually, am I on the right
track? In other words, should what I'm trying to do be possible? I'd
appreciate any help or insight anyone might be able to offer.



RE: [flexcoders] setSelection method is missing from IUITextField interface? (Flex SDK 3.1)

2009-01-15 Thread Alex Harui
Because we use include files to save typing.

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Andriy Panas
Sent: Thursday, January 15, 2009 2:00 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] setSelection method is missing from IUITextField 
interface? (Flex SDK 3.1)


Dear all,

In my code I have variable typed as IUITextField

/*
The internal IUITextField that renders the text of this text control.
*/
protected var textField : IUITextField;

In Flex Builder I am able to select with code complete feature
setSelection method on typed variable with IUITextField type and
then my project compiles just fine.

But I am wondering why I could not locate declaration of
setSelection method inside of source file IUITextField.as file
supplied with SDK?

--
Best regards,
Andriy Panas



RE: [flexcoders] String encoding comparison

2009-01-15 Thread Alex Harui
Hmm.  Everything should be in Unicode by then.  Dump each string's charcodes

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Mike Chang
Sent: Wednesday, January 14, 2009 4:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] String encoding comparison

I need to do this comparison:
if (string a == string b)

a is hi
and b is also hi, but extracted from an XML file that has characters in other 
encoding (shift-JIS, japanese to be exact).
this statement comes back false in Flex, which is not what I want.
the statement comes back true if the XML file has complete ascii in it.

so I'm guessing the byte representation of hi is different because the XML 
parsing engine sees there are some other characters in shift JIS and assumes 
hi is in that encoding as well.

how do I convert it back so I can compare to the actual string hi.


thanks



Re: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Sceneshift

Thanks for the replace Nate, I didn't consider Wowza but I'll certainly check
it out.

Just wondering if you had any thoughts on BlazeDS? 


Nate Beck wrote:
 
 Red5 is a great open source project, and a great solution for your needs.
  However, if you want support on your project, I've found Red5 to be a
 bit... lacking.
 If you have the funds... my recommendation would be to use Wowza Media
 Server (http://www.wowzamedia.com/).  A single license will run you around
 $1,000.  Which in my experience is well worth it for the level of support
 you get on their forums.
 
 I recommend Wowza over Adobe FMS for two reasons.
 
- You extend Wowza with Java... which makes life a lot easier instead
 of
using Server-Side Actionscript.
- It's much less expensive.
 
 Cheers,
 Nate
 
 
 On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift j...@sceneshift.com wrote:
 

 Hey guys,

 I have a project coming up where I need to capture the Microphone input
 and
 then push it to a byteArray. I know this isn't possible without first
 recording the input and analyzing it afterward, which is fine.

 I was wondering which is the best flash server to push and send the data,
 I
 was thinking about using Red5 and sending back the data as a sound only
 FLV
 for analyzing, but perhaps Red5 would be a better solution?

 Can anyone offer me any recommendations or experiences as to which method
 they would employ?
 --
 View this message in context:
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21474622.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  

 
 
 
 -- 
 
 Cheers,
 Nate
 
 http://blog.natebeck.net
 
 

-- 
View this message in context: 
http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21484068.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Sceneshift

Ah I see, in that case I shall scrub BlazeDS off my list!

Even though Wowza is moderately priced in comparison to FMS, looks like Red5
is my only option within my budget. It's a shame there is barely any
documentation online for this kind of thing!

Thanks again Nate.


Nate Beck wrote:
 
 I haven't used BlazeDS on anything other than some of my small pet
 projects.
  However, I'm pretty sure that BlazeDS (Data Service) doesn't have an RTMP
 end-point.
 Meaning you can't make a NetConnection and NetStream call to it, which
 also
 means you can't use attachMicrophone to send your audio to the server.
 
 In my opinion there are only three options when it comes to Flash Media
 (camera  microphone) solutions:
 
- Adobe Flash Media Server (
http://www.adobe.com/products/flashmediaserver/) was Flash
 Communication
Server
- Wowza Media Server (http://wowzamedia.com)
- Red5 ( http://osflash.org/red5)
 
 Cheers,
 Nate
 
 
 On Thu, Jan 15, 2009 at 10:35 AM, Sceneshift j...@sceneshift.com wrote:
 

 Thanks for the replace Nate, I didn't consider Wowza but I'll certainly
 check
 it out.

 Just wondering if you had any thoughts on BlazeDS?

 Nate Beck wrote:
 
  Red5 is a great open source project, and a great solution for your
 needs.
  However, if you want support on your project, I've found Red5 to be a
  bit... lacking.
  If you have the funds... my recommendation would be to use Wowza Media
  Server (http://www.wowzamedia.com/). A single license will run you
 around
  $1,000. Which in my experience is well worth it for the level of
 support
  you get on their forums.
 
  I recommend Wowza over Adobe FMS for two reasons.
 
  - You extend Wowza with Java... which makes life a lot easier instead
  of
  using Server-Side Actionscript.
  - It's much less expensive.
 
  Cheers,
  Nate
 
 
  On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift
 j...@sceneshift.comjon%40sceneshift.com
 wrote:
 
 
  Hey guys,
 
  I have a project coming up where I need to capture the Microphone
 input
  and
  then push it to a byteArray. I know this isn't possible without first
  recording the input and analyzing it afterward, which is fine.
 
  I was wondering which is the best flash server to push and send the
 data,
  I
  was thinking about using Red5 and sending back the data as a sound
 only
  FLV
  for analyzing, but perhaps Red5 would be a better solution?
 
  Can anyone offer me any recommendations or experiences as to which
 method
  they would employ?
  --
  View this message in context:
 
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21474622.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 
  --
 
  Cheers,
  Nate
  
  http://blog.natebeck.net
 
 

 --
 View this message in context:
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21484068.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  

 
 
 
 -- 
 
 Cheers,
 Nate
 
 http://blog.natebeck.net
 
 

-- 
View this message in context: 
http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21484544.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Nate Beck
I haven't used BlazeDS on anything other than some of my small pet projects.
 However, I'm pretty sure that BlazeDS (Data Service) doesn't have an RTMP
end-point.
Meaning you can't make a NetConnection and NetStream call to it, which also
means you can't use attachMicrophone to send your audio to the server.

In my opinion there are only three options when it comes to Flash Media
(camera  microphone) solutions:

   - Adobe Flash Media Server (
   http://www.adobe.com/products/flashmediaserver/) was Flash Communication
   Server
   - Wowza Media Server (http://wowzamedia.com)
   - Red5 ( http://osflash.org/red5)

Cheers,
Nate


On Thu, Jan 15, 2009 at 10:35 AM, Sceneshift j...@sceneshift.com wrote:


 Thanks for the replace Nate, I didn't consider Wowza but I'll certainly
 check
 it out.

 Just wondering if you had any thoughts on BlazeDS?

 Nate Beck wrote:
 
  Red5 is a great open source project, and a great solution for your needs.
  However, if you want support on your project, I've found Red5 to be a
  bit... lacking.
  If you have the funds... my recommendation would be to use Wowza Media
  Server (http://www.wowzamedia.com/). A single license will run you
 around
  $1,000. Which in my experience is well worth it for the level of support
  you get on their forums.
 
  I recommend Wowza over Adobe FMS for two reasons.
 
  - You extend Wowza with Java... which makes life a lot easier instead
  of
  using Server-Side Actionscript.
  - It's much less expensive.
 
  Cheers,
  Nate
 
 
  On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift 
  j...@sceneshift.comjon%40sceneshift.com
 wrote:
 
 
  Hey guys,
 
  I have a project coming up where I need to capture the Microphone input
  and
  then push it to a byteArray. I know this isn't possible without first
  recording the input and analyzing it afterward, which is fine.
 
  I was wondering which is the best flash server to push and send the
 data,
  I
  was thinking about using Red5 and sending back the data as a sound only
  FLV
  for analyzing, but perhaps Red5 would be a better solution?
 
  Can anyone offer me any recommendations or experiences as to which
 method
  they would employ?
  --
  View this message in context:
 
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21474622.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 
  --
 
  Cheers,
  Nate
  
  http://blog.natebeck.net
 
 

 --
 View this message in context:
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21484068.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  




-- 

Cheers,
Nate

http://blog.natebeck.net


RE: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Ryan Graham

Also, depending on what server technology you're comfortable developing
in, you may want to check out WebORB - the .Net version is free, and
they also provide versions for Java, PHP, CF, and Rails. I've only
played with it a little bit, but what I saw seemed pretty solid.

 

HTH, 

Ryan

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Sceneshift
Sent: Thursday, January 15, 2009 11:59 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Microphone  BlazeDS (Red5?)

 


Ah I see, in that case I shall scrub BlazeDS off my list!

Even though Wowza is moderately priced in comparison to FMS, looks like
Red5
is my only option within my budget. It's a shame there is barely any
documentation online for this kind of thing!

Thanks again Nate.

Nate Beck wrote:
 
 I haven't used BlazeDS on anything other than some of my small pet
 projects.
 However, I'm pretty sure that BlazeDS (Data Service) doesn't have an
RTMP
 end-point.
 Meaning you can't make a NetConnection and NetStream call to it, which
 also
 means you can't use attachMicrophone to send your audio to the server.
 
 In my opinion there are only three options when it comes to Flash
Media
 (camera  microphone) solutions:
 
 - Adobe Flash Media Server (
 http://www.adobe.com/products/flashmediaserver/) was Flash
 Communication
 Server
 - Wowza Media Server (http://wowzamedia.com)
 - Red5 ( http://osflash.org/red5)
 
 Cheers,
 Nate
 
 
 On Thu, Jan 15, 2009 at 10:35 AM, Sceneshift j...@sceneshift.com
mailto:jon%40sceneshift.com  wrote:
 

 Thanks for the replace Nate, I didn't consider Wowza but I'll
certainly
 check
 it out.

 Just wondering if you had any thoughts on BlazeDS?

 Nate Beck wrote:
 
  Red5 is a great open source project, and a great solution for your
 needs.
  However, if you want support on your project, I've found Red5 to be
a
  bit... lacking.
  If you have the funds... my recommendation would be to use Wowza
Media
  Server (http://www.wowzamedia.com/). A single license will run you
 around
  $1,000. Which in my experience is well worth it for the level of
 support
  you get on their forums.
 
  I recommend Wowza over Adobe FMS for two reasons.
 
  - You extend Wowza with Java... which makes life a lot easier
instead
  of
  using Server-Side Actionscript.
  - It's much less expensive.
 
  Cheers,
  Nate
 
 
  On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift
 j...@sceneshift.com mailto:jon%40sceneshift.com
jon%40sceneshift.com
 wrote:
 
 
  Hey guys,
 
  I have a project coming up where I need to capture the Microphone
 input
  and
  then push it to a byteArray. I know this isn't possible without
first
  recording the input and analyzing it afterward, which is fine.
 
  I was wondering which is the best flash server to push and send
the
 data,
  I
  was thinking about using Red5 and sending back the data as a sound
 only
  FLV
  for analyzing, but perhaps Red5 would be a better solution?
 
  Can anyone offer me any recommendations or experiences as to which
 method
  they would employ?
  --
  View this message in context:
 

http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214746
22.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 
  --
 
  Cheers,
  Nate
  
  http://blog.natebeck.net
 
 

 --
 View this message in context:

http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214840
68.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

 

 
 
 
 -- 
 
 Cheers,
 Nate
 
 http://blog.natebeck.net
 
 

-- 
View this message in context:
http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214845
44.html
Sent from the FlexCoders mailing list archive at Nabble.com.

 



This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

RE: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Sceneshift

I use WebOrb currently for PHP remoting, I had no idea it supports RMTP? Bare
in mind I want to record live microphone input, does WebOrb really support
that?


Ryan Graham-3 wrote:
 
 
 Also, depending on what server technology you're comfortable developing
 in, you may want to check out WebORB - the .Net version is free, and
 they also provide versions for Java, PHP, CF, and Rails. I've only
 played with it a little bit, but what I saw seemed pretty solid.
 
  
 
 HTH, 
 
 Ryan
 
  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Sceneshift
 Sent: Thursday, January 15, 2009 11:59 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Microphone  BlazeDS (Red5?)
 
  
 
 
 Ah I see, in that case I shall scrub BlazeDS off my list!
 
 Even though Wowza is moderately priced in comparison to FMS, looks like
 Red5
 is my only option within my budget. It's a shame there is barely any
 documentation online for this kind of thing!
 
 Thanks again Nate.
 
 Nate Beck wrote:
 
 I haven't used BlazeDS on anything other than some of my small pet
 projects.
 However, I'm pretty sure that BlazeDS (Data Service) doesn't have an
 RTMP
 end-point.
 Meaning you can't make a NetConnection and NetStream call to it, which
 also
 means you can't use attachMicrophone to send your audio to the server.
 
 In my opinion there are only three options when it comes to Flash
 Media
 (camera  microphone) solutions:
 
 - Adobe Flash Media Server (
 http://www.adobe.com/products/flashmediaserver/) was Flash
 Communication
 Server
 - Wowza Media Server (http://wowzamedia.com)
 - Red5 ( http://osflash.org/red5)
 
 Cheers,
 Nate
 
 
 On Thu, Jan 15, 2009 at 10:35 AM, Sceneshift j...@sceneshift.com
 mailto:jon%40sceneshift.com  wrote:
 

 Thanks for the replace Nate, I didn't consider Wowza but I'll
 certainly
 check
 it out.

 Just wondering if you had any thoughts on BlazeDS?

 Nate Beck wrote:
 
  Red5 is a great open source project, and a great solution for your
 needs.
  However, if you want support on your project, I've found Red5 to be
 a
  bit... lacking.
  If you have the funds... my recommendation would be to use Wowza
 Media
  Server (http://www.wowzamedia.com/). A single license will run you
 around
  $1,000. Which in my experience is well worth it for the level of
 support
  you get on their forums.
 
  I recommend Wowza over Adobe FMS for two reasons.
 
  - You extend Wowza with Java... which makes life a lot easier
 instead
  of
  using Server-Side Actionscript.
  - It's much less expensive.
 
  Cheers,
  Nate
 
 
  On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift
 j...@sceneshift.com mailto:jon%40sceneshift.com
 jon%40sceneshift.com
 wrote:
 
 
  Hey guys,
 
  I have a project coming up where I need to capture the Microphone
 input
  and
  then push it to a byteArray. I know this isn't possible without
 first
  recording the input and analyzing it afterward, which is fine.
 
  I was wondering which is the best flash server to push and send
 the
 data,
  I
  was thinking about using Red5 and sending back the data as a sound
 only
  FLV
  for analyzing, but perhaps Red5 would be a better solution?
 
  Can anyone offer me any recommendations or experiences as to which
 method
  they would employ?
  --
  View this message in context:
 

 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214746
 22.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 
  --
 
  Cheers,
  Nate
  
  http://blog.natebeck.net
 
 

 --
 View this message in context:

 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214840
 68.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

 

 
 
 
 -- 
 
 Cheers,
 Nate
 
 http://blog.natebeck.net
 
 
 
 -- 
 View this message in context:
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214845
 44.html
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
  
 
 
 
 This message is private and confidential. If you have received it in
 error, please notify the sender and remove it from your system.
 

-- 
View this message in context: 
http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21484706.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Nate Beck
That's kind of my point with Red5.  It's a GREAT project, and I think what
the developers on it have done is nothing short of amazing.  That being
said, it's still an open source project and as such there is
no guarantee that your questions will be answered.
Now.. another option you have with Wowza is their Amazon EC2 deployment (
http://www.wowzamedia.com/ec2.php).  The benefits of EC2 are:

   - No up-front capital investment
   - No long-term contract
   - No minimum number of server instances
   - No cost for future software upgrades
   - Add/delete Wowza Pro EC2 instances and pay only for instance-time and
   data transfer used


So my recommendation is this... If this is a side project, no budget, just
sweat equity and time isn't really an issue.  You can absolutely do it with
Red5, just know that there is a learning curve, and will require your time
doing research.

If it's for a company, Wowza on Amazon EC2 is an excellent option for
getting started with almost no money.  And you only pay for what you use.
 Gotta love that cloud computing!

On Thu, Jan 15, 2009 at 10:59 AM, Sceneshift j...@sceneshift.com wrote:


 Ah I see, in that case I shall scrub BlazeDS off my list!

 Even though Wowza is moderately priced in comparison to FMS, looks like
 Red5
 is my only option within my budget. It's a shame there is barely any
 documentation online for this kind of thing!

 Thanks again Nate.


 Nate Beck wrote:
 
  I haven't used BlazeDS on anything other than some of my small pet
  projects.
  However, I'm pretty sure that BlazeDS (Data Service) doesn't have an RTMP
  end-point.
  Meaning you can't make a NetConnection and NetStream call to it, which
  also
  means you can't use attachMicrophone to send your audio to the server.
 
  In my opinion there are only three options when it comes to Flash Media
  (camera  microphone) solutions:
 
  - Adobe Flash Media Server (
  http://www.adobe.com/products/flashmediaserver/) was Flash
  Communication
  Server
  - Wowza Media Server (http://wowzamedia.com)
  - Red5 ( http://osflash.org/red5)
 
  Cheers,
  Nate
 
 
  On Thu, Jan 15, 2009 at 10:35 AM, Sceneshift 
  j...@sceneshift.comjon%40sceneshift.com
 wrote:
 
 
  Thanks for the replace Nate, I didn't consider Wowza but I'll certainly
  check
  it out.
 
  Just wondering if you had any thoughts on BlazeDS?
 
  Nate Beck wrote:
  
   Red5 is a great open source project, and a great solution for your
  needs.
   However, if you want support on your project, I've found Red5 to be a
   bit... lacking.
   If you have the funds... my recommendation would be to use Wowza Media
   Server (http://www.wowzamedia.com/). A single license will run you
  around
   $1,000. Which in my experience is well worth it for the level of
  support
   you get on their forums.
  
   I recommend Wowza over Adobe FMS for two reasons.
  
   - You extend Wowza with Java... which makes life a lot easier instead
   of
   using Server-Side Actionscript.
   - It's much less expensive.
  
   Cheers,
   Nate
  
  
   On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift
  j...@sceneshift.com jon%40sceneshift.comjon%40sceneshift.com

  wrote:
  
  
   Hey guys,
  
   I have a project coming up where I need to capture the Microphone
  input
   and
   then push it to a byteArray. I know this isn't possible without first
   recording the input and analyzing it afterward, which is fine.
  
   I was wondering which is the best flash server to push and send the
  data,
   I
   was thinking about using Red5 and sending back the data as a sound
  only
   FLV
   for analyzing, but perhaps Red5 would be a better solution?
  
   Can anyone offer me any recommendations or experiences as to which
  method
   they would employ?
   --
   View this message in context:
  
 
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21474622.html
   Sent from the FlexCoders mailing list archive at Nabble.com.
  
  
  
  
  
  
   --
  
   Cheers,
   Nate
   
   http://blog.natebeck.net
  
  
 
  --
  View this message in context:
 
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21484068.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 
  --
 
  Cheers,
  Nate
  
  http://blog.natebeck.net
 
 

 --
 View this message in context:
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21484544.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  




-- 

Cheers,
Nate

http://blog.natebeck.net


Re: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Nate Beck
WebORB is great, but it's not a media server.
Also Jon, you can email me off list if you need any help with the recording
of microphone input.  There are a whole bunch of common pitfalls you can run
into.

On Thu, Jan 15, 2009 at 11:08 AM, Sceneshift j...@sceneshift.com wrote:


 I use WebOrb currently for PHP remoting, I had no idea it supports RMTP?
 Bare
 in mind I want to record live microphone input, does WebOrb really support
 that?


 Ryan Graham-3 wrote:
 
 
  Also, depending on what server technology you're comfortable developing
  in, you may want to check out WebORB - the .Net version is free, and
  they also provide versions for Java, PHP, CF, and Rails. I've only
  played with it a little bit, but what I saw seemed pretty solid.
 
 
 
  HTH,
 
  Ryan
 
 
 
  From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
 flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
  Behalf Of Sceneshift
  Sent: Thursday, January 15, 2009 11:59 AM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: Re: [flexcoders] Microphone  BlazeDS (Red5?)
 
 
 
 
  Ah I see, in that case I shall scrub BlazeDS off my list!
 
  Even though Wowza is moderately priced in comparison to FMS, looks like
  Red5
  is my only option within my budget. It's a shame there is barely any
  documentation online for this kind of thing!
 
  Thanks again Nate.
 
  Nate Beck wrote:
 
  I haven't used BlazeDS on anything other than some of my small pet
  projects.
  However, I'm pretty sure that BlazeDS (Data Service) doesn't have an
  RTMP
  end-point.
  Meaning you can't make a NetConnection and NetStream call to it, which
  also
  means you can't use attachMicrophone to send your audio to the server.
 
  In my opinion there are only three options when it comes to Flash
  Media
  (camera  microphone) solutions:
 
  - Adobe Flash Media Server (
  http://www.adobe.com/products/flashmediaserver/) was Flash
  Communication
  Server
  - Wowza Media Server (http://wowzamedia.com)
  - Red5 ( http://osflash.org/red5)
 
  Cheers,
  Nate
 
 
  On Thu, Jan 15, 2009 at 10:35 AM, Sceneshift 
  j...@sceneshift.comjon%40sceneshift.com
  mailto:jon%40sceneshift.com jon%2540sceneshift.com  wrote:
 
 
  Thanks for the replace Nate, I didn't consider Wowza but I'll
  certainly
  check
  it out.
 
  Just wondering if you had any thoughts on BlazeDS?
 
  Nate Beck wrote:
  
   Red5 is a great open source project, and a great solution for your
  needs.
   However, if you want support on your project, I've found Red5 to be
  a
   bit... lacking.
   If you have the funds... my recommendation would be to use Wowza
  Media
   Server (http://www.wowzamedia.com/). A single license will run you
  around
   $1,000. Which in my experience is well worth it for the level of
  support
   you get on their forums.
  
   I recommend Wowza over Adobe FMS for two reasons.
  
   - You extend Wowza with Java... which makes life a lot easier
  instead
   of
   using Server-Side Actionscript.
   - It's much less expensive.
  
   Cheers,
   Nate
  
  
   On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift
  j...@sceneshift.com jon%40sceneshift.com mailto:
 jon%40sceneshift.com jon%2540sceneshift.com

  jon%40sceneshift.com
  wrote:
  
  
   Hey guys,
  
   I have a project coming up where I need to capture the Microphone
  input
   and
   then push it to a byteArray. I know this isn't possible without
  first
   recording the input and analyzing it afterward, which is fine.
  
   I was wondering which is the best flash server to push and send
  the
  data,
   I
   was thinking about using Red5 and sending back the data as a sound
  only
   FLV
   for analyzing, but perhaps Red5 would be a better solution?
  
   Can anyone offer me any recommendations or experiences as to which
  method
   they would employ?
   --
   View this message in context:
  
 
  http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214746
  22.html
   Sent from the FlexCoders mailing list archive at Nabble.com.
  
  
  
  
  
  
   --
  
   Cheers,
   Nate
   
   http://blog.natebeck.net
  
  
 
  --
  View this message in context:
 
  http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214840
  68.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 
  --
 
  Cheers,
  Nate
  
  http://blog.natebeck.net
 
 
 
  --
  View this message in context:
  http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214845
  44.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
  This message is private and confidential. If you have received it in
  error, please notify the sender and remove it from your system.
 

 --
 View this message in context:
 http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p21484706.html
 Sent from the FlexCoders mailing list archive at Nabble.com.

  




-- 

Cheers,
Nate

Re: [flexcoders] Accessibility stopped working

2009-01-15 Thread Matt Morgan-May
Hi Guy,

I'm not sure why you're setting the compiler flag, when you're using FB. You 
can enable accessibility at the project level in FB via the options panel. You 
can also enable it by setting accessibletrue/accessible in flex-config, 
inside the mxml-compiler block. But on the command line, -accessible (or 
-compiler.accessible, which it's aliased to) should work.

Do you have the MS Inspect32 and AccExplorer32 diagnostic tools? If not, Google 
for them. You can use them to check the MSAA values in the app at runtime.

Hope this helps,
m

On 1/15/09 1:54 AM, Guy Morton g...@alchemy.com.au wrote:




I had been successfully compiling my app via flexbuilder 3 using the -
accessible compiler flag. Then it stopped working, for no apparent
reason. I tried reinstalling fb but it made no difference. The
compiler option is still set but now my app gets compiled with no
accessibility features.

Anyone got any ideas as to why this might have happened or how to fix
it?

Guy




[flexcoders] disclosureOpenIcon/disclosureClosedIcon + Tree + change position

2009-01-15 Thread ilikeflex
Hi  

I have a Tree Control and i am using the 
disclosureOpenIcon
disclosureClosedIcon

styles.

But i want to change the location where are the disclosureOpenIcon/
disclosureClosedIcon icons are displayed. 

I want to display them after the label of the tree. Bydefault icons are 
displayed before the label.

Any pointers are highly appreciated.

Thanks
ilikeflex



RE: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Ryan Graham

I'm not sure when they added it, maybe as recent as version 3.4, but it
should support video streaming and recording.  The datasheet suggests
this as well:

 

Video Streaming

streaming flash video, video

broadcast, server initiated video,

video recording, video chat

 

Not sure if the process is the same with Red5, but wouldn't you just
record a video without a camera attached? Just attach the microphone, to
record an audio-only flv?

 

HTH,

Ryan

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Nate Beck
Sent: Thursday, January 15, 2009 12:11 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Microphone  BlazeDS (Red5?)

 

WebORB is great, but it's not a media server. 

 

Also Jon, you can email me off list if you need any help with the
recording of microphone input.  There are a whole bunch of common
pitfalls you can run into.

On Thu, Jan 15, 2009 at 11:08 AM, Sceneshift j...@sceneshift.com wrote:


I use WebOrb currently for PHP remoting, I had no idea it supports RMTP?
Bare
in mind I want to record live microphone input, does WebOrb really
support
that?



Ryan Graham-3 wrote:
 
 
 Also, depending on what server technology you're comfortable
developing
 in, you may want to check out WebORB - the .Net version is free, and
 they also provide versions for Java, PHP, CF, and Rails. I've only
 played with it a little bit, but what I saw seemed pretty solid.
 
 
 
 HTH, 
 
 Ryan
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of Sceneshift
 Sent: Thursday, January 15, 2009 11:59 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: Re: [flexcoders] Microphone  BlazeDS (Red5?)
 
 
 
 
 Ah I see, in that case I shall scrub BlazeDS off my list!
 
 Even though Wowza is moderately priced in comparison to FMS, looks
like
 Red5
 is my only option within my budget. It's a shame there is barely any
 documentation online for this kind of thing!
 
 Thanks again Nate.
 
 Nate Beck wrote:
 
 I haven't used BlazeDS on anything other than some of my small pet
 projects.
 However, I'm pretty sure that BlazeDS (Data Service) doesn't have an
 RTMP
 end-point.
 Meaning you can't make a NetConnection and NetStream call to it,
which
 also
 means you can't use attachMicrophone to send your audio to the
server.
 
 In my opinion there are only three options when it comes to Flash
 Media
 (camera  microphone) solutions:
 
 - Adobe Flash Media Server (
 http://www.adobe.com/products/flashmediaserver/) was Flash
 Communication
 Server
 - Wowza Media Server (http://wowzamedia.com)
 - Red5 ( http://osflash.org/red5)
 
 Cheers,
 Nate
 
 
 On Thu, Jan 15, 2009 at 10:35 AM, Sceneshift j...@sceneshift.com
mailto:jon%40sceneshift.com 

 mailto:jon%40sceneshift.com mailto:jon%2540sceneshift.com  
wrote:
 

 Thanks for the replace Nate, I didn't consider Wowza but I'll
 certainly
 check
 it out.

 Just wondering if you had any thoughts on BlazeDS?

 Nate Beck wrote:
 
  Red5 is a great open source project, and a great solution for your
 needs.
  However, if you want support on your project, I've found Red5 to
be
 a
  bit... lacking.
  If you have the funds... my recommendation would be to use Wowza
 Media
  Server (http://www.wowzamedia.com/). A single license will run you
 around
  $1,000. Which in my experience is well worth it for the level of
 support
  you get on their forums.
 
  I recommend Wowza over Adobe FMS for two reasons.
 
  - You extend Wowza with Java... which makes life a lot easier
 instead
  of
  using Server-Side Actionscript.
  - It's much less expensive.
 
  Cheers,
  Nate
 
 
  On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift

 j...@sceneshift.com mailto:jon%40sceneshift.com
mailto:jon%40sceneshift.com mailto:jon%2540sceneshift.com 


 jon%40sceneshift.com
 wrote:
 
 
  Hey guys,
 
  I have a project coming up where I need to capture the Microphone
 input
  and
  then push it to a byteArray. I know this isn't possible without
 first
  recording the input and analyzing it afterward, which is fine.
 
  I was wondering which is the best flash server to push and send
 the
 data,
  I
  was thinking about using Red5 and sending back the data as a
sound
 only
  FLV
  for analyzing, but perhaps Red5 would be a better solution?
 
  Can anyone offer me any recommendations or experiences as to
which
 method
  they would employ?
  --
  View this message in context:
 


http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214746
 22.html
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 
  --
 
  Cheers,
  Nate
  
  http://blog.natebeck.net
 
 

 --
 View this message in context:


http://www.nabble.com/Microphone---BlazeDS-%28Red5-%29-tp21474622p214840

 68.html


 Sent from the FlexCoders mailing list archive at Nabble.com.

 

 
 
 
 -- 
 
 Cheers,
 Nate
 

RE: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Ryan Graham

Oh, there it is... In the RTMP section in the datasheet, it says client
stream recording is supported in the .Net, Java, and CF versions of the
product.

 

www.themidnightcoders.com/fileadmin/downloads/WebORBDatasheet.pdf

 

HTH,

Ryan

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ryan Graham
Sent: Thursday, January 15, 2009 12:36 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Microphone  BlazeDS (Red5?)

 

I'm not sure when they added it, maybe as recent as version 3.4, but it
should support video streaming and recording.  The datasheet suggests
this as well:

 

Video Streaming

streaming flash video, video

broadcast, server initiated video,

video recording, video chat

 

Not sure if the process is the same with Red5, but wouldn't you just
record a video without a camera attached? Just attach the microphone, to
record an audio-only flv?

 

HTH,

Ryan

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Nate Beck
Sent: Thursday, January 15, 2009 12:11 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Microphone  BlazeDS (Red5?)

 

WebORB is great, but it's not a media server. 

 

Also Jon, you can email me off list if you need any help with the
recording of microphone input.  There are a whole bunch of common
pitfalls you can run into.

On Thu, Jan 15, 2009 at 11:08 AM, Sceneshift j...@sceneshift.com wrote:


I use WebOrb currently for PHP remoting, I had no idea it supports RMTP?
Bare
in mind I want to record live microphone input, does WebOrb really
support
that?



Ryan Graham-3 wrote:
 
 
 Also, depending on what server technology you're comfortable
developing
 in, you may want to check out WebORB - the .Net version is free, and
 they also provide versions for Java, PHP, CF, and Rails. I've only
 played with it a little bit, but what I saw seemed pretty solid.
 
 
 
 HTH, 
 
 Ryan
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of Sceneshift
 Sent: Thursday, January 15, 2009 11:59 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: Re: [flexcoders] Microphone  BlazeDS (Red5?)
 
 
 
 
 Ah I see, in that case I shall scrub BlazeDS off my list!
 
 Even though Wowza is moderately priced in comparison to FMS, looks
like
 Red5
 is my only option within my budget. It's a shame there is barely any
 documentation online for this kind of thing!
 
 Thanks again Nate.
 
 Nate Beck wrote:
 
 I haven't used BlazeDS on anything other than some of my small pet
 projects.
 However, I'm pretty sure that BlazeDS (Data Service) doesn't have an
 RTMP
 end-point.
 Meaning you can't make a NetConnection and NetStream call to it,
which
 also
 means you can't use attachMicrophone to send your audio to the
server.
 
 In my opinion there are only three options when it comes to Flash
 Media
 (camera  microphone) solutions:
 
 - Adobe Flash Media Server (
 http://www.adobe.com/products/flashmediaserver/) was Flash
 Communication
 Server
 - Wowza Media Server (http://wowzamedia.com)
 - Red5 ( http://osflash.org/red5)
 
 Cheers,
 Nate
 
 
 On Thu, Jan 15, 2009 at 10:35 AM, Sceneshift j...@sceneshift.com
mailto:jon%40sceneshift.com 

 mailto:jon%40sceneshift.com mailto:jon%2540sceneshift.com  
wrote:
 

 Thanks for the replace Nate, I didn't consider Wowza but I'll
 certainly
 check
 it out.

 Just wondering if you had any thoughts on BlazeDS?

 Nate Beck wrote:
 
  Red5 is a great open source project, and a great solution for your
 needs.
  However, if you want support on your project, I've found Red5 to
be
 a
  bit... lacking.
  If you have the funds... my recommendation would be to use Wowza
 Media
  Server (http://www.wowzamedia.com/). A single license will run you
 around
  $1,000. Which in my experience is well worth it for the level of
 support
  you get on their forums.
 
  I recommend Wowza over Adobe FMS for two reasons.
 
  - You extend Wowza with Java... which makes life a lot easier
 instead
  of
  using Server-Side Actionscript.
  - It's much less expensive.
 
  Cheers,
  Nate
 
 
  On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift

 j...@sceneshift.com mailto:jon%40sceneshift.com
mailto:jon%40sceneshift.com mailto:jon%2540sceneshift.com 


 jon%40sceneshift.com
 wrote:
 
 
  Hey guys,
 
  I have a project coming up where I need to capture the Microphone
 input
  and
  then push it to a byteArray. I know this isn't possible without
 first
  recording the input and analyzing it afterward, which is fine.
 
  I was wondering which is the best flash server to push and send
 the
 data,
  I
  was thinking about using Red5 and sending back the data as a
sound
 only
  FLV
  for analyzing, but perhaps Red5 would be a better solution?
 
  Can anyone offer me any recommendations or experiences as to
which
 method
  they would employ?
  --
  View this message in context:
 



Re: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Nate Beck
Well I'll be darned, didn't know they added support for RTMP.  I just
recently met Mark Piller and the Midnight Coders guys at their booth at MAX.
 I'll have to try it out, and put it through it's paces. :D
I'm planning on testing all the different Media Servers and posting my
results on my blog (blog.natebeck.net). I'll respond to this thread when I
have posted my results.

Cheers,
Nate

On Thu, Jan 15, 2009 at 11:41 AM, Ryan Graham ryan.gra...@phoenix.eduwrote:

Oh, there it is… In the RTMP section in the datasheet, it says client
 stream recording is supported in the .Net, Java, and CF versions of the
 product.



 www.themidnightcoders.com/fileadmin/downloads/WebORBDatasheet.pdf



 HTH,

 Ryan



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Ryan Graham
 *Sent:* Thursday, January 15, 2009 12:36 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* RE: [flexcoders] Microphone  BlazeDS (Red5?)



 I'm not sure when they added it, maybe as recent as version 3.4, but it
 should support video streaming and recording.  The datasheet suggests this
 as well:



 *Video Streaming*

 streaming flash video, video

 broadcast, server initiated video,

 video recording, video chat



 Not sure if the process is the same with Red5, but wouldn't you just record
 a video without a camera attached? Just attach the microphone, to record an
 audio-only flv?



 HTH,

 Ryan



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Nate Beck
 *Sent:* Thursday, January 15, 2009 12:11 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Microphone  BlazeDS (Red5?)



 WebORB is great, but it's not a media server.



 Also Jon, you can email me off list if you need any help with the recording
 of microphone input.  There are a whole bunch of common pitfalls you can run
 into.

 On Thu, Jan 15, 2009 at 11:08 AM, Sceneshift j...@sceneshift.com wrote:


 I use WebOrb currently for PHP remoting, I had no idea it supports RMTP?
 Bare
 in mind I want to record live microphone input, does WebOrb really support
 that?



 Ryan Graham-3 wrote:
 
 
  Also, depending on what server technology you're comfortable developing
  in, you may want to check out WebORB - the .Net version is free, and
  they also provide versions for Java, PHP, CF, and Rails. I've only
  played with it a little bit, but what I saw seemed pretty solid.
 
 
 
  HTH,
 
  Ryan
 
 
 
  From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
 flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
  Behalf Of Sceneshift
  Sent: Thursday, January 15, 2009 11:59 AM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: Re: [flexcoders] Microphone  BlazeDS (Red5?)
 
 
 
 
  Ah I see, in that case I shall scrub BlazeDS off my list!
 
  Even though Wowza is moderately priced in comparison to FMS, looks like
  Red5
  is my only option within my budget. It's a shame there is barely any
  documentation online for this kind of thing!
 
  Thanks again Nate.
 
  Nate Beck wrote:
 
  I haven't used BlazeDS on anything other than some of my small pet
  projects.
  However, I'm pretty sure that BlazeDS (Data Service) doesn't have an
  RTMP
  end-point.
  Meaning you can't make a NetConnection and NetStream call to it, which
  also
  means you can't use attachMicrophone to send your audio to the server.
 
  In my opinion there are only three options when it comes to Flash
  Media
  (camera  microphone) solutions:
 
  - Adobe Flash Media Server (
  http://www.adobe.com/products/flashmediaserver/) was Flash
  Communication
  Server
  - Wowza Media Server (http://wowzamedia.com)
  - Red5 ( http://osflash.org/red5)
 
  Cheers,
  Nate
 
 
  On Thu, Jan 15, 2009 at 10:35 AM, Sceneshift 
  j...@sceneshift.comjon%40sceneshift.com

  mailto:jon%40sceneshift.com jon%2540sceneshift.com  wrote:
 
 
  Thanks for the replace Nate, I didn't consider Wowza but I'll
  certainly
  check
  it out.
 
  Just wondering if you had any thoughts on BlazeDS?
 
  Nate Beck wrote:
  
   Red5 is a great open source project, and a great solution for your
  needs.
   However, if you want support on your project, I've found Red5 to be
  a
   bit... lacking.
   If you have the funds... my recommendation would be to use Wowza
  Media
   Server (http://www.wowzamedia.com/). A single license will run you
  around
   $1,000. Which in my experience is well worth it for the level of
  support
   you get on their forums.
  
   I recommend Wowza over Adobe FMS for two reasons.
  
   - You extend Wowza with Java... which makes life a lot easier
  instead
   of
   using Server-Side Actionscript.
   - It's much less expensive.
  
   Cheers,
   Nate
  
  
   On Thu, Jan 15, 2009 at 2:05 AM, Sceneshift

  j...@sceneshift.com jon%40sceneshift.com mailto:
 jon%40sceneshift.com jon%2540sceneshift.com


  jon%40sceneshift.com
  wrote:
  
  
   Hey guys,
  
   I have a project coming up where I need to capture 

Re: [flexcoders] Populating a Flex Container in Flash

2009-01-15 Thread Paul Andrews
Does anything get added to the display list?

If nothing else I think you'll need addChild(fc), or something similar.

- Original Message - 
From: specdout ratu...@shaw.ca
To: flexcoders@yahoogroups.com
Sent: Thursday, January 15, 2009 5:42 PM
Subject: [flexcoders] Populating a Flex Container in Flash


 Hi All,

 I'm currently developing a Flex application that loads a Flash SWF for
 use as a background image. In other words, the app's main window has
 as its first child a SWFLoader component into which I've loaded a SWF
 developed in Flash. So far, so good.

 Now, rather than open up dialogs or create direct child windows of the
 main window, I want to host Flex content within the Flash SWF itself.
 I installed the Flex Component Kit in my Flash CS3 environment and
 proceeded to created a MovieClip symbol that contains a
 FlexContentHolder. From Flex, I can access the symbol and set Flex
 content on that symbol but the Flex content never appears. An example
 of how I've attempted to do this is as follows:

   // get a reference to the Flex Content MovieClip
   var swf:MovieClip = _swfLoader.content as MovieClip;
   var fc:Object = swf[flexContainer];

   // create some Flex content to display
   var button:Button = new Button();
   button.width = 200;
   button.height = 100;
   button.label = Click me!;

   // create a top-level container for the Flex content
   var uiComponent:UIComponent = new UIComponent();
   uiComponent.width = fc.width;
   uiComponent.height = fc.height;
   uiComponent.alpha = 1.0;
   uiComponent.addChild(button);
   uiComponent.visible = true;

   fc.content = uiComponent;

 Am I doing something wrong here? Conceptually, am I on the right
 track? In other words, should what I'm trying to do be possible? I'd
 appreciate any help or insight anyone might be able to offer.


 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
 Links






[flexcoders] Re: Interfaces not working the way I understand anyway

2009-01-15 Thread mmormando
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

 Sounds like an applicationDomain topology problem.  See the  modules
presentation on my blog.  Make sure the interface is linked into the
main app.


That got it!
Thanks!!
(maybe modules should be marked experimental or something)



RE: [flexcoders] Microphone BlazeDS (Red5?)

2009-01-15 Thread Ryan Graham

I'd be very interested to see that. Most of our projects are rooted in
FMS due to ease of setup, but that server-side actionscript has left me
scratching my head more than a few times. It would be nice to switch to
a free solution that can be coded in a language I'm more comfortable
with if the performance specs are up to par. J

 

Thanks,

Ryan

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Nate Beck
Sent: Thursday, January 15, 2009 12:45 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Microphone  BlazeDS (Red5?)

 

Well I'll be darned, didn't know they added support for RTMP.  I just
recently met Mark Piller and the Midnight Coders guys at their booth at
MAX.  I'll have to try it out, and put it through it's paces. :D

 

I'm planning on testing all the different Media Servers and posting my
results on my blog (blog.natebeck.net). I'll respond to this thread when
I have posted my results.

 

Cheers,

Nate

 

On Thu, Jan 15, 2009 at 11:41 AM, Ryan Graham ryan.gra...@phoenix.edu
wrote:

Oh, there it is... In the RTMP section in the datasheet, it says client
stream recording is supported in the .Net, Java, and CF versions of the
product.

 

www.themidnightcoders.com/fileadmin/downloads/WebORBDatasheet.pdf

 

HTH,

Ryan

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ryan Graham
Sent: Thursday, January 15, 2009 12:36 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Microphone  BlazeDS (Red5?)

 

I'm not sure when they added it, maybe as recent as version 3.4, but it
should support video streaming and recording.  The datasheet suggests
this as well:

 

Video Streaming

streaming flash video, video

broadcast, server initiated video,

video recording, video chat

 

Not sure if the process is the same with Red5, but wouldn't you just
record a video without a camera attached? Just attach the microphone, to
record an audio-only flv?

 

HTH,

Ryan

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Nate Beck
Sent: Thursday, January 15, 2009 12:11 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Microphone  BlazeDS (Red5?)

 

WebORB is great, but it's not a media server. 

 

Also Jon, you can email me off list if you need any help with the
recording of microphone input.  There are a whole bunch of common
pitfalls you can run into.

On Thu, Jan 15, 2009 at 11:08 AM, Sceneshift j...@sceneshift.com wrote:


I use WebOrb currently for PHP remoting, I had no idea it supports RMTP?
Bare
in mind I want to record live microphone input, does WebOrb really
support
that?



Ryan Graham-3 wrote:
 
 
 Also, depending on what server technology you're comfortable
developing
 in, you may want to check out WebORB - the .Net version is free, and
 they also provide versions for Java, PHP, CF, and Rails. I've only
 played with it a little bit, but what I saw seemed pretty solid.
 
 
 
 HTH, 
 
 Ryan
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of Sceneshift
 Sent: Thursday, January 15, 2009 11:59 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: Re: [flexcoders] Microphone  BlazeDS (Red5?)
 
 
 
 
 Ah I see, in that case I shall scrub BlazeDS off my list!
 
 Even though Wowza is moderately priced in comparison to FMS, looks
like
 Red5
 is my only option within my budget. It's a shame there is barely any
 documentation online for this kind of thing!
 
 Thanks again Nate.
 
 Nate Beck wrote:
 
 I haven't used BlazeDS on anything other than some of my small pet
 projects.
 However, I'm pretty sure that BlazeDS (Data Service) doesn't have an
 RTMP
 end-point.
 Meaning you can't make a NetConnection and NetStream call to it,
which
 also
 means you can't use attachMicrophone to send your audio to the
server.
 
 In my opinion there are only three options when it comes to Flash
 Media
 (camera  microphone) solutions:
 
 - Adobe Flash Media Server (
 http://www.adobe.com/products/flashmediaserver/) was Flash
 Communication
 Server
 - Wowza Media Server (http://wowzamedia.com)
 - Red5 ( http://osflash.org/red5)
 
 Cheers,
 Nate
 
 
 On Thu, Jan 15, 2009 at 10:35 AM, Sceneshift j...@sceneshift.com
mailto:jon%40sceneshift.com 

 mailto:jon%40sceneshift.com mailto:jon%2540sceneshift.com  
wrote:
 

 Thanks for the replace Nate, I didn't consider Wowza but I'll
 certainly
 check
 it out.

 Just wondering if you had any thoughts on BlazeDS?

 Nate Beck wrote:
 
  Red5 is a great open source project, and a great solution for your
 needs.
  However, if you want support on your project, I've found Red5 to
be
 a
  bit... lacking.
  If you have the funds... my recommendation would be to use Wowza
 Media
  Server (http://www.wowzamedia.com/). A single license will run you
 around
  $1,000. Which in my experience is well worth it for the level of
 support
 

[flexcoders] Playing Mp4 audio with Sound class?

2009-01-15 Thread Charlie Hubbard
So I'm trying to play Mp4 audio files with Sound, but it doesn't seem
to work.  I have gotten it working with NetStream class, but I'd
really like to use the extract() method to get the underlying samples
form the mp4 files just as I can with mp3.  Am I correct in that Sound
class doesn't support mp4, but only mp3?

What's the deal with that?  Is Sound a wrapper around NetStream?  If
so how could I get the samples?

Charlie


[flexcoders] Re: Populating a Flex Container in Flash

2009-01-15 Thread specdout
Thanks for your reply, Paul.

--- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:

 Does anything get added to the display list?
When the example code executes I do see the FlexContentHolder symbol
(Fx) on the display where I would expect it to be, i.e. positioned
where I would expect, with the dimensions I would expect, so I think
it's already on the DisplayList.  As well, I can make it invisible if
I want, so it does appear to be available and active - it's just the
Flex content that doesn't show.

 
 - Original Message - 
 From: specdout ratu...@...
 To: flexcoders@yahoogroups.com
 Sent: Thursday, January 15, 2009 5:42 PM
 Subject: [flexcoders] Populating a Flex Container in Flash
 
 
  Hi All,
 
  I'm currently developing a Flex application that loads a Flash SWF for
  use as a background image. In other words, the app's main window has
  as its first child a SWFLoader component into which I've loaded a SWF
  developed in Flash. So far, so good.
 
  Now, rather than open up dialogs or create direct child windows of the
  main window, I want to host Flex content within the Flash SWF itself.
  I installed the Flex Component Kit in my Flash CS3 environment and
  proceeded to created a MovieClip symbol that contains a
  FlexContentHolder. From Flex, I can access the symbol and set Flex
  content on that symbol but the Flex content never appears. An example
  of how I've attempted to do this is as follows:
 
// get a reference to the Flex Content MovieClip
var swf:MovieClip = _swfLoader.content as MovieClip;
var fc:Object = swf[flexContainer];
 
// create some Flex content to display
var button:Button = new Button();
button.width = 200;
button.height = 100;
button.label = Click me!;
 
// create a top-level container for the Flex content
var uiComponent:UIComponent = new UIComponent();
uiComponent.width = fc.width;
uiComponent.height = fc.height;
uiComponent.alpha = 1.0;
uiComponent.addChild(button);
uiComponent.visible = true;
 
fc.content = uiComponent;
 
  Am I doing something wrong here? Conceptually, am I on the right
  track? In other words, should what I'm trying to do be possible? I'd
  appreciate any help or insight anyone might be able to offer.
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location: 
 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
  Links
 
 
 





[flexcoders] Re: How to avoid red borders created by validators at page loading

2009-01-15 Thread b.kotireddy
Hi,

Could any one tell me what is the better way to validate a Combo Box.
Please post me some sample code or reference please

--- In flexcoders@yahoogroups.com, b.kotireddy koti_reddy...@...
wrote:

 Hi,
 
 In my page i have textInput's and Combo Box fields. When my page loads
 Text Input fields are not having any red borders, but all Combo Boxes
 are with red borders with This Field is required. I think these
 because of Validations. Is their any way that i can avoid that red
 borders with text. 
 
 Thanks in Advance
 koti





[flexcoders] Re: Interfaces not working the way I understand anyway

2009-01-15 Thread mmormando
--- In flexcoders@yahoogroups.com, mmormando m...@... wrote:

 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
 
  Sounds like an applicationDomain topology problem.  See the  modules
 presentation on my blog.  Make sure the interface is linked into the
 main app.
 
 
 That got it!
 Thanks!!
 (maybe modules should be marked experimental or something)



After seeing this, does it more or less mean that I need to statically
link a copy of every stinking module I've got into my main module in
order to be sure I won't run afoul of this problem every time I turn
around?
Not exactly sounding like an optimal solution.



RE: [flexcoders] Playing Mp4 audio with Sound class?

2009-01-15 Thread Ryan Graham

I believe that is the case. You can only use extract on mp3 files with
the Sound object and not on  streams with Netstream - unfortunately this
feature didn't make it into FP10 (hopefully FP11?). Depending on your
setup, one option might be to use a tool like ffmpeg to convert the mp4
to an mp3 server-side, and then load that into a Sound object to do the
extraction.

 

HTH,

Ryan

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Charlie Hubbard
Sent: Thursday, January 15, 2009 1:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Playing Mp4 audio with Sound class?

 

So I'm trying to play Mp4 audio files with Sound, but it doesn't seem
to work. I have gotten it working with NetStream class, but I'd
really like to use the extract() method to get the underlying samples
form the mp4 files just as I can with mp3. Am I correct in that Sound
class doesn't support mp4, but only mp3?

What's the deal with that? Is Sound a wrapper around NetStream? If
so how could I get the samples?

Charlie

 



This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

RE: [flexcoders] Re: How to avoid red borders created by validators at page loading

2009-01-15 Thread Thomas, Erik
A typical way to validate a combobox is to validate the index to ensure
someone has selected a value. To do this, create a NumberValidator
instance like this:
 
 mx:NumberValidator id=myComboValidator source={validateAssignee}
lowerThanMinError=
property=selectedIndex minValue=1 required=true /

Note that lowerThanMinError String property must be empty.
 
Then, at some point post creation, set the lowerThanMinError to the text
you wish to show the user when they hover the control if it fails
validation. Where I find this most useful is if you have a Commit or
Save button on your form, in the handler for that action, set the error
message text:
 
validateAssignee.lowerThanMinError = Assignee is required;
 
And then, run the validation on all your validator collection:
 
if (Validator.validateAll(validators).length != 0)
{
   // put up a message that one or more fields failed validation; they
will have red outlines
}
 
This is just one approach I found to work around the fact that ComboBox
always initializes to a red outline when using validator.
 
My guess to the root cause is that you're setting the
ComboBox.selectedIndex or are binding to selectedItem which will cause
the validation to execute. 
 
Another possible solution is to set required=false initially and then
set it to true later on, after the selectedIndex or selectedItem has
been initialized.
 
Erik



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of b.kotireddy
Sent: Thursday, January 15, 2009 12:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How to avoid red borders created by validators
at page loading



Hi,

Could any one tell me what is the better way to validate a Combo Box.
Please post me some sample code or reference please

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, b.kotireddy koti_reddy...@...
wrote:

 Hi,
 
 In my page i have textInput's and Combo Box fields. When my page loads
 Text Input fields are not having any red borders, but all Combo Boxes
 are with red borders with This Field is required. I think these
 because of Validations. Is their any way that i can avoid that red
 borders with text. 
 
 Thanks in Advance
 koti




 


[flexcoders] AIR: Detecting when window resize is complete (mouse up)

2009-01-15 Thread Aaron Hardy
Hey folks,

In my project I have a component that is a percentage width of its 
containing window.  When the user resizes the window, it triggers the 
component to update its display list WHILE the user is dragging the 
window resize handle.  Rather than updating the component's display 
while the user is dragging, I'd like to wait until the user lets go of 
the drag to update the component's display.  Is there an event I can 
capture that will tell me when the user releases the mouse button after 
a window resize?  NativeWindow.resize seems to be dispatched while the 
user is resizing.  While that's not what I'm looking for, I tried 
watching that event and then adding a mouse up event listener to both 
the stage and native window to detect when the user then lets go of the 
mouse button, but a mouse up event never seems to be dispatched when the 
user releases the mouse button after resizing.

Does anyone know of a good way to detect this or know of a creative 
workaround?  Thanks!

Aaron


[flexcoders] DataGrid selection w/ filtered contents

2009-01-15 Thread dfalling
Is there a way of getting accurate selectedIndex from an datagrid 
that's bound to a filtered data provider?  I'm running into the same 
problem from several different angles...  I ask a datagrid what its 
selectedIndex is and it claims it's 10.  I tell it to select index 0 
instead, at which point it dispatches the change event and is still 
set to 0.

I'm simply trying to make sure that when the collection is filtered, 
the grid selects the first item in the list to allow for easy keyboard 
navigation.

Cheers.



[flexcoders] Flex 3 DragManager with dynamic image proxy

2009-01-15 Thread dannyocean7722
Hi there,

I'm struggeling with the drag manager and external loaded dynamic images. I do 
need this 
for controls with no images displayed. (i.e. dragging with an advanced datagrid 
should 
display a image corresponding to the selected data row - So I do need to load 
the image 
on demand).

if i use

[Bindable]
[Embed(source='myImage.png')]
public var theImage:Class;

[...]

var imageProxy:Image = new Image();
imageProxy.source = theImage;
imageProxy.width = 120;
imageProxy.width = 120;

it works perfect. (Because the image is still preloaded I assume)

But if I use:

var imageProxy:Image = new Image();
imageProxy.source = 'myImage.png' //Normally I would load here my dynamic image
imageProxy.width = 120;
imageProxy.width = 120;

the image isn't displayed.

I've tried everything. (Wait until the image is loaded with an event listener 
won't work 
either). I've tried also to drag the image to a new bitmapasset ... but no way.

Maybe somebody help me out of the jungle? :)

Many thanks!
Dan



[flexcoders] LocalConnection issue in AIR to AIR application

2009-01-15 Thread Pete Appleby
Hi, all. 

I am attempting to get started with two AIR applications talking to
each other.

Unfortunately, the StatusEvent basically just says error in the
event.level after the Send request.  How do I go about debugging this?

I am not getting any Security or Async errors from the send.

Where can I dig deeper into this?

Thanks!

Pete




Re: [flexcoders] Accessibility stopped working

2009-01-15 Thread guy
Hi Matt

I probably should have mentioned I'm building on a Mac.

Yes, there are several ways to tell the compiler to build with  
accessibility on and I've used all of them. None appear to do it any  
more. You can imagine how frustrating this is.

It surely looks like a bug, but one which even reinstalling FB3 won't fix.

Guy


Quoting Matt Morgan-May matt...@adobe.com:

 Hi Guy,

 I'm not sure why you're setting the compiler flag, when you're using  
  FB. You can enable accessibility at the project level in FB via the  
  options panel. You can also enable it by setting   
 accessibletrue/accessible in flex-config, inside the   
 mxml-compiler block. But on the command line, -accessible (or   
 -compiler.accessible, which it's aliased to) should work.

 Do you have the MS Inspect32 and AccExplorer32 diagnostic tools? If   
 not, Google for them. You can use them to check the MSAA values in   
 the app at runtime.

 Hope this helps,
 m

 On 1/15/09 1:54 AM, Guy Morton g...@alchemy.com.au wrote:




 I had been successfully compiling my app via flexbuilder 3 using the -
 accessible compiler flag. Then it stopped working, for no apparent
 reason. I tried reinstalling fb but it made no difference. The
 compiler option is still set but now my app gets compiled with no
 accessibility features.

 Anyone got any ideas as to why this might have happened or how to fix
 it?

 Guy







This message was sent using IMP, the Internet Messaging Program.



Re: [flexcoders] Re: Accessibility stopped working

2009-01-15 Thread guy
Hi Anthony

Yes, I had the same idea. I checked the binary size from my build  
against one built by another user using the same codebase - both had  
accessibility on and his was about 20k biigger than mine. His is  
accessible, mine isn't.

So, it's my FB that's no longer including the accessibility classes.  
As mentioned in my other post, even a reinstall of FB has not fixed  
this, so I'm hoping someone here has some other suggestions for what  
might be wrong and how to fix it.

I've looked at .actionScriptProperties in a text editor and it has the  
right config in it.

Guy


Quoting Anthony DeBonis anth...@troywebconsulting.com:

 Try compiling with accessible turned off and get the swf size - when
 you turn accessible compile back on the swf size should be a bit
 larger. This will tell you if the compile is backing in the needed
 classes. If so it may be the client tool you're using to run the
 application. Can you give more information?


 --- In flexcoders@yahoogroups.com, Guy Morton g...@... wrote:

 I had been successfully compiling my app via flexbuilder 3 using the
 -
 accessible compiler flag. Then it stopped working, for no apparent
 reason. I tried reinstalling fb but it made no difference. The
 compiler option is still set but now my app gets compiled with no
 accessibility features.

 Anyone got any ideas as to why this might have happened or how to
 fix
 it?

 Guy









This message was sent using IMP, the Internet Messaging Program.



Re: [flexcoders] Playing Mp4 audio with Sound class?

2009-01-15 Thread Charlie Hubbard
No can do.  I'm in an AIR app so I'm trying not to rely on the server
for this type of operation.

Uggg.  Adobe...

Any chance you know what's the Jira Issue number?  I'd like to bump up
the vote on it.

Charlie

On Thu, Jan 15, 2009 at 3:46 PM, Ryan Graham ryan.gra...@phoenix.edu wrote:
 I believe that is the case. You can only use extract on mp3 files with the
 Sound object and not on  streams with Netstream – unfortunately this feature
 didn't make it into FP10 (hopefully FP11?). Depending on your setup, one
 option might be to use a tool like ffmpeg to convert the mp4 to an mp3
 server-side, and then load that into a Sound object to do the extraction.



 HTH,

 Ryan



 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Charlie Hubbard
 Sent: Thursday, January 15, 2009 1:14 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Playing Mp4 audio with Sound class?



 So I'm trying to play Mp4 audio files with Sound, but it doesn't seem
 to work. I have gotten it working with NetStream class, but I'd
 really like to use the extract() method to get the underlying samples
 form the mp4 files just as I can with mp3. Am I correct in that Sound
 class doesn't support mp4, but only mp3?

 What's the deal with that? Is Sound a wrapper around NetStream? If
 so how could I get the samples?

 Charlie

 This message is private and confidential. If you have received it in error,
 please notify the sender and remove it from your system.

 



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:flexcoders-dig...@yahoogroups.com 
mailto:flexcoders-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

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



Re: [flexcoders] Re: Accessibility stopped working

2009-01-15 Thread Guy Morton
To answer your other question, I also wondered if it was my client, so  
have checked the binary in Safari, Firefox and Opera and all agree  
there is no accessibility  on offer.



On 16/01/2009, at 4:21 AM, Anthony DeBonis wrote:


Try compiling with accessible turned off and get the swf size - when
you turn accessible compile back on the swf size should be a bit
larger. This will tell you if the compile is backing in the needed
classes. If so it may be the client tool you're using to run the
application. Can you give more information?

--- In flexcoders@yahoogroups.com, Guy Morton g...@... wrote:

 I had been successfully compiling my app via flexbuilder 3 using the
-
 accessible compiler flag. Then it stopped working, for no apparent
 reason. I tried reinstalling fb but it made no difference. The
 compiler option is still set but now my app gets compiled with no
 accessibility features.

 Anyone got any ideas as to why this might have happened or how to
fix
 it?

 Guy








Re: [flexcoders] Playing Mp4 audio with Sound class?

2009-01-15 Thread Nate Beck
Hey... another situation that can be solved with Merapi (
http://merapiproject.net/)
I'm not on the Merapi team... but maybe I should be :D


On Thu, Jan 15, 2009 at 1:45 PM, Charlie Hubbard
charlie.hubb...@gmail.comwrote:

 No can do.  I'm in an AIR app so I'm trying not to rely on the server
 for this type of operation.

 Uggg.  Adobe...

 Any chance you know what's the Jira Issue number?  I'd like to bump up
 the vote on it.

 Charlie

 On Thu, Jan 15, 2009 at 3:46 PM, Ryan Graham ryan.gra...@phoenix.edu
 wrote:
  I believe that is the case. You can only use extract on mp3 files with
 the
  Sound object and not on  streams with Netstream – unfortunately this
 feature
  didn't make it into FP10 (hopefully FP11?). Depending on your setup, one
  option might be to use a tool like ffmpeg to convert the mp4 to an mp3
  server-side, and then load that into a Sound object to do the extraction.
 
 
 
  HTH,
 
  Ryan
 
 
 
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
  Behalf Of Charlie Hubbard
  Sent: Thursday, January 15, 2009 1:14 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Playing Mp4 audio with Sound class?
 
 
 
  So I'm trying to play Mp4 audio files with Sound, but it doesn't seem
  to work. I have gotten it working with NetStream class, but I'd
  really like to use the extract() method to get the underlying samples
  form the mp4 files just as I can with mp3. Am I correct in that Sound
  class doesn't support mp4, but only mp3?
 
  What's the deal with that? Is Sound a wrapper around NetStream? If
  so how could I get the samples?
 
  Charlie
 
  This message is private and confidential. If you have received it in
 error,
  please notify the sender and remove it from your system.
 
 

 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






-- 

Cheers,
Nate

http://blog.natebeck.net


RE: [flexcoders] LocalConnection issue in AIR to AIR application

2009-01-15 Thread Kevin Benz
Have you looked to see how Arthropod does it? There is a unique
identifier that is shared between Air apps to allow them to interact.

 

http://arthropod.stopp.se/

 

KFB

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Pete Appleby
Sent: Thursday, January 15, 2009 1:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] LocalConnection issue in AIR to AIR application

 

Hi, all. 

I am attempting to get started with two AIR applications talking to
each other.

Unfortunately, the StatusEvent basically just says error in the
event.level after the Send request. How do I go about debugging this?

I am not getting any Security or Async errors from the send.

Where can I dig deeper into this?

Thanks!

Pete

 

image001.jpgimage002.jpg

RE: [flexcoders] Flex 3 DragManager with dynamic image proxy

2009-01-15 Thread Tracy Spratt
I found this post just the other day, and it appears to bear on your
issue:

http://www.arlingtondev.com/thoughts/?p=17

 

But I cannot figure out how it would work.  Particularly the line:

var bmp:Bitmap = new Bitmap(Bitmap(this.content).bitmapData);

More particularly, this expression: 

this.content

I guess I don't really understand what this is in this context.
Somehow it has to be the Image, since content is a property on Image
(that makes sense, it is the actual image in the Image control).  But
for this to be the image contol, the scope of the mouseMoveHandler,
must be the Image control.  That would be a renderer, hmm, maybe I am
seeig it.

 

Maybe it will make sense to you.

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of dannyocean7722
Sent: Thursday, January 15, 2009 4:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 3 DragManager with dynamic image proxy

 

Hi there,

I'm struggeling with the drag manager and external loaded dynamic
images. I do need this 
for controls with no images displayed. (i.e. dragging with an advanced
datagrid should 
display a image corresponding to the selected data row - So I do need to
load the image 
on demand).

if i use

[Bindable]
[Embed(source='myImage.png')]
public var theImage:Class;

[...]

var imageProxy:Image = new Image();
imageProxy.source = theImage;
imageProxy.width = 120;
imageProxy.width = 120;

it works perfect. (Because the image is still preloaded I assume)

But if I use:

var imageProxy:Image = new Image();
imageProxy.source = 'myImage.png' //Normally I would load here my
dynamic image
imageProxy.width = 120;
imageProxy.width = 120;

the image isn't displayed.

I've tried everything. (Wait until the image is loaded with an event
listener won't work 
either). I've tried also to drag the image to a new bitmapasset ... but
no way.

Maybe somebody help me out of the jungle? :)

Many thanks!
Dan

 



[flexcoders] Padding in status message

2009-01-15 Thread Fabio Serra
Hi,
is there a way to apply a padding-right to the status message in a
Panel container?
I have a custom Panel with an icon at the right corner and I want a
padding to the status message.
I tried using:

mx:Panel status=Test test test statusStyleName=statusResult

.statusResult {
padding-right:50;
}

but the the status text is always aligned to the right edge overlapping my icon.

In case it doesn't work how can I emulate nbsp; in Flex?
Thanks.


[flexcoders] Re: disclosureOpenIcon/disclosureClosedIcon + Tree + change position

2009-01-15 Thread Amy
--- In flexcoders@yahoogroups.com, ilikeflex ilikef...@... wrote:

 Hi  
 
 I have a Tree Control and i am using the 
 disclosureOpenIcon
 disclosureClosedIcon
 
 styles.
 
 But i want to change the location where are the disclosureOpenIcon/
 disclosureClosedIcon icons are displayed. 
 
 I want to display them after the label of the tree. Bydefault icons 
are 
 displayed before the label.
 
 Any pointers are highly appreciated.

You'll probably need to override the updateDisplayList() of the 
default itemRenderer.

HTH;

Amy



[flexcoders] Date Datatype revisited

2009-01-15 Thread Gregory Kelley
Can anyone direct me to a resource that could help me determine why the
following creates invalid date objects? The date objects have date parts
filled with NaN.
 
public static const MIN_DATE:Date = new Date(-Number.MAX_VALUE);
public static const MAX_DATE:Date = new Date(Number.MAX_VALUE);

 
Thanks in advance for any assistance you can provide,
Greg


Re: [flexcoders] Re: Interfaces not working the way I understand anyway

2009-01-15 Thread Josh McDonald
Just the interfaces, but your modules should be using interfaces defined
(and used) in the main app anyway, no?

-Josh

2009/1/16 mmormando m...@mormando.com

 --- In flexcoders@yahoogroups.com, mmormando m...@... wrote:
 
  --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
  
   Sounds like an applicationDomain topology problem.  See the  modules
  presentation on my blog.  Make sure the interface is linked into the
  main app.
 
 
  That got it!
  Thanks!!
  (maybe modules should be marked experimental or something)
 


 After seeing this, does it more or less mean that I need to statically
 link a copy of every stinking module I've got into my main module in
 order to be sure I won't run afoul of this problem every time I turn
 around?
 Not exactly sounding like an optimal solution.


 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

Like the cut of my jib? Check out my Flex blog!

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: j...@gfunk007.com
:: http://flex.joshmcdonald.info/
:: http://twitter.com/sophistifunk


Re: [flexcoders] Why this error with getDefinitionByName?

2009-01-15 Thread Josh McDonald
Also, if you do that in a SWF that doesn't actually *use* the TextInput
symbol, the class won't be compiled in. Try adding a reference to TextInput
- not just an import, you actually have to have a reference. import
mx.controls.TextInput; TextInput; should do it.

-Josh

2009/1/16 Howard Fore howard.f...@hofo.com

  Is this in a SWF that's loaded into another SWF? If so see
 http://richardleggett.co.uk/blog/index.php/2008/09/08/getdefinitionbyname_vs_getdefinition

 On Thu, Jan 15, 2009 at 10:28 AM, enriirne enrii...@yahoo.it wrote:

 trace(getDefinitionByName('mx.controls::TextInput'));

 ReferenceError: Error #1065: Variable TextInput is not defined.

 Enri



 --
 Howard Fore, howard.f...@hofo.com
 The universe tends toward maximum irony. Don't push it. - Jeff Atwood
 




-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

Like the cut of my jib? Check out my Flex blog!

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: j...@gfunk007.com
:: http://flex.joshmcdonald.info/
:: http://twitter.com/sophistifunk


[flexcoders] Re: disclosureOpenIcon/disclosureClosedIcon + Tree + change position

2009-01-15 Thread ilikeflex
Hi Amy

It helped very much. Before your pointer i was looking inside Tree 
Control instead of default itemRenderer.

Thanks a lot.

Regards
ilikeflex

--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote:

 --- In flexcoders@yahoogroups.com, ilikeflex ilikeflex@ wrote:
 
  Hi  
  
  I have a Tree Control and i am using the 
  disclosureOpenIcon
  disclosureClosedIcon
  
  styles.
  
  But i want to change the location where are the 
disclosureOpenIcon/
  disclosureClosedIcon icons are displayed. 
  
  I want to display them after the label of the tree. Bydefault 
icons 
 are 
  displayed before the label.
  
  Any pointers are highly appreciated.
 
 You'll probably need to override the updateDisplayList() of the 
 default itemRenderer.
 
 HTH;
 
 Amy





[flexcoders] Using StyleSheet with TextField inside of a custom Label Component

2009-01-15 Thread devenhariyani
I've created a custom Label field, in which I dynamically apply a 
styleSheet, and then highlight a particular word or phrase in the 
text of the Label.  I had to extend the Label class to do this, 
because the internal TextField obj is protected, and I needed access 
to that obj in order to apply the styleSheet object.

My problem is that once the style is successfully applied (which 
includes making the font bigger and changing its color) the text at 
the end or the bottom of the Label is cut off.  I suppose this is 
because the CSS is applied, and then the entire Label component is 
not resized to properly fit the larger text.

I tried to call invalidateSize(), invalidateDisplayList(), and 
invalidateProperties() but neither one of them fixed the issue.

Any ideas how to fix this?

I put the below custom Label on a Canvas and inside of a function I 
call myCustomLabel.setHtmlTextAndHighlightKeyword() when I want to 
add text to the label that needs to be specially formatted
here is the code:
==
import flash.text.StyleSheet;   
import mx.controls.Label;
/***
 * A custom Label component to allow app to apply special 
formatting to a special
 * keyword that is highlighted
 * /
public class EPLabel extends Label
{
public function EPLabel()
{
super();
}


//highlights a keyword in the text for a label  

public function setHtmlTextAndHighlightKeyword
(keyword:String, text:String, style:StyleSheet, 
styleClassName:String):void{

//set the style sheet for the internal 
TextField
this.textField.styleSheet = style;


var wordToHighlight:String = text.substr(0, 
keyword.length);
var restOfText:String = text.substr
(keyword.length + 1);

this.htmlText =  'span class=' + 
styleClassName + '' + wordToHighlight + '/span ' + restOfText;
}


}




[flexcoders] Need some Help in implementing Log out functionality

2009-01-15 Thread anuj181
Hi
I have implemented Log Out functionality in my App, All I did is that
as soon as user clicks Log Out button, the code is going to reload the
whole App which will automatically take the user to the login screen
as login is the first screen in my flex App. Now My probelm is that I
need some feedback to give to the user that he has been logged out. I
am successfully in taking user to the login page but somehow could not
figure out how will I show the feedback, The idea i came up is may be
add string to the URL if user logs out and if the URL string matches
the added string should display a label in the main login page showing
You have successfully logged out, but my following code is not
working. Is there any better way to do this or please let me know
where things are being screwed up, For the time being I just put dummy
alerts but they will be replaced with the actual Labels.

All i need is the first time user logs in should just display the
login screen but if user logs out he should be directed to the same
login screen but with added label You have succesfully logged out
Thanks
Anuj

//Logging Out of the App
mx:Image id=_imgLogOut height={ImgHt} width={ImgWidth} x=941
y=96 click=_logOut(event);
private function _logOut(event:MouseEvent):void
{   
var selfLoad:URLRequest=new
URLRequest(Application.application.url+?logout=true);
navigateToURL(selfLoad,_self);
}
private function initApp():void
{
//Checkign if the User logged out and Displaying  the message and
relaoding the App
var _DefaulturlString:String=Application.application.url;
var
_loggedOutURLString:String=_DefaulturlString+?logout=true; 

  
if(Application.application.navigateToURL(_loggedOutURLString))
{
Alert.show(Logged Out);
}
else
{
Alert.show(First Time);
}





[flexcoders] Re: DataGrid selection w/ filtered contents

2009-01-15 Thread Tim Hoff

One way is to bind a variable to the selectedIndex of the DataGrid:

[Bindable]
private var selectedIndex:int = -1;

mx:DataGrid selectedIndex={ selectedIndex }/

Then when you filter the collection:

myCollection.filterFunction = myFilterFunction;
myCollection.refresh();

selectedIndex = (myCollection.length  0 ? 0 : -1);

-TH

--- In flexcoders@yahoogroups.com, dfalling dfall...@... wrote:

 Is there a way of getting accurate selectedIndex from an datagrid
 that's bound to a filtered data provider? I'm running into the same
 problem from several different angles... I ask a datagrid what its
 selectedIndex is and it claims it's 10. I tell it to select index 0
 instead, at which point it dispatches the change event and is still
 set to 0.

 I'm simply trying to make sure that when the collection is filtered,
 the grid selects the first item in the list to allow for easy keyboard
 navigation.

 Cheers.






[flexcoders] File changes when Exporting new Release Build

2009-01-15 Thread brucewhealton
Hello all, 
I hope I can explain my question clearly.  Let's say that I create a
Flex Project, Export a Release build and then incorporate it into a
website.  Then I realize I want to make a change to the application
that I brought into my website.  I will have to export the release
build again.  What is going to have changed when I do this?  The file
that I brought into my website was modified with a few changes to the
html, adding a few styles and such.  If I copied the entire new
release build into the website folder, I'll write over all the
modifications/tweaks to the html file.  Can I just move over the new
swf file and maybe the History folder?  
What I have been doing is frustrating.  I move everything over to
the website folder, when I do a new Export as Release Build.  That
means I lost all the changes I made to the html file that holds the
Flex Application, and I have to customize that file again.
If my html file that is exported is called Project1.html then when
I export the release build again, it is going to replace the file
Project1.html, will it not?  But I don't need to replace that file on
the website folder, will I?
   
Thanks,
Bruce



Re: [flexcoders] Need some Help in implementing Log out functionality

2009-01-15 Thread Paul Andrews
When the user clicks logout, tell him that he is logged out, do any clearing 
up and after a short delay (so he can read the message), reload the 
application.

- Original Message - 
From: anuj181 anuj...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Thursday, January 15, 2009 11:46 PM
Subject: [flexcoders] Need some Help in implementing Log out functionality


 Hi
 I have implemented Log Out functionality in my App, All I did is that
 as soon as user clicks Log Out button, the code is going to reload the
 whole App which will automatically take the user to the login screen
 as login is the first screen in my flex App. Now My probelm is that I
 need some feedback to give to the user that he has been logged out. I
 am successfully in taking user to the login page but somehow could not
 figure out how will I show the feedback, The idea i came up is may be
 add string to the URL if user logs out and if the URL string matches
 the added string should display a label in the main login page showing
 You have successfully logged out, but my following code is not
 working. Is there any better way to do this or please let me know
 where things are being screwed up, For the time being I just put dummy
 alerts but they will be replaced with the actual Labels.

 All i need is the first time user logs in should just display the
 login screen but if user logs out he should be directed to the same
 login screen but with added label You have succesfully logged out
 Thanks
 Anuj

 //Logging Out of the App
 mx:Image id=_imgLogOut height={ImgHt} width={ImgWidth} x=941
 y=96 click=_logOut(event);
 private function _logOut(event:MouseEvent):void
 {
 var selfLoad:URLRequest=new
 URLRequest(Application.application.url+?logout=true);
 navigateToURL(selfLoad,_self);
 }
 private function initApp():void
 {
 //Checkign if the User logged out and Displaying  the message and
 relaoding the App
var _DefaulturlString:String=Application.application.url;
  var
 _loggedOutURLString:String=_DefaulturlString+?logout=true;


 if(Application.application.navigateToURL(_loggedOutURLString))
{
Alert.show(Logged Out);
}
else
{
Alert.show(First Time);
}




 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
 Links






[flexcoders] Overriding margins using FlexPrintJob

2009-01-15 Thread Jeff Hindman
Flex  AIR gurus,

  Is it possible to force printing to be borderless without setting it
in the printer dialog box? I'm printing from an AIR application ... or
at least trying to. I'm trying to duplicate the wallet-sized option of
the Windows Photo Printing Wizard.

Thanks,

  -- Jeff



Re: [flexcoders] Need some Help in implementing Log out functionality

2009-01-15 Thread anuj sharma
Hi Paul
If thats the best we can do then I have already created the delay, i was
thinking may be there is better way for achieving this.
Thanks for your help
Anuj

On Thu, Jan 15, 2009 at 4:22 PM, Paul Andrews p...@ipauland.com wrote:

   When the user clicks logout, tell him that he is logged out, do any
 clearing
 up and after a short delay (so he can read the message), reload the
 application.


 - Original Message -
 From: anuj181 anuj...@gmail.com anuj181%40gmail.com
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Sent: Thursday, January 15, 2009 11:46 PM
 Subject: [flexcoders] Need some Help in implementing Log out functionality

  Hi
  I have implemented Log Out functionality in my App, All I did is that
  as soon as user clicks Log Out button, the code is going to reload the
  whole App which will automatically take the user to the login screen
  as login is the first screen in my flex App. Now My probelm is that I
  need some feedback to give to the user that he has been logged out. I
  am successfully in taking user to the login page but somehow could not
  figure out how will I show the feedback, The idea i came up is may be
  add string to the URL if user logs out and if the URL string matches
  the added string should display a label in the main login page showing
  You have successfully logged out, but my following code is not
  working. Is there any better way to do this or please let me know
  where things are being screwed up, For the time being I just put dummy
  alerts but they will be replaced with the actual Labels.
 
  All i need is the first time user logs in should just display the
  login screen but if user logs out he should be directed to the same
  login screen but with added label You have succesfully logged out
  Thanks
  Anuj
 
  //Logging Out of the App
  mx:Image id=_imgLogOut height={ImgHt} width={ImgWidth} x=941
  y=96 click=_logOut(event);
  private function _logOut(event:MouseEvent):void
  {
  var selfLoad:URLRequest=new
  URLRequest(Application.application.url+?logout=true);
  navigateToURL(selfLoad,_self);
  }
  private function initApp():void
  {
  //Checkign if the User logged out and Displaying the message and
  relaoding the App
  var _DefaulturlString:String=Application.application.url;
  var
  _loggedOutURLString:String=_DefaulturlString+?logout=true;
 
 
  if(Application.application.navigateToURL(_loggedOutURLString))
  {
  Alert.show(Logged Out);
  }
  else
  {
  Alert.show(First Time);
  }
 
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location:
 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
  Links
 
 
 

  



Re: [flexcoders] Need some Help in implementing Log out functionality

2009-01-15 Thread Paul Andrews
- Original Message - 
  From: anuj sharma 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, January 16, 2009 1:30 AM
  Subject: Re: [flexcoders] Need some Help in implementing Log out functionality


  Hi Paul
  If thats the best we can do then I have already created the delay, i was 
thinking may be there is better way for achieving this.
In which way would you want it to be better?

  Thanks for your help
  Anuj


  On Thu, Jan 15, 2009 at 4:22 PM, Paul Andrews p...@ipauland.com wrote:

When the user clicks logout, tell him that he is logged out, do any 
clearing 
up and after a short delay (so he can read the message), reload the 
application.



- Original Message - 
From: anuj181 anuj...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Thursday, January 15, 2009 11:46 PM
Subject: [flexcoders] Need some Help in implementing Log out functionality

 Hi
 I have implemented Log Out functionality in my App, All I did is that
 as soon as user clicks Log Out button, the code is going to reload the
 whole App which will automatically take the user to the login screen
 as login is the first screen in my flex App. Now My probelm is that I
 need some feedback to give to the user that he has been logged out. I
 am successfully in taking user to the login page but somehow could not
 figure out how will I show the feedback, The idea i came up is may be
 add string to the URL if user logs out and if the URL string matches
 the added string should display a label in the main login page showing
 You have successfully logged out, but my following code is not
 working. Is there any better way to do this or please let me know
 where things are being screwed up, For the time being I just put dummy
 alerts but they will be replaced with the actual Labels.

 All i need is the first time user logs in should just display the
 login screen but if user logs out he should be directed to the same
 login screen but with added label You have succesfully logged out
 Thanks
 Anuj

 //Logging Out of the App
 mx:Image id=_imgLogOut height={ImgHt} width={ImgWidth} x=941
 y=96 click=_logOut(event);
 private function _logOut(event:MouseEvent):void
 {
 var selfLoad:URLRequest=new
 URLRequest(Application.application.url+?logout=true);
 navigateToURL(selfLoad,_self);
 }
 private function initApp():void
 {
 //Checkign if the User logged out and Displaying the message and
 relaoding the App
 var _DefaulturlString:String=Application.application.url;
 var
 _loggedOutURLString:String=_DefaulturlString+?logout=true;


 if(Application.application.navigateToURL(_loggedOutURLString))
 {
 Alert.show(Logged Out);
 }
 else
 {
 Alert.show(First Time);
 }





 


 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 

 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
 Links






   

Re: [flexcoders] Need some Help in implementing Log out functionality

2009-01-15 Thread anuj sharma
Okay I Like it to reload the app but the main login screen of the app should
have the label which is going to say that you have been logged out, that as
what I was trying to achieve but Now
what i did is the moment user clicks log out , I start the timer and pop up
message logging out and after delay of 3 second user will be directed to the
main login page, Ideally I like if user hits logout , after delay he will be
taken to login page (which means reloading the whole App) but the login page
should be able to provide the info that user is successfully logged out,
I hope I made sense but if not please let me know
Thanks
Anuj

On Thu, Jan 15, 2009 at 5:29 PM, Paul Andrews p...@ipauland.com wrote:

- Original Message -

 *From:* anuj sharma anuj...@gmail.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Friday, January 16, 2009 1:30 AM
 *Subject:* Re: [flexcoders] Need some Help in implementing Log out
 functionality

 Hi Paul
 If thats the best we can do then I have already created the delay, i was
 thinking may be there is better way for achieving this.

 In which way would you want it to be better?


 Thanks for your help
 Anuj

 On Thu, Jan 15, 2009 at 4:22 PM, Paul Andrews p...@ipauland.com wrote:

   When the user clicks logout, tell him that he is logged out, do any
 clearing
 up and after a short delay (so he can read the message), reload the
 application.


 - Original Message -
 From: anuj181 anuj...@gmail.com anuj181%40gmail.com
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Sent: Thursday, January 15, 2009 11:46 PM
 Subject: [flexcoders] Need some Help in implementing Log out functionality

  Hi
  I have implemented Log Out functionality in my App, All I did is that
  as soon as user clicks Log Out button, the code is going to reload the
  whole App which will automatically take the user to the login screen
  as login is the first screen in my flex App. Now My probelm is that I
  need some feedback to give to the user that he has been logged out. I
  am successfully in taking user to the login page but somehow could not
  figure out how will I show the feedback, The idea i came up is may be
  add string to the URL if user logs out and if the URL string matches
  the added string should display a label in the main login page showing
  You have successfully logged out, but my following code is not
  working. Is there any better way to do this or please let me know
  where things are being screwed up, For the time being I just put dummy
  alerts but they will be replaced with the actual Labels.
 
  All i need is the first time user logs in should just display the
  login screen but if user logs out he should be directed to the same
  login screen but with added label You have succesfully logged out
  Thanks
  Anuj
 
  //Logging Out of the App
  mx:Image id=_imgLogOut height={ImgHt} width={ImgWidth} x=941
  y=96 click=_logOut(event);
  private function _logOut(event:MouseEvent):void
  {
  var selfLoad:URLRequest=new
  URLRequest(Application.application.url+?logout=true);
  navigateToURL(selfLoad,_self);
  }
  private function initApp():void
  {
  //Checkign if the User logged out and Displaying the message and
  relaoding the App
  var _DefaulturlString:String=Application.application.url;
  var
  _loggedOutURLString:String=_DefaulturlString+?logout=true;
 
 
  if(Application.application.navigateToURL(_loggedOutURLString))
  {
  Alert.show(Logged Out);
  }
  else
  {
  Alert.show(First Time);
  }
 
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location:
 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
  Links
 
 
 


   



Re: [flexcoders] Re: Accessibility stopped working

2009-01-15 Thread Guy Morton
And as mysteriously as it stopped working, it started working  
again *shrug*


Guy

On 16/01/2009, at 8:45 AM, Guy Morton wrote:

To answer your other question, I also wondered if it was my client,  
so have checked the binary in Safari, Firefox and Opera and all  
agree there is no accessibility  on offer.




On 16/01/2009, at 4:21 AM, Anthony DeBonis wrote:


Try compiling with accessible turned off and get the swf size - when
you turn accessible compile back on the swf size should be a bit
larger. This will tell you if the compile is backing in the needed
classes. If so it may be the client tool you're using to run the
application. Can you give more information?

--- In flexcoders@yahoogroups.com, Guy Morton g...@... wrote:

 I had been successfully compiling my app via flexbuilder 3 using  
the

-
 accessible compiler flag. Then it stopped working, for no apparent
 reason. I tried reinstalling fb but it made no difference. The
 compiler option is still set but now my app gets compiled with no
 accessibility features.

 Anyone got any ideas as to why this might have happened or how to
fix
 it?

 Guy











Re: [flexcoders] Need some Help in implementing Log out functionality

2009-01-15 Thread Paul Andrews
I think that displaying a login page is a pretty good clue that the user is 
logged out.
  - Original Message - 
  From: anuj sharma 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, January 16, 2009 1:37 AM
  Subject: Re: [flexcoders] Need some Help in implementing Log out functionality


  Okay I Like it to reload the app but the main login screen of the app should 
have the label which is going to say that you have been logged out, that as 
what I was trying to achieve but Now 
  what i did is the moment user clicks log out , I start the timer and pop up 
message logging out and after delay of 3 second user will be directed to the 
main login page, Ideally I like if user hits logout , after delay he will be 
taken to login page (which means reloading the whole App) but the login page 
should be able to provide the info that user is successfully logged out,
  I hope I made sense but if not please let me know
  Thanks
  Anuj


  On Thu, Jan 15, 2009 at 5:29 PM, Paul Andrews p...@ipauland.com wrote:


- Original Message - 
  From: anuj sharma 
  To: flexcoders@yahoogroups.com 
  Sent: Friday, January 16, 2009 1:30 AM
  Subject: Re: [flexcoders] Need some Help in implementing Log out 
functionality


  Hi Paul
  If thats the best we can do then I have already created the delay, i was 
thinking may be there is better way for achieving this.
In which way would you want it to be better?

  Thanks for your help
  Anuj


  On Thu, Jan 15, 2009 at 4:22 PM, Paul Andrews p...@ipauland.com wrote:

When the user clicks logout, tell him that he is logged out, do any 
clearing 
up and after a short delay (so he can read the message), reload the 
application.



- Original Message - 
From: anuj181 anuj...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Thursday, January 15, 2009 11:46 PM
Subject: [flexcoders] Need some Help in implementing Log out 
functionality

 Hi
 I have implemented Log Out functionality in my App, All I did is that
 as soon as user clicks Log Out button, the code is going to reload the
 whole App which will automatically take the user to the login screen
 as login is the first screen in my flex App. Now My probelm is that I
 need some feedback to give to the user that he has been logged out. I
 am successfully in taking user to the login page but somehow could not
 figure out how will I show the feedback, The idea i came up is may be
 add string to the URL if user logs out and if the URL string matches
 the added string should display a label in the main login page showing
 You have successfully logged out, but my following code is not
 working. Is there any better way to do this or please let me know
 where things are being screwed up, For the time being I just put dummy
 alerts but they will be replaced with the actual Labels.

 All i need is the first time user logs in should just display the
 login screen but if user logs out he should be directed to the same
 login screen but with added label You have succesfully logged out
 Thanks
 Anuj

 //Logging Out of the App
 mx:Image id=_imgLogOut height={ImgHt} width={ImgWidth} x=941
 y=96 click=_logOut(event);
 private function _logOut(event:MouseEvent):void
 {
 var selfLoad:URLRequest=new
 URLRequest(Application.application.url+?logout=true);
 navigateToURL(selfLoad,_self);
 }
 private function initApp():void
 {
 //Checkign if the User logged out and Displaying the message and
 relaoding the App
 var _DefaulturlString:String=Application.application.url;
 var
 _loggedOutURLString:String=_DefaulturlString+?logout=true;


 if(Application.application.navigateToURL(_loggedOutURLString))
 {
 Alert.show(Logged Out);
 }
 else
 {
 Alert.show(First Time);
 }





  


 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 

 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
 Links








   

Re: [flexcoders] Need some Help in implementing Log out functionality

2009-01-15 Thread anuj sharma
I 120% agree with you Paul , but our User Interaction folks want more and
more feedback for user which is little pain to implement with my deadline,
So I guess I will end up challenging that feedback thing, but thanks for ur
help
Anuj

On Thu, Jan 15, 2009 at 6:04 PM, Paul Andrews p...@ipauland.com wrote:

I think that displaying a login page is a pretty good clue that the
 user is logged out.

 - Original Message -
 *From:* anuj sharma anuj...@gmail.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Friday, January 16, 2009 1:37 AM
 *Subject:* Re: [flexcoders] Need some Help in implementing Log out
 functionality

 Okay I Like it to reload the app but the main login screen of the app
 should have the label which is going to say that you have been logged out,
 that as what I was trying to achieve but Now
 what i did is the moment user clicks log out , I start the timer and pop up
 message logging out and after delay of 3 second user will be directed to the
 main login page, Ideally I like if user hits logout , after delay he will be
 taken to login page (which means reloading the whole App) but the login page
 should be able to provide the info that user is successfully logged out,
 I hope I made sense but if not please let me know
 Thanks
 Anuj

 On Thu, Jan 15, 2009 at 5:29 PM, Paul Andrews p...@ipauland.com wrote:

- Original Message -

  *From:* anuj sharma anuj...@gmail.com
 *To:* flexcoders@yahoogroups.com
  *Sent:* Friday, January 16, 2009 1:30 AM
 *Subject:* Re: [flexcoders] Need some Help in implementing Log out
 functionality

 Hi Paul
 If thats the best we can do then I have already created the delay, i was
 thinking may be there is better way for achieving this.

 In which way would you want it to be better?


 Thanks for your help
 Anuj

 On Thu, Jan 15, 2009 at 4:22 PM, Paul Andrews p...@ipauland.com wrote:

   When the user clicks logout, tell him that he is logged out, do any
 clearing
 up and after a short delay (so he can read the message), reload the
 application.


 - Original Message -
 From: anuj181 anuj...@gmail.com anuj181%40gmail.com
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Sent: Thursday, January 15, 2009 11:46 PM
 Subject: [flexcoders] Need some Help in implementing Log out
 functionality

  Hi
  I have implemented Log Out functionality in my App, All I did is that
  as soon as user clicks Log Out button, the code is going to reload the
  whole App which will automatically take the user to the login screen
  as login is the first screen in my flex App. Now My probelm is that I
  need some feedback to give to the user that he has been logged out. I
  am successfully in taking user to the login page but somehow could not
  figure out how will I show the feedback, The idea i came up is may be
  add string to the URL if user logs out and if the URL string matches
  the added string should display a label in the main login page showing
  You have successfully logged out, but my following code is not
  working. Is there any better way to do this or please let me know
  where things are being screwed up, For the time being I just put dummy
  alerts but they will be replaced with the actual Labels.
 
  All i need is the first time user logs in should just display the
  login screen but if user logs out he should be directed to the same
  login screen but with added label You have succesfully logged out
  Thanks
  Anuj
 
  //Logging Out of the App
  mx:Image id=_imgLogOut height={ImgHt} width={ImgWidth} x=941
  y=96 click=_logOut(event);
  private function _logOut(event:MouseEvent):void
  {
  var selfLoad:URLRequest=new
  URLRequest(Application.application.url+?logout=true);
  navigateToURL(selfLoad,_self);
  }
  private function initApp():void
  {
  //Checkign if the User logged out and Displaying the message and
  relaoding the App
  var _DefaulturlString:String=Application.application.url;
  var
  _loggedOutURLString:String=_DefaulturlString+?logout=true;
 
 
  if(Application.application.navigateToURL(_loggedOutURLString))
  {
  Alert.show(Logged Out);
  }
  else
  {
  Alert.show(First Time);
  }
 
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location:
 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
  Links
 
 
 



  



Re: [flexcoders] AIR: Detecting when window resize is complete (mouse up)

2009-01-15 Thread Lushen Wu
I use mouseup in my application.. it seems to work for me. you coudl 
also play around with MOUSE_LEAVE and ROLL_OVER for the stage
(activate the rollover listener for resize whenever you get a RESIZE 
event, then remove the listener when you have satisfactorily resized)


Cheers,
Lushen


On 1/15/2009 3:56 PM, Aaron Hardy wrote:


Hey folks,

In my project I have a component that is a percentage width of its
containing window. When the user resizes the window, it triggers the
component to update its display list WHILE the user is dragging the
window resize handle. Rather than updating the component's display
while the user is dragging, I'd like to wait until the user lets go of
the drag to update the component's display. Is there an event I can
capture that will tell me when the user releases the mouse button after
a window resize? NativeWindow.resize seems to be dispatched while the
user is resizing. While that's not what I'm looking for, I tried
watching that event and then adding a mouse up event listener to both
the stage and native window to detect when the user then lets go of the
mouse button, but a mouse up event never seems to be dispatched when the
user releases the mouse button after resizing.

Does anyone know of a good way to detect this or know of a creative
workaround? Thanks!

Aaron

 




[flexcoders] Security sandbox violation on Bitmapdata.draw( rtmpVid ) despite crosspolicy.xml

2009-01-15 Thread jwebbsuccess
Take a look at this video player; notice there is an image on screen 
before the video begins playback:

http://www.huffingtonpost.com/2009/01/14/obama-on-inauguration-
you_n_157881.html

I'm trying to create similar 'preview frame' functionality in my own 
custom-built Flex/AS3-based RTMP video player...  I need my the player 
to seek ahead to a given point in video, grab a snapshot for display 
as a preview frame, then seek back to the beginning before the user 
initiates playback... Or something like that.

I've already got demo code (AS2) for taking a snapshot of a video 
after it has started playing.  The problem is when I try to write code 
to do the same thing in my AS3 player, I get sandbox violation error 
as if I were running the demo SWF and my video player SWF on different 
servers.  Both SWFs are in document folders on my computer... The  
RTMP host and I have confirmed that the permissions for using 
'BitmapData.draw( obj )' on a video stream are in place (the demo 
works) so I've got no idea why I'm getting the sandbox violation 
error.

Can anyone help me to get a snapshot of a video stream and then return 
the stream to the beginning before the user initiates playback?  I've 
included the FLA for the demo in Flash CS4 and CS3 format:

http://www.futurewebstudios.com/bitMapViewer2.zip

The demo code is attached separately:

---

import flash.display.BitmapData;

var nc:NetConnection = new NetConnection();
var ns:NetStream;
var myBitmapData:BitmapData = new BitmapData( 160, 120, false, 
0x00CC );
var mc_1:MovieClip = this.createEmptyMovieClip( mc, 
this.getNextHighestDepth() );

btnCap.addEventListener( click, captureVid );
nc.connect( rtmp://okojcizj1r.rtmphost.com/vod );
//nc.connect( rtmp://localhost/vod );

nc.onStatus = function( p_o )
{
var code = p_o.code;
trace( code );
if ( code == NetConnection.Connect.Success )
{
playLive();
}
};

function playLive()
{
trace( playLive );
mc_1._x = 195;
mc_1._y = 15;

ns = new NetStream( nc );
myVideo.attachVideo( ns );
myVideo.attachAudio( ns );
ns.play( kaye_400 );
ns.onStatus = function( p_o )
{
trace( p_o.code );
};
mc_1.attachBitmap( myBitmapData,this.getNextHighestDepth() );
}

function captureVid()
{
trace( captureVid );
myBitmapData.draw( myVideo );
}

---

I've also attached a piece of the code in my video player app so you 
can see what I'm trying to do; if you need to see more of the code, 
let me know and I'll send it to you:

---

public function getScreenCaptureData( seekTime:Number, 
vidWidth:Number, vidHeight:Number ):Bitmap
{
var startAt:Number = _netStream.time;

trace( this +  getScreenCaptureData -- startAt:  + startAt 
+ , seekTime:  + seekTime + , vidWidth:  + vidWidth + , 
vidHeight:  + vidHeight );

_netStream.seek( seekTime );
var tempVid:Video = new Video( vidWidth, vidHeight );
tempVid.attachNetStream( _netStream );
var bd:BitmapData = new BitmapData( vidWidth, vidHeight );
bd.draw( tempVid );
_netStream.seek( startAt );

//to be continued...

return new Bitmap();
}

---

Thanks in advance for your help.



[flexcoders] Security sandbox violation on Bitmapdata.draw( rtmpVid ) despite crosspolicy.xml

2009-01-15 Thread jwebbsuccess
Take a look at this video player; notice there is an image on screen 
before the video begins playback:

http://www.huffingtonpost.com/2009/01/14/obama-on-inauguration-
you_n_157881.html

I'm trying to create similar 'preview frame' functionality in my own 
custom-built Flex/AS3-based RTMP video player...  I need my the player 
to seek ahead to a given point in video, grab a snapshot for display 
as a preview frame, then seek back to the beginning before the user 
initiates playback... Or something like that.

I've already got demo code (AS2) for taking a snapshot of a video 
after it has started playing.  The problem is when I try to write code 
to do the same thing in my AS3 player, I get sandbox violation error 
as if I were running the demo SWF and my video player SWF on different 
servers.  Both SWFs are in document folders on my computer... The  
RTMP host and I have confirmed that the permissions for using 
'BitmapData.draw( obj )' on a video stream are in place (the demo 
works) so I've got no idea why I'm getting the sandbox violation 
error.

Can anyone help me to get a snapshot of a video stream and then return 
the stream to the beginning before the user initiates playback?  I've 
included the FLA for the demo in Flash CS4 and CS3 format:

http://www.futurewebstudios.com/bitMapViewer2.zip

The demo code is attached separately:

---

import flash.display.BitmapData;

var nc:NetConnection = new NetConnection();
var ns:NetStream;
var myBitmapData:BitmapData = new BitmapData( 160, 120, false, 
0x00CC );
var mc_1:MovieClip = this.createEmptyMovieClip( mc, 
this.getNextHighestDepth() );

btnCap.addEventListener( click, captureVid );
nc.connect( rtmp://okojcizj1r.rtmphost.com/vod );
//nc.connect( rtmp://localhost/vod );

nc.onStatus = function( p_o )
{
var code = p_o.code;
trace( code );
if ( code == NetConnection.Connect.Success )
{
playLive();
}
};

function playLive()
{
trace( playLive );
mc_1._x = 195;
mc_1._y = 15;

ns = new NetStream( nc );
myVideo.attachVideo( ns );
myVideo.attachAudio( ns );
ns.play( kaye_400 );
ns.onStatus = function( p_o )
{
trace( p_o.code );
};
mc_1.attachBitmap( myBitmapData,this.getNextHighestDepth() );
}

function captureVid()
{
trace( captureVid );
myBitmapData.draw( myVideo );
}

---

I've also attached a piece of the code in my video player app so you 
can see what I'm trying to do; if you need to see more of the code, 
let me know and I'll send it to you:

---

public function getScreenCaptureData( seekTime:Number, 
vidWidth:Number, vidHeight:Number ):Bitmap
{
var startAt:Number = _netStream.time;

trace( this +  getScreenCaptureData -- startAt:  + startAt 
+ , seekTime:  + seekTime + , vidWidth:  + vidWidth + , 
vidHeight:  + vidHeight );

_netStream.seek( seekTime );
var tempVid:Video = new Video( vidWidth, vidHeight );
tempVid.attachNetStream( _netStream );
var bd:BitmapData = new BitmapData( vidWidth, vidHeight );
bd.draw( tempVid );
_netStream.seek( startAt );

//to be continued...

return new Bitmap();
}

---

Thanks in advance for your help.



[flexcoders] Security sandbox violation on Bitmapdata.draw( rtmpVid ) despite crosspolicy.xml

2009-01-15 Thread jwebbsuccess
Take a look at this video player; notice there is an image on screen 
before the video begins playback:

http://www.huffingtonpost.com/2009/01/14/obama-on-inauguration-
you_n_157881.html

I'm trying to create similar 'preview frame' functionality in my own 
custom-built Flex/AS3-based RTMP video player...  I need my the player 
to seek ahead to a given point in video, grab a snapshot for display 
as a preview frame, then seek back to the beginning before the user 
initiates playback... Or something like that.

I've already got demo code (AS2) for taking a snapshot of a video 
after it has started playing.  The problem is when I try to write code 
to do the same thing in my AS3 player, I get sandbox violation error 
as if I were running the demo SWF and my video player SWF on different 
servers.  Both SWFs are in document folders on my computer... The  
RTMP host and I have confirmed that the permissions for using 
'BitmapData.draw( obj )' on a video stream are in place (the demo 
works) so I've got no idea why I'm getting the sandbox violation 
error.

Can anyone help me to get a snapshot of a video stream and then return 
the stream to the beginning before the user initiates playback?  I've 
included the FLA for the demo in Flash CS4 and CS3 format:

http://www.futurewebstudios.com/bitMapViewer2.zip

The demo code is attached separately:

---

import flash.display.BitmapData;

var nc:NetConnection = new NetConnection();
var ns:NetStream;
var myBitmapData:BitmapData = new BitmapData( 160, 120, false, 
0x00CC );
var mc_1:MovieClip = this.createEmptyMovieClip( mc, 
this.getNextHighestDepth() );

btnCap.addEventListener( click, captureVid );
nc.connect( rtmp://okojcizj1r.rtmphost.com/vod );
//nc.connect( rtmp://localhost/vod );

nc.onStatus = function( p_o )
{
var code = p_o.code;
trace( code );
if ( code == NetConnection.Connect.Success )
{
playLive();
}
};

function playLive()
{
trace( playLive );
mc_1._x = 195;
mc_1._y = 15;

ns = new NetStream( nc );
myVideo.attachVideo( ns );
myVideo.attachAudio( ns );
ns.play( kaye_400 );
ns.onStatus = function( p_o )
{
trace( p_o.code );
};
mc_1.attachBitmap( myBitmapData,this.getNextHighestDepth() );
}

function captureVid()
{
trace( captureVid );
myBitmapData.draw( myVideo );
}

---

I've also attached a piece of the code in my video player app so you 
can see what I'm trying to do; if you need to see more of the code, 
let me know and I'll send it to you:

---

public function getScreenCaptureData( seekTime:Number, 
vidWidth:Number, vidHeight:Number ):Bitmap
{
var startAt:Number = _netStream.time;

trace( this +  getScreenCaptureData -- startAt:  + startAt 
+ , seekTime:  + seekTime + , vidWidth:  + vidWidth + , 
vidHeight:  + vidHeight );

_netStream.seek( seekTime );
var tempVid:Video = new Video( vidWidth, vidHeight );
tempVid.attachNetStream( _netStream );
var bd:BitmapData = new BitmapData( vidWidth, vidHeight );
bd.draw( tempVid );
_netStream.seek( startAt );

//to be continued...

return new Bitmap();
}

---

Thanks in advance for your help.



[flexcoders] Data Binding to Paged Data (w/ LCDS 2.5.1)

2009-01-15 Thread foobone9

Does anyone have any experience applying watch bindings to items that
are paged and throw IPEs?

I have a managed object that has relationships to other managed
objects. I want to perform operations on the related items when they
are pulled client side (from DGs or other view controls) and any time
they change (from this client or another); so in the constructor I have:

ChangeWatcher.watch(this, [auxUserData, techMinInc],
onTechMinIncChange);

Where *this is a managed object and techMinInc is a property on the
related auxUserData managed object.

This throws an IPE from ConcreteDataService and it's not catchable here.

Must I first finger auxUserData, catch and handle the IPE before
applying the watch? Or does anyone have a best practice approach to
this type of problem.



RE: [flexcoders] Using StyleSheet with TextField inside of a custom Label Component

2009-01-15 Thread Alex Harui
I'd start by overriding measure() and setting measuredWidth/Height 
appropriately based on the TextFIeld's textWidth/Height and some padding

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of devenhariyani
Sent: Thursday, January 15, 2009 3:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Using StyleSheet with TextField inside of a custom Label 
Component


I've created a custom Label field, in which I dynamically apply a
styleSheet, and then highlight a particular word or phrase in the
text of the Label. I had to extend the Label class to do this,
because the internal TextField obj is protected, and I needed access
to that obj in order to apply the styleSheet object.

My problem is that once the style is successfully applied (which
includes making the font bigger and changing its color) the text at
the end or the bottom of the Label is cut off. I suppose this is
because the CSS is applied, and then the entire Label component is
not resized to properly fit the larger text.

I tried to call invalidateSize(), invalidateDisplayList(), and
invalidateProperties() but neither one of them fixed the issue.

Any ideas how to fix this?

I put the below custom Label on a Canvas and inside of a function I
call myCustomLabel.setHtmlTextAndHighlightKeyword() when I want to
add text to the label that needs to be specially formatted
here is the code:
==
import flash.text.StyleSheet;
import mx.controls.Label;
/***
* A custom Label component to allow app to apply special
formatting to a special
* keyword that is highlighted
* /
public class EPLabel extends Label
{
public function EPLabel()
{
super();
}


//highlights a keyword in the text for a label

public function setHtmlTextAndHighlightKeyword
(keyword:String, text:String, style:StyleSheet,
styleClassName:String):void{

//set the style sheet for the internal
TextField
this.textField.styleSheet = style;


var wordToHighlight:String = text.substr(0,
keyword.length);
var restOfText:String = text.substr
(keyword.length + 1);

this.htmlText = 'span class=' +
styleClassName + '' + wordToHighlight + '/span ' + restOfText;
}


}




[flexcoders] Illegal override of WindowedSystemManager in mx.managers.WindowedSystemManager

2009-01-15 Thread Jesse Warden
I keep getting this error for Flex 3.1 in AIR in the Flex Builder IDE 3.0.2.
 If I switch the SDK to 3.2, the app doesn't event launch.  I've even tried
targeting flash player 10 via -target-player=10.0.0, but no dice.
Any clue?  Here's some more debug info that appears in the Output panel that
isn't mine:


method not implemented
mx.managers::ISystemManager/mx.managers:ISystemManager::dispatchEventFromSWFBridges()

   over-binding 0 in mx.managers::WindowedSystemManager


method not implemented
mx.managers::ISystemManager/mx.managers:ISystemManager::getSandboxRoot()

   over-binding 0 in mx.managers::WindowedSystemManager


accessor not implemented mx.managers:ISystemManager::swfBridgeGroup

   over-binding 0 in mx.managers::WindowedSystemManager


method not implemented
mx.managers::ISystemManager/mx.managers:ISystemManager::addChildToSandboxRoot()

   over-binding 0 in mx.managers::WindowedSystemManager


method not implemented
mx.managers::ISystemManager/mx.managers:ISystemManager::addChildBridge()

   over-binding 0 in mx.managers::WindowedSystemManager


method not implemented
mx.managers::ISystemManager/mx.managers:ISystemManager::getTopLevelRoot()

   over-binding 0 in mx.managers::WindowedSystemManager


method not implemented
mx.managers::ISystemManager/mx.managers:ISystemManager::removeChildBridge()

   over-binding 0 in mx.managers::WindowedSystemManager


method not implemented
mx.managers::ISystemManager/mx.managers:ISystemManager::isTopLevelRoot()

   over-binding 0 in mx.managers::WindowedSystemManager


method not implemented
mx.managers::ISystemManager/mx.managers:ISystemManager::isDisplayObjectInABridgedApplication()

   over-binding 0 in mx.managers::WindowedSystemManager


method not implemented
mx.managers::ISystemManager/mx.managers:ISystemManager::useSWFBridge()

   over-binding 0 in mx.managers::WindowedSystemManager


method not implemented
mx.managers::ISystemManager/mx.managers:ISystemManager::getVisibleApplicationRect()

   over-binding 0 in mx.managers::WindowedSystemManager


method not implemented
mx.managers::ISystemManager/mx.managers:ISystemManager::removeChildFromSandboxRoot()

   over-binding 0 in mx.managers::WindowedSystemManager


method not implemented
mx.managers::ISystemManager/mx.managers:ISystemManager::deployMouseShields()

   over-binding 0 in mx.managers::WindowedSystemManager

VerifyError: Error #1053: Illegal override of WindowedSystemManager in
mx.managers.WindowedSystemManager.


 at mx.core::Window/commitProperties()

at
mx.core::Window/open()[E:\dev\3.1.0\frameworks\projects\airframework\src\mx\core\Window.as:2548]

at
com.jxl.powerz.managers::PowerBarWindowsManager/createPowerBar()[/Users/jesse/Documents/_Projects/DnDWorkspace/Powerz/src/com/jxl/powerz/managers/PowerBarWindowsManager.as:52]

at
com.jxl.powerz.managers::PowerBarWindowsManager/loadPowerBarsFromVOs()[/Users/jesse/Documents/_Projects/DnDWorkspace/Powerz/src/com/jxl/powerz/managers/PowerBarWindowsManager.as:42]

at
com.jxl.powerz.views::Main/init()[/Users/jesse/Documents/_Projects/DnDWorkspace/Powerz/src/com/jxl/powerz/views/Main.mxml:16]

at
com.jxl.powerz.views::Main/___Main_Canvas1_creationComplete()[/Users/jesse/Documents/_Projects/DnDWorkspace/Powerz/src/com/jxl/powerz/views/Main.mxml:5]

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at
mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]

at mx.core::UIComponent/set
initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169]

at
mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]

at Function/http://adobe.com/AS3/2006/builtin::apply()

at
mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628]

at
mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]


[flexcoders] Re: Illegal override of WindowedSystemManager in mx.managers.WindowedSystemManager

2009-01-15 Thread Jesse Warden
I removed an SWC from my libs dir, a debug window component that has nothing
to do with AIR and air related classes... and it fixed my problem.  wtf?

On Fri, Jan 16, 2009 at 1:20 AM, Jesse Warden jesse.war...@gmail.comwrote:

 I keep getting this error for Flex 3.1 in AIR in the Flex Builder IDE
 3.0.2.  If I switch the SDK to 3.2, the app doesn't event launch.  I've even
 tried targeting flash player 10 via -target-player=10.0.0, but no dice.
 Any clue?  Here's some more debug info that appears in the Output panel
 that isn't mine:


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::dispatchEventFromSWFBridges()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::getSandboxRoot()

over-binding 0 in mx.managers::WindowedSystemManager


 accessor not implemented mx.managers:ISystemManager::swfBridgeGroup

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::addChildToSandboxRoot()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::addChildBridge()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::getTopLevelRoot()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::removeChildBridge()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::isTopLevelRoot()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::isDisplayObjectInABridgedApplication()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::useSWFBridge()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::getVisibleApplicationRect()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::removeChildFromSandboxRoot()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::deployMouseShields()

over-binding 0 in mx.managers::WindowedSystemManager

 VerifyError: Error #1053: Illegal override of WindowedSystemManager in
 mx.managers.WindowedSystemManager.


  at mx.core::Window/commitProperties()

 at
 mx.core::Window/open()[E:\dev\3.1.0\frameworks\projects\airframework\src\mx\core\Window.as:2548]

 at
 com.jxl.powerz.managers::PowerBarWindowsManager/createPowerBar()[/Users/jesse/Documents/_Projects/DnDWorkspace/Powerz/src/com/jxl/powerz/managers/PowerBarWindowsManager.as:52]

 at
 com.jxl.powerz.managers::PowerBarWindowsManager/loadPowerBarsFromVOs()[/Users/jesse/Documents/_Projects/DnDWorkspace/Powerz/src/com/jxl/powerz/managers/PowerBarWindowsManager.as:42]

 at
 com.jxl.powerz.views::Main/init()[/Users/jesse/Documents/_Projects/DnDWorkspace/Powerz/src/com/jxl/powerz/views/Main.mxml:16]

 at
 com.jxl.powerz.views::Main/___Main_Canvas1_creationComplete()[/Users/jesse/Documents/_Projects/DnDWorkspace/Powerz/src/com/jxl/powerz/views/Main.mxml:5]

 at flash.events::EventDispatcher/dispatchEventFunction()

 at flash.events::EventDispatcher/dispatchEvent()

 at
 mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]

 at mx.core::UIComponent/set
 initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169]

 at
 mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]

 at Function/http://adobe.com/AS3/2006/builtin::apply()

 at
 mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628]

 at
 mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]




Re: [flexcoders] Re: Illegal override of WindowedSystemManager in mx.managers.WindowedSystemManager

2009-01-15 Thread Doug McCune
Did the SWC include any classes that have the same names (but not the same
package structure) as some built-in AIR or flash classes? I recently heard a
report of someone unable to compile an app with player 10 for AIR 1.5 if the
project had a custom class named Vector.

Doug

On Thu, Jan 15, 2009 at 10:38 PM, Jesse Warden jesse.war...@gmail.comwrote:

   I removed an SWC from my libs dir, a debug window component that has
 nothing to do with AIR and air related classes... and it fixed my problem.
  wtf?


 On Fri, Jan 16, 2009 at 1:20 AM, Jesse Warden jesse.war...@gmail.comwrote:

 I keep getting this error for Flex 3.1 in AIR in the Flex Builder IDE
 3.0.2.  If I switch the SDK to 3.2, the app doesn't event launch.  I've even
 tried targeting flash player 10 via -target-player=10.0.0, but no dice.
 Any clue?  Here's some more debug info that appears in the Output panel
 that isn't mine:


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::dispatchEventFromSWFBridges()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::getSandboxRoot()

over-binding 0 in mx.managers::WindowedSystemManager


 accessor not implemented mx.managers:ISystemManager::swfBridgeGroup

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::addChildToSandboxRoot()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::addChildBridge()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::getTopLevelRoot()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::removeChildBridge()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::isTopLevelRoot()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::isDisplayObjectInABridgedApplication()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::useSWFBridge()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::getVisibleApplicationRect()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::removeChildFromSandboxRoot()

over-binding 0 in mx.managers::WindowedSystemManager


 method not implemented
 mx.managers::ISystemManager/mx.managers:ISystemManager::deployMouseShields()

over-binding 0 in mx.managers::WindowedSystemManager

 VerifyError: Error #1053: Illegal override of WindowedSystemManager in
 mx.managers.WindowedSystemManager.


  at mx.core::Window/commitProperties()

 at
 mx.core::Window/open()[E:\dev\3.1.0\frameworks\projects\airframework\src\mx\core\Window.as:2548]

 at
 com.jxl.powerz.managers::PowerBarWindowsManager/createPowerBar()[/Users/jesse/Documents/_Projects/DnDWorkspace/Powerz/src/com/jxl/powerz/managers/PowerBarWindowsManager.as:52]

 at
 com.jxl.powerz.managers::PowerBarWindowsManager/loadPowerBarsFromVOs()[/Users/jesse/Documents/_Projects/DnDWorkspace/Powerz/src/com/jxl/powerz/managers/PowerBarWindowsManager.as:42]

 at
 com.jxl.powerz.views::Main/init()[/Users/jesse/Documents/_Projects/DnDWorkspace/Powerz/src/com/jxl/powerz/views/Main.mxml:16]

 at
 com.jxl.powerz.views::Main/___Main_Canvas1_creationComplete()[/Users/jesse/Documents/_Projects/DnDWorkspace/Powerz/src/com/jxl/powerz/views/Main.mxml:5]

 at flash.events::EventDispatcher/dispatchEventFunction()

 at flash.events::EventDispatcher/dispatchEvent()

 at
 mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]

 at mx.core::UIComponent/set
 initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169]

 at
 mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]

 at 
 Function/http://adobe.com/AS3/2006/builtin::apply()http://adobe.com/AS3/2006/builtin::apply%28%29

 at
 mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628]

 at
 mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]