[flexcoders] SharedObject.client

2006-09-30 Thread tomkrcha
Hi,

I don't know how to use SharedObject.client property. It simply doesnt
work.

This is my code. The communication from AS 3.0 with Flash Media Server:

import flash.net.NetConnection;
import flash.net.SharedObject;
import flash.events.NetStatusEvent;
import flash.events.SecurityErrorEvent;

private var nc:NetConnection;
private var so:SharedObject;

private function init():void{

}

private function connect():void{
NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0; 
nc = new NetConnection();
nc.connect("rtmp://localhost/myapp/myroom/");
so = SharedObject.getRemote("ChatSO",nc.uri,true);
so.objectEncoding = flash.net.ObjectEncoding.AMF0;
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
securityErrorHandler);

/*
IS THAT CORRECT??
 */


so.client = this;


}

/*
 * THIS IS CALLED TO RUN chatReceive on every subscriber
 */

private function sendMessage():void{
so.send("chatReceive","message");
}

/*
NEEDS TO BE PUBLIC
 */

public function chatReceive(msg:String):void{
txt.text += msg+"\n";
}
private function netStatusHandler(event:NetStatusEvent):void{
txt.text += event.info.code+"\n";
}
private function securityErrorHandler(event:SecurityErrorEvent):void{
txt.text += event.toString()+"\n";
}


The chatReceive method isnt called. Does anybody please know why?

Thanks

Tom





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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Express Install Handling Case where user selects "No" to install

2006-09-30 Thread P Smith



Has anyone ever created a custom handler for the case where users might select "No" on the Express Install dialogue?With Express Install, users are presented with a dialogue to install  Flash Player 9.  The dialogue has both a "Yes" and a "No" button.If the user selects "No" there currently is no logic in Express Install  to direct the user to an alternate page.  They are just left  staring at box the color of Flex's default background color.For Flex 2 applications where FP9 is a requirement, leading the user to a dead end is bad usability, eh?Any and all advice or assistance would be appreciated.Pete 
		Get your email and more, right on the  new Yahoo.com 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: binary in xml

2006-09-30 Thread Paul Hastings
> 1. Store the binary data from the xml in a BytesArray.
> 2. Use Loader.loadBytes() to make it an image.

unfortunately after giving this a solid newbie try, getting stumped
converting the binary data to an image. what i've tried in my item
renderer is:

// legends?
thisNode=XML(TreeListData(super.listData).item);
if (thisNode.legend.length()) {
var loader:Loader=new Loader();
var ba:ByteArray=new ByteArray();
ba.writeObject([EMAIL PROTECTED]);
loader.loadBytes(ba);
addChild(loader.content);
}

keeps throwing "Error #2124: Loaded file is an unknown type." at
runtime.  any ideas?

thanks.


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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Re: binary in xml

2006-09-30 Thread coldfusionpaul
> 1. Store the binary data from the xml in a BytesArray.
> 2. Use Loader.loadBytes() to make it an image.

unfortunately after giving this a solid newbie try, getting stumped
converting the binary data to an image. what i've tried in my item
renderer is:

// legends?
thisNode=XML(TreeListData(super.listData).item);
if (thisNode.legend.length()) {
var loader:Loader=new Loader();
var ba:ByteArray=new ByteArray();
ba.writeObject([EMAIL PROTECTED]);
loader.loadBytes(ba);
addChild(loader.content);
} 

keeps throwing "Error #2124: Loaded file is an unknown type." at
runtime.  any ideas?

thanks.






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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] weird issue

2006-09-30 Thread Tom Bray



I've written a diagramming component that until recently I had inside a Canvas in my main application like this:    
I recently wrote a component that I call ZoomCanvas and placed the Diagram inside it like this:    
and now the dataProvider doesn't get set.  Even if I reduce ZoomCanvas to just be an empty canvas component, the Diagram's dataProvider is never set.I implemented dataProvider as a getter/setter in the Diagram so I could add CollectionChangeEvent listeners like so:
        public function set dataProvider( ln:LineageNode ):void        {            trace( this + ": setting dataprovider" );            if( _data )            {                _data.children.removeEventListener(
CollectionEvent.COLLECTION_CHANGE, collectionChangeHandler);            }            _data = ln;            _data.children.addEventListener(CollectionEvent.COLLECTION_CHANGE, collectionChangeHandler, false, 0, true);
        }Any ideas what's going on here?  Again, it works in any other container, but it doesn't work an any custom container.  I can't imagine why.Thanks!-Tom

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Coverage testing for AS3 implementation?

2006-09-30 Thread aaron smith



that would be hot!. anything I can do to help?On 9/30/06, Matt Chotin <[EMAIL PROTECTED]> wrote:



















Not at the moment.  We had one internally
for 1.5 but we haven't ported up to 2.0 yet.  Some day…

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of aaron smith
Sent: Friday, September 22, 2006
4:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Coverage
testing for AS3 implementation?



 







Is there
any AS3 implementation for Coverage testing, something similar to Clover in
Java?














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: centering popups to the application, not a container object?

2006-09-30 Thread aaron smith



Thats what I was looking for. perfect thanks.On 9/30/06, Derrick Grigg <[EMAIL PROTECTED]> wrote:
Use 'DisplayObject(Application.application)' as the parent argumentwhen you use the PopupManager.createPopUp(), or PopupManager.addPopUp()Derrick---www.dgrigg.com
--- In flexcoders@yahoogroups.com, "aaron smith"<[EMAIL PROTECTED]> wrote:>> is there a way that you can center a popup to the entire
application. I> don't see anything in the docs. I don't neccessarily want tocenter it to> whatever is opening the pop-up.  I guess what i mean is moving itto dead> center, not center to the opening object.
>> thanks all> smith>--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/<*> Your email settings:Individual Email | Traditional<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)<*> To change settings via email:mailto:
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] CF/Flex2 connectivity differences between DataGrid and Tree

2006-09-30 Thread qnotemedia
I'm working on a new Flex2/CF app.  My first had a tree that received 
XML, and I had it setup to edit each node, and one button would send 
the entire Tree back to CF.

I'm having a little trouble doing something similar with a DataGrid.  
In the new app, I'm seing a query from a datasource as an array of 
structs to a DataGrid.  How can I send this entire datagrid back to CF?

In my first app I sent myTree.value via webservice request and parsed 
the XML.  Sending datagrid.value isn't working however.  Changing it to 
datagrid.selectedItem.columnName works, but then I'm stuck with 
clicking a button for every single item in the datagrid, rather than 
sending the entire grid at once.

It seems that there's something fundamentally different between grids 
and trees that I'm not quite understanding.  What exactly is the 
datagrid sending in a webservice request?






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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





RE: [flexcoders] Re: issue with progress bar loader becoming stuck

2006-09-30 Thread Matt Chotin












You really need to break your function up
into multiple calls so that a frame can draw in between.  There is no concept
of forcing the UI to draw, your AS code has to exit.  Look into writing your
function so that you can call it in phases using something like a timer or
callLater.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of wayneposner
Sent: Thursday, September 28, 2006
9:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: issue
with progress bar loader becoming stuck



 







Is there a method or some call to use that forces the
UI to 
refresh. I actaully tried staging the call to my recursive function 
so that it wouldn't get called until three events later--
creationComplete dispatched to a render event which then dispatched 
to my event which called the recursion. Still no progress bar.

Thanks,
Wayne

--- In [EMAIL PROTECTED]ups.com,
Tom Chiverton ...> 
wrote:
>
> On Thursday 28 September 2006 14:09, Mark Hawley wrote:
> > Flash is single-threaded. You're not going to ever get screen 
refreshes
> > during a function's execution.
> 
> Sometimes the internal model isn't even updated during execution.
> 
> -- 
> Tom Chiverton
> Helping to globally foster B2B clusters
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF. A list of members is available for inspection at the 
registered office. Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP. Regulated by the 
Law Society.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged. If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents. If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Stats on flash player 9 penetration.

2006-09-30 Thread Matt Chotin












Actually I’m not sure we’ve
turned on auto-update yet.  But the downloads have been high without it.  We’re
still figuring out the timing of auto-update.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of John
 Dowdell
Sent: Friday, September 29, 2006
2:47 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Stats on
flash player 9 penetration.



 







Clint
Modien wrote:
> Do we have stats for flash player 9 penetration yet?
> Has Adobe turned on the auto-update for flash 9 player yet? If not...
when?
> Do we have stats for when Adobe turned on auto-update for flash 8
> player? What was the adoption rate before and after it was turned on?

Adobe Flash Player 9 entered general public distribution at the end of June:
http://weblogs.macromedia.com/emmy/archives/2006/06/a_pocket_guide.cfm

It did not fall within the most recent consumer audit:
http://weblogs.macromedia.com/emmy/archives/2006/08/flash_player_8_1.cfm

The daily rate of successful installations indicates that we're likely 
close to an astounding 50% consumer viewability already:
http://blog.digitalbackcountry.com/?p=498

I don't know the auto-update date offhand, but it has contributed to the 
above results.

FP9 adoption is freakin' fast, that's the long and short of it. ;-)

jd

-- 
John Dowdell . Adobe Developer
Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] plug-in detection not working for IE

2006-09-30 Thread Matt Chotin












Try uninstalling and re-installing the
Player.  Maybe it didn’t get set up in the registry correctly?

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of zenwarden
Sent: Wednesday, September 27,
2006 9:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] plug-in
detection not working for IE



 







The plug-in detection that is generated by the flex
builder ( in the
AC_OETags.js file) does not seem to be working for IE (or at least my
version: 6. 0.2800).

I know that IE has the right plug-in because I can run the swf file
directly. But I get the "Alternate HTML content should be placed here.
This content requires the Adobe Flash Player. Get Flash" message when
I try to go through the myappname.html page. This happen both when I
run through the builder and when I post files on a server.

Is this a known bug? There is a plethora of information on the adobe
site on browser detection, and I would appreciate it if someone could
just narrow the field for me on how to fix this. I am not too keen on
debugging the current AC_OETags.js.

Chris Warden






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] HTTPService outside of MXML

2006-09-30 Thread Matt Chotin












It should work.  The exception is
obviously a bug in the compiler, I’ll see if they can reproduce this.  But
we wrote HTTPService so that it didn’t have a dependency on the rest of the
framework so that it could be used outside of MXML.  Try compiling maybe using
mxmlc instead of FlexBuilder and see how that goes?

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ali Mills
Sent: Wednesday, September 27,
2006 12:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTTPService
outside of MXML



 







Is it
possible to use HTTPService outside of MXML in an ActionScript
class? I have a very simple ActionScript project with the code:

[CODE]
package {
import flash.display.Sprite;
import mx.rpc.http.HTTPService;

public class HTTPServiceExample extends Sprite {
public function HTTPServiceExample() {
var service:HTTPService = new HTTPService();
}
}
}
[/CODE]

that I can't get to compile. Flex Builder reports the problem, "An
internal build error has occurred. Please check the Error Log.", and
when I check the log, I see:

[LOGGED_ERROR]
!ENTRY com.adobe.flexbuilder.project 4 43 2006-09-27 12:11:49.97
!MESSAGE Uncaught exception in compiler
!STACK 0
java.lang.NullPointerException
at macromedia.asc.semantics.InterfaceWalker.processQueue(InterfaceWalker.java:75)
at macromedia.asc.semantics.InterfaceWalker.(InterfaceWalker.java:27)
at macromedia.asc.semantics.InterfaceWalker.(InterfaceWalker.java:17)
at macromedia.asc.semantics.FlowAnalyzer.scanInterfaceMethods(FlowAnalyzer.java:5972)
at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:4833)
at macromedia.asc.parser.BinaryClassDefNode.evaluate(BinaryClassDefNode.java:22)
at macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:2559)
at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
at flex2.compiler.abc.Compiler.analyze2(Compiler.java:280)
at flex2.compiler.API.analyze(API.java:2118)
at flex2.compiler.API.analyze(API.java:2041)
at flex2.compiler.API.batch2(API.java:296)
at flex2.compiler.API.batch(API.java:901)
at flex2.compiler.API.compile(API.java:1110)
at flex2.compiler.API.compile(API.java:1022)
at com.adobe.flexbuilder.project.compiler.Compiler.compile(Unknown
Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.buildApplication(Unknown
Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown
Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
[/LOGGED_ERROR]

Am I doing something wrong, or is Flex Builder? I see from
http://kuwamoto.org/2006/08/04/flex-tags-and-as-class-the-exceptions/
that HTTPService is a faceless component and "can only go at the root
level of a document", but I can't imagine you must use HTTPService in
the context of MXML. Any ideas on how to use an HTTPService from
ActionScript?

Also, I am including the "libs/rpc.swc" library.

Thanks.

Ali






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._

RE: [flexcoders] DownloadProgressBar changing the bar color

2006-09-30 Thread Matt Chotin












I believe by default we’ll match the
same background color as the SWF for the progress bar.  So if you change the application
backgroundColor it should work itself out.  Otherwise change the color as
specified in the HTML wrapper, that might do the trick (we use the application backgroundcolor
by default I think).

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paolo Bernardini
Sent: Wednesday, September 27,
2006 12:52 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
DownloadProgressBar changing the bar color



 









no luck yet, regarding the css files, the get compiled in the swf and
non loaded at runtime, so they should be ready to change the style of the bar
before the application loads.








__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Re: issue with progress bar loader becoming stuck

2006-09-30 Thread Matt Chotin












Sorry, we can’t respond to
everything rapidly and may not always know the answer.  We have seen this
occasionally (Jesse Warden has talked about it in the past) but I’m not
sure we’ve figured out what’s going on.  Our best guess is
something about how the web server returns the SWF causes problems.  Can you
try in Firefox and IE and see if the error occurs in both?  If so provide us
with the SWF and we can take a look, but we may also need access to your server
that is serving the SWF because I think the network is involved.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dan Rossi
Sent: Thursday, September 28, 2006
4:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: issue
with progress bar loader becoming stuck



 







Hi,
unfortunately im not doing any custom progress bar, its just the standard
preloader when the swf loads, id prefer just to take it out and add listeners
to work out whats going on somehow ? Adobe dont even reply about it i dont
think ill ever get a reply from them about it as usual, ive asked them 3 or 4
times now. 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] FlashPlayer security puzzle

2006-09-30 Thread Matt Chotin












If you debug your server you’ll see
that the first request coming from the player is something like
.  You need to react to that by returning the
crossdomain xml syntax that allows access to the domain where the SWF was
served from (or *).  This would look like the same crossdomain as we document for
the xml file.

 

HTH,

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Tuesday, September 26, 2006
8:32 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
FlashPlayer security puzzle



 









Do you know about the crossdomain.xml security policy file?

 

Tracy

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Dima Ulich
Sent: Tuesday, September 26, 2006
7:57 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] FlashPlayer
security puzzle



 









Hello
FlexCoders,

   


   
I've been struggling with flash security matters for some time now. I have a
php socket server, which is used both by php server and Flex Application. My php
application does some heavy work and sends feedback to socket server so a user
could know what's happening in a moment. My flex application works just fine
when I started from FlexBuilder (default location) and it is
in localTrusted sandbox. As soon as I place it to my webserver my
application can't connect to my socket server. I have tried different ways to
make it work with no luck. 

   
Does anybody know how can I connect to socket server when flex application is
online? 

Thanks
beforehand,

Dima




 














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Re: Invalid Root problem

2006-09-30 Thread Matt Chotin












So this is a FDS project with compilation
on the server?  This means that you need to be able to have FB access the
files on the server, usually via a mapped drive.  If you don’t then
really you should do a FB project that’s compiled locally and then
finally copy the output (or source I suppose) to the FDS server when you’re
ready.  The root folder is meant to be the root of your source.  If
you were to specify the root url the root folder would be the filesystem
version.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of cheftimbob
Sent: Saturday, September 23, 2006
2:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Invalid
Root problem



 







Just a bump so this doesn't fall off. Any experts out
there with 
ideas?

--- In [EMAIL PROTECTED]ups.com,
"cheftimbob" <[EMAIL PROTECTED]..> wrote:
>
> I'm new to this so please bear with me.
> 
> I've installed Flex2 IDE on my desktop PC. I have installed the FDS 
on 
> one of our test AIX servers running WAS 5.1. The samples 
applications 
> all work. 
> 
> I'm working through some of the tutorials for using the data 
management 
> services. When I create the new Flex Data Services project I get to 
the 
> point where I have to specify the root folder and root url. The 
root 
> url is easy enough. What do I put in for the root folder though? 
All of 
> the posts I've seen for this typically are where someone is trying 
to 
> access a server running on their desktop PC or on a mapped server. 
This 
> is an AIX box.
>






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Coverage testing for AS3 implementation?

2006-09-30 Thread Matt Chotin












Not at the moment.  We had one internally
for 1.5 but we haven’t ported up to 2.0 yet.  Some day…

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of aaron smith
Sent: Friday, September 22, 2006
4:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Coverage
testing for AS3 implementation?



 







Is there
any AS3 implementation for Coverage testing, something similar to Clover in
Java?






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] loading font in runtime [fixed]

2006-09-30 Thread Robert Wąs
It was something with flex internals, flex can't register class with 
different variables values. Following works for me
package
{
import flash.display.Sprite;
   
public class [EMAIL PROTECTED]@ extends Sprite
{
[Embed(source='../../@FONT_FILE@', fontName='@FONT_NAME@', 
mimeType='application/x-font')]
public var myFont:Class;
}
}
and ant macro:





















happy coding ;)

-- 
Robert Was





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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Re: "As you type" Grid Filtering with Textinput and Combobox

2006-09-30 Thread qnotemedia
New question - how do I add a second combobox?





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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





RE: [flexcoders] Dynamic Button Icon

2006-09-30 Thread Battershall, Jeff
You have to embed the image first using the Embed compiler directive and
it can be from a url but that url has to be availble at compile time.

[Embed(source="/images/excel_icon.png")]
[Bindable]
public var excelIcon:Class;



Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of qnotemedia
Sent: Saturday, September 30, 2006 1:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dynamic Button Icon


The icon property of a button appears to require an embedded object.  
Is there any way to make it dynamic - i.e. using say a URL to a gif?

Tried icon="http://URL"; but it comes back as not being able to parse 
the value of type Class.

Also tried giving it a URL from a datasource - same issue.






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






 



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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




RE: [flexcoders] Re: Flex2 - "unconverted Bindable metadata in class"

2006-09-30 Thread Matt Chotin












We’re having trouble tracking down
the warning in our own source code.  Can you give us a code example so we
can reproduce?

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of thunderstumpgesatwork
Sent: Thursday, September 21, 2006
8:00 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex2 -
"unconverted Bindable metadata in class"



 







A little more background. Hopefully someone 'in the
know' can look
into this.

I'm also getting this warning on classes that are NOT declared
[Bindable] at the class level, but rather on each getter/setter.

However it does seem that in every case, there is a getter declared as
[Bindable] with the default (no event name specified). AND I am not
generating an event in the setter (or wherever it changes). 

I was under the impression that using [Bindable] with no event caused
the event firing to happen automatically. Is that not true with
getter/setter?

thanks,
Thunder

--- In [EMAIL PROTECTED]ups.com,
"thunderstumpgesatwork"
...> wrote:
>
> 
> Hi all,
> 
> I've recently been getting this warning with some of my value object
> classes.
> 
> For the value objects, I typically declare the entire class as
> [Bindable], and then have getter/setter functions for properties. Is
> this something that could cause the problem? Am I required to
> dispatch the event as I would be if the getter/setter was declared
> [Bindable(event="blah")] ?
> 
> The only place in the framework source I found this string is in
> 'BinabilityInfo.as' line 209. I could not tell from a glance what was
> going on... it was missing some metadata arg length or something... I
> haven't dug into the framework source much.
> 
> Does anyone know what causes this warning?
> 
> Thanks,
> Thunder
>






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: Panel Rounded Bottom Corners

2006-09-30 Thread Bruce Denham
Can you send the style sheet your using or or the code. The default 
for this property is false, and I've never had a problem with this, 
so post your code. I'll try to replicate the problem.

Bruce 

--- In flexcoders@yahoogroups.com, "omkarjoe" <[EMAIL PROTECTED]> 
wrote:
>
> Hi All,
> 
> I am reposting this problem again as I havn't got any reply... 
Here is 
> the problem I am facing,
> 
> I am trying to create a pannel which does not have rounded bottom
> corners. When I set roundedBottomCorners style of a panel 
to 'false',
> GOD knows why but it doesn't affect??? And interestingly if I 
switch
> to design mode it shows squarish corners but when I run my 
application
> they are rounded again Also If I attach a controlbar to my 
panel
> no matter what i set it will always show rounded corners at the
> bottom. Is there any way or workaround for this??? I also tried
> finding if any updates are available... but couldn't findone. I 
really 
> need this urgently...
> 
> Thanks in advance
> Omkar
>






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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




Re: [flexcoders] Re: flash player error Flash9.ocx when testing app

2006-09-30 Thread Dave Carabetta
On 9/30/06, tomkrcha <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have the same problem. I can't debug in FlexBuilder/Eclipse, because
> of missing Flash9.ocx.
>
> Anybody got idea?
>

If the file is missing, then have you tried uninstalling and
re-installing the Flash Player? The Flex Builder installer lays down
the installers for you, though you'll need to download the uninstaller
from the Adobe site. Check out you FB insall directory under Flex
Builder 2\Player\debug for the players.

Regards,
Dave.


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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Re: flash player error Flash9.ocx when testing app

2006-09-30 Thread Tim Hoff
You could try to reinstall the debug player.  The debug player 
install programs are located at Program Files/Adobe/Flex Builder 
2/Player/debug.  I had a similar problem when I upgraded to the 
final release.  I ran Install Flash Player9.exe and Install Flash 
Player 9 AX.exe and it fixed the problem.

-TH

--- In flexcoders@yahoogroups.com, "tomkrcha" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I have the same problem. I can't debug in FlexBuilder/Eclipse, 
because
> of missing Flash9.ocx.
> 
> Anybody got idea?
> 
> Tom
> 
> --- In flexcoders@yahoogroups.com, douglas morrison 
> wrote:
> >
> > Has anyone run into a problem when Testing in IE it gets this 
error  
> > "Internet Explorer has encountered a problem with an add on  
> > Flash9.ocx". When debugging the app in Firefox it never displays 
an  
> > error but when Firefox is closed, it never closes the browser 
and an  
> > instance of firefox.exe still runs. The app was compiling and 
running  
> > fine, but when i added a png file, I got this error. When I 
restored  
> > to the last working version and recompiled the app, it still has 
the  
> > same error..
> > 
> > Thanks,
> > 
> > Doug
> >
>






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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Dynamic Button Icon

2006-09-30 Thread qnotemedia
The icon property of a button appears to require an embedded object.  
Is there any way to make it dynamic - i.e. using say a URL to a gif?

Tried icon="http://URL"; but it comes back as not being able to parse 
the value of type Class.

Also tried giving it a URL from a datasource - same issue.






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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Re: centering popups to the application, not a container object?

2006-09-30 Thread Derrick Grigg
Use 'DisplayObject(Application.application)' as the parent argument 
when you use the PopupManager.createPopUp(), or PopupManager.addPopUp
()

Derrick
---
www.dgrigg.com


--- In flexcoders@yahoogroups.com, "aaron smith" 
<[EMAIL PROTECTED]> wrote:
>
> is there a way that you can center a popup to the entire 
application. I
> don't see anything in the docs. I don't neccessarily want to 
center it to
> whatever is opening the pop-up.  I guess what i mean is moving it 
to dead
> center, not center to the opening object.
> 
> thanks all
> smith
>







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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] Re: centering popups to the application, not a container object?

2006-09-30 Thread Tim Hoff



Hey Aaron,
The first parameter of PopUpManager.createPopUp() is the parent displayObject of the popup window.  When you call PopUpManager.centerPopUp(), the popup is centered relative to the parent.  I'm using code similar to this to center the popup in the application.
public var popUpWindow:IFlexDisplayObject;public var popUpParent:DisplayObject;
popUpParent = Application.application.mainView.mainCanvas;popUpWindow = PopUpManager.createPopUp(popUpParent,searchingPopUpView,false);PopUpManager.centerPopUp(popUpWindow);-TH--- In flexcoders@yahoogroups.com, "aaron smith" <[EMAIL PROTECTED]> wrote:>> is there a way that you can center a popup to the entire application. I> don't see anything in the docs. I don't neccessarily want to center it to> whatever is opening the pop-up. I guess what i mean is moving it to dead> center, not center to the opening object.> > thanks all> smith>

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: flash player error Flash9.ocx when testing app

2006-09-30 Thread tomkrcha
Hi,

I have the same problem. I can't debug in FlexBuilder/Eclipse, because
of missing Flash9.ocx.

Anybody got idea?

Tom

--- In flexcoders@yahoogroups.com, douglas morrison <[EMAIL PROTECTED]>
wrote:
>
> Has anyone run into a problem when Testing in IE it gets this error  
> "Internet Explorer has encountered a problem with an add on  
> Flash9.ocx". When debugging the app in Firefox it never displays an  
> error but when Firefox is closed, it never closes the browser and an  
> instance of firefox.exe still runs. The app was compiling and running  
> fine, but when i added a png file, I got this error. When I restored  
> to the last working version and recompiled the app, it still has the  
> same error..
> 
> Thanks,
> 
> Doug
>







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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] try catch

2006-09-30 Thread dj
Hi,

I don't want a message like this to stop my flash, i want to try to 
catch a pop up from displaying like:


The image actually loads but this error comes up:  "SecurityError: Error 
#2122: Security sandbox violation: Loader.content: "
Can somebody shoe me a try-catch situation?



I'm loading the crossdomain policy in my init();

the errror says i have to set my checkPolicyFile flag, is this possible 
from inside the http://myurl";); one time what's the best 
method.

Thanks for your time,
Patrick






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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Re: Panel Rounded Bottom Corners

2006-09-30 Thread Tim Hoff



Hi Omkar,
These two methods should work.  They will give round corners on the top of the panel and square on the bottom.
MXML:
CSS:Panel { cornerRadius:   8; roundedBottomCorners: false;}
-TH--- In flexcoders@yahoogroups.com, "omkarjoe" <[EMAIL PROTECTED]> wrote:>> Hi All,> > I am reposting this problem again as I havn't got any reply... Here is > the problem I am facing,> > I am trying to create a pannel which does not have rounded bottom> corners. When I set roundedBottomCorners style of a panel to 'false',> GOD knows why but it doesn't affect??? And interestingly if I switch> to design mode it shows squarish corners but when I run my application> they are rounded again Also If I attach a controlbar to my panel> no matter what i set it will always show rounded corners at the> bottom. Is there any way or workaround for this??? I also tried> finding if any updates are available... but couldn't findone. I really > need this urgently...> > Thanks in advance> Omkar>

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Background transparancy - Help File

2006-09-30 Thread dj
Much appreciated, I missed that in my first scan of help files.  Quick 
question: how do you make the code editor open the help.as class file - 
kinda like how F3 works in eclipse with ASDT?

Thanks,
Patrick

Benoit Hediard wrote:

> In order to get full transparency (in an html page), you might also 
> have to set windowMode to "transparent" in your code that insert the swf:
> 
> ...
> 
> ...
>  ...
> wmode="transparent"
> ... >
> 
> 
>  
> Benoit Hediard
>  
>
> 
> *De :* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *De la part de* sumeet k
> *Envoyé :* vendredi 29 septembre 2006 08:23
> *À :* flexcoders@yahoogroups.com
> *Objet :* Re: [flexcoders] Background transparancy
>
> Hi Patrick,
> Ypu can set backgroundAlpha="0" in application tag.
>
> */dj <[EMAIL PROTECTED]>/* wrote:
>
> How do you set the background alpha of an application to 0, possible?
>
> Thanks,
> Patrick
>
>
> 
> Get your own web address for just $1.99/1st yr 
> <%20http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains>.
>  
> We'll help. Yahoo! Small Business 
> . 
>  




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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




[flexcoders] TabBar Tab Index

2006-09-30 Thread Bruce Denham
How would I go about getting the index of the tab in a TabBar that the
mouse rolls over?

private function tabBar_rollover(event:MouseEvent):void
{
Alert.show(event.target.[tabIndex].label.toString());
}

I'm trying to find the simplest way to implement rollover dropdown
menus from a TabBar component.

Any suggestions would be appreciated.

Bruce






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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] centering popups to the application, not a container object?

2006-09-30 Thread aaron smith



is there a way that you can center a popup to the entire application. I don't see anything in the docs. I don't neccessarily want to center it to whatever is opening the pop-up.  I guess what i mean is moving it to dead center, not center to the opening object. 
thanks allsmith

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Panel Rounded Bottom Corners

2006-09-30 Thread omkarjoe
Hi All,

I am reposting this problem again as I havn't got any reply... Here is 
the problem I am facing,

I am trying to create a pannel which does not have rounded bottom
corners. When I set roundedBottomCorners style of a panel to 'false',
GOD knows why but it doesn't affect??? And interestingly if I switch
to design mode it shows squarish corners but when I run my application
they are rounded again Also If I attach a controlbar to my panel
no matter what i set it will always show rounded corners at the
bottom. Is there any way or workaround for this??? I also tried
finding if any updates are available... but couldn't findone. I really 
need this urgently...

Thanks in advance
Omkar






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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




Re: [flexcoders] Link Type: External

2006-09-30 Thread Paul Spitzer
 >but the documentation says it will retrieve and load into
 >memory as needed.

I haven't looked at the exact verbiage in the docs but you have to 
manually manage the loading of the external dependencies. As far as I 
understand it, the ActionScript byte code needs to be accessible by the 
time your code references anything in the library. There are a few 
scenarios in which you might accomplish this. The most obviously likely 
being using Loader to load the library SWF. As soon as you get the 
Event.INIT event back you should be able to access code / classes in the 
library. Be sure you give the Loader a LoaderContext object that sets 
the ApplicationDomain to the current domain. Here's a little example...

private function loadLib():void
{
var context: LoaderContext = new LoaderContext(false, 
ApplicationDomain.currentDomain);
var request: URLRequest = new URLRequest("library.swf"); // 
library.swf extracted from SWC
var loader: Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.INIT, 
this.handleLibInitialized);
loader.load(request, context);
}

private function handleLibInitialized(event: Event): void
{
trace(Constants.COMPANY_NAME);
this.coname = Constants.COMPANY_NAME;
}



passive_thoughts wrote:
> I don't fully understand this link type.
>
> I realize that by setting a library(swc) as external in an app, it is
> used as a reference for the compiler during compile time.  Now the
> documentation says "The components contained in the SWC file are
> retrieved and loaded into memory as needed, at run time."
>
> I created a simple flex library that has one class and in the class
> one static string with a value of "abc metals ltd.".  The library
> compiles fine. I add the swc to my app and leave it as merged.  I add
> these lines to my app:
>
> import com.abc.library.Constants;
> private var coname:String =  Constants.COMPANY_NAME;
>
> and it works fine.  If I change it to Link Type RSL and run it, it
> works fine as well.  If I change it to Link Type External, it compiles
> but errors out at run time:
>
> ReferenceError: Error #1065: Variable com.abc.library::Constants is
> not defined.
>
> Now this sort of makes sense... I haven't merged my library, nor have
> I included it as an RSL so my app has no idea where to find this
> code... but the documentation says it will retrieve and load into
> memory as needed.   How and from where?  And really what is the point
> of this type?
>
> Any advice is much appreciated!
>
> Vic
>
>   



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

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

<*> Your email settings:
Individual Email | Traditional

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

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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





[flexcoders] Re: Webservice Connector Component

2006-09-30 Thread Tim Hoff



Hello,
The Flash 8 and Flex 1.5 webservice connector wizards are really nice time-savers for developers.  They validate the connection, automatically list the available operations and provide control binding options.  All of these coding steps are completed in one trip to the wizard.
It would be nice if a future release of Flex had a ported version of this type of wizard.  But, that's not a simple task; especially considering that many use an additional framework level, like Cairngorm,  on top of Flex.  Considering that Flex2 is a complete rewrite, it's very understandable why this feature didn't make the current release.  You might want to add a feature request to Adobe's wishlist here:
http://www.adobe.com/go/wish
-TH--- In flexcoders@yahoogroups.com, "[sami]" <[EMAIL PROTECTED]> wrote:>> Hello,> anyone made / seen a webservice connector component like in Flash 8 for> Flex?> Writing queries against WSDL by hand and catching their replys is a pain, or> maybe I understood something very wrong...>

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___