[flexcoders] Question about RemoveChild

2006-03-23 Thread Richard Schutten
Hi, I want to delete dynamically created buttons. The documentation of Flex says: Removing a child does not delete it, so you can redisplay it later without recreating it. So if RemoveChild doesn't delete them how can i do so? Greetings, Richard -- Flexcoders Mailing List FAQ:

[flexcoders] Global functions

2006-03-21 Thread Richard Schutten
I want to create a Flex application where each part of the application is coded in a seperate mxml file. In the main application mxml i've added a TabNavigator and added a tab for each seperate mxml file. I also created a Functions ActionScript file which contains all functions for my application.

[flexcoders] Problem with Matrix

2006-03-20 Thread Richard Schutten
Hi there, I've created a class which extends Image. This class can rotate, scale, flip and mirror the image by using the matrix methods rotate and scale. I want to position an image at a given x and y coordinate. Therefore i use translate method of the matrix. When rotate the image the matrix

RE: [flexcoders] Re: Flip and mirror a bitmap in Flex

2006-03-16 Thread Richard Schutten
Here is a example of what your looking for with sample code I believe. http://humanwasteland.com/reflectdemo/ReflectFilterDemo.html Have Fun, Rich --- In flexcoders@yahoogroups.com, "Richard Schutten" [EMAIL PROTECTED] wrote: Hi there, Are there sta

[flexcoders] Flip and mirror a bitmap in Flex

2006-03-15 Thread Richard Schutten
Hi there, Are there standard flip and mirror routines that can be applied in Flex 2 for bitmaps? Greetings, Richard -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] Question about BitmapData max height (Flex)

2006-03-13 Thread Richard Schutten
Hi there, I've created a Animation class which extends Image. When loaded a Timer is created and on each timer event i draw the next state of my source image. Therefore i'm using CopyPixels of BitmapData. This works fine with small images. But i've noticed that i can't use files which height are

[flexcoders] Error can not resolve a multiname reference unambiguously...

2006-03-08 Thread Richard Schutten
Hi there,I still get the following error: Can not resolve a multiname reference unambiguously. flash.display:Loader(fromframework.swc(mx/controls/loader)) are available. Please take a look at my code:?xml version="1.0" encoding="utf-8"?mx:Application

[flexcoders]Question about the Loader class

2006-03-06 Thread Richard Schutten
Does someone has a answer for my question, I've a question about the Loader class in Flex 2. I've created a simple project that adds an Image object to a VBox when a button has been clicked. I load the Image with the content of the Loader. I also connected a ProgressBar which shows the progress

[flexcoders] Question about error 'Can not resolve a multiname reference...'

2006-03-06 Thread Richard Schutten
Hi there, Why do i get the following error on building the project? Can not resolve a multiname reference unambiguously. flash.display:Loader (...\framework.swc(mx/controls/Loader)) are available. For example: I've used: import mx.controls.Loader; var myLoader:Loader = new Loader(); When i

[flexcoders] Bitmap

2006-02-28 Thread Richard Schutten
Hi, I'm having trouble displaying a Bitmap with Flex 2. Just as in the Help documentation i've added the following code: var pictLdr:Loader = new Loader(); var pictURL:String = image.jpg pictLdr.addEventListener(Event.COMPLETE, showPict); var pictURLReq:URLRequest = new URLRequest(pictURL);

RE: [flexcoders] Problem with Repeater

2006-02-22 Thread Richard Schutten
Hi Matt, It works for my example, but when i'm using two nested Repeaters i'm in trouble again. See my example code: mx:Model id="test" result item nameItem 1/name subitem nameSubitem 1/name /subitem /item /result /mx:Model mx:ArrayCollection id="testAC"

[flexcoders] Problem with Repeater

2006-02-21 Thread Richard Schutten
Hi there, I'm using Flex 2.0 Beta 1 and having a problem with using a Model as dataProvider for the Repeater. I entered an example code beneath: mx:Model id=test result itemItem 1/item /result /mx:Model mx:VBox mx:Repeater id=rep