Re: [flexcoders] Re: FlexUnit usage examples

2006-09-28 Thread Ali Mills
I've never used FlexUnit but Paul has done extensive testing and writing about this subject: http://www.eyefodder.com/blog/2006/07/flexunit_asunit_deathmatch_res.shtml HTH, Ben Luke (http://www.lukebayes.com) just finished addressing Paul's issues with AsUnit, and should be blogging about

[flexcoders] HTTPService outside of MXML

2006-09-27 Thread Ali Mills
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 {

Re: [flexcoders] Re: Bug?: Array not populating List.

2006-09-27 Thread Ali Mills
Jason, The following code works fine for me: [CODE] ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute initialize=init() mx:Script ![CDATA[ [Bindable] public var

Re: [flexcoders] Array question

2006-09-27 Thread Ali Mills
Is there a way I can retrieve several objects from the array at one time? For example, I want to know whats on myPets[1], myPets[3] and myPets [5] at one time. Is there anithing like trace (myPets[1,3,5]) ?? ... I want to retrieve things in a non-linear way... There isn't. If you want

Re: [flexcoders] Problem with IFrame

2006-09-27 Thread Ali Mills
As I understand it there's an MXML iframe too..It looks like you're right Andrew. I just pulled down the following MXML from http://www.deitte.com/IFrameDemo3/srcview/IFrame.zip :[CODE]?xml version=1.0 encoding=utf-8?mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml

Re: [flexcoders] Problem with IFrame

2006-09-27 Thread Ali Mills
Tim, IFrame isn't an MXML element. It's HTML. So, the type not found error MXMLC is throwing makes sense. The Coenraets example you using as a guide works by using JavaScript to overlay an IFrame in HTML over the SWF's OBJECT/EMBED location in HTML. The example's been updated by Brian Deitte

[flexcoders] AS3 bug when 'if' exists within 'switch'

2006-08-28 Thread Ali Mills
Hi there, I'm running into what seems to be a bug when nesting an 'if' statement within a 'switch'. Here's some code that demonstrates the bug: CODE package { import flash.display.Sprite; public class SwitchBug extends Sprite { public function SwitchBug() {