flex

CKEditor running in Flex 3?

I'm interested in integrating CKEditor into my Flex 3 application so that users can generate full HTML documents. After some quick googling, I am interested in using CKEditor, but I can't find any home-run success stories on using it with Flex 3. For example, I found: http://blog.aboutme.be/2009/10/25/ckeditor-running-in-flex-and-air/...

How can I evenly distribute columns in a DataGrid in Flex?

I have 16 columns in a DataGrid in my Flex app. The first 15 look fine, with the column, simply containing the text, but the last one has a lot of extra space. Essentially, the columns are just big enough to fit the first 15 and all that extra space is tacked onto the 16th column. How can I evenly distribute the space over each column? ...

Actionscript 3 Package Trouble

My code is: package com.companyName.softwareName { import flash.display.Sprite; public class SoftwareName extends Sprite { public function SoftwareName() { trace("Testing!"); } } and it is located in C:/dev/com/companyName/SoftwareName as SoftwareName.as Taking the package name out lets it co...

AS 3 functions optional value getting error.

I have a gui class, The functions optional value getting error. If i am not passing the fillcolor and other optional values. Error: ReferenceError: Error #1069: Property fillColor not found on String and there is no default value. AS 3.0 var windowBase:Sprite = UIClip("Sprite"); /* sliderClip = Gui.UIClip("MovieClip",{width...

Flex AdvancedDataGrid sort

I have an AdvancedDataGrid that is being populated by customer data. Each customer has 3 monthly products(1, 3, 6), and also a passed field specifying whether the customer qualifies for any of the monthly products. Now the grid is sorting the customer data alphabetically, which is a good thing, but it isnt sorting the monthly products,...

Counting the number in an Array

Hi, I'm using a PHP Script to create XML. Which pulls through the data from a Database. I have an video list, which pulls through X amount of videos. But I want to show them 5 at a time. I want to hide a button once it reaches the amount of videos in the XML. Hope there's enough detail in this question. My script is as follows..... ...

Customizing Flex Charts

Hi guys, I am wondering if it is possible to customize Flex Chart to have grids like in this example: http://imglink.ru/show-image.php?id=bfcb5a0c5bbcfc20f3f21ef764ed79e7 Thank you in advance! ...

A custom clip to run while flex application loads itself

Dear friends, Whenever a swf is loaded a custom movie is shown (by default a rotating circle), is there some way where I can have my custom movie to play there. If you have any idea in this regard, then please help. Thanks in advance. Ashine. ...

How does Adobe CONNECTNOW load and run acaddin?

I am looking for options to download, Install and run a custom plugin/add-on(an exe or an installer) from my Flash Movie similar to how the connectnow does that? When we initiate the screen sharing for the first time, connectnow prompts us for mandatory add-in by showing the message "To use this application, you need the Adobe ConnectNo...

On Program Loading Event..?

Hi, Does anyone know what the onLoad() or similar Event is in Flex? I'm trying initialize, but no joy. protected function videoArea_initializeHandler(event:FlexEvent):void { var currentPosition:int = videoArea.verticalScrollPosition; if (currentPosition < 0) { left...

how to smooth an embeded image in flex when its embed as a class for textinput border style

Hello my fellow stackoverflower, i'm looking for away to smooth an image of and embed png file. i'm using the embeded png as the borderskin for my textInput. i have seen some other postings about this subject but i can figure it out. Does anybody have an idea, how i can a complish this? some real solid code example wwould be nice. thi...

Flex progress bar setup....

Hi guys I am trying to make a progress bar to show the my application loading status. I google a lot but it only shows how to use progress bar for elements (ex: images, datagrid). I need to know the progress bar setup for the entire application. I am sorry if this is a noob question. My brain is not working now. Thanks for any help. ...

Understanding OOP in Actionscript

A.as : public class A { public function getFunction():Function { return function():void { if(this is C) { trace("C"); } else { trace("not C"); } } } public function func1():void { var internalFunc:Function = getFunction(); internalFunc(); } } B.as : public c...

Visual Containers - Creating?

Hi, I've got a HorizontalList created with XML data pulling through. All I want to do is create an visual container, that now loads in the Videos Data. Code is as follows : <mx:HorizontalList id="videoArea" rowHeight="210" columnWidth="180" width="929" ...

FileReference and registerClassAlias

Hello, I'm trying to use the native flex serialization/deserialization process to save/load state of a workspace in flex. In order to save or load a file I have to use my servlet, which just bounces back the bytes from the input stream to the output stream. Here's a basic outline of my Flex code: Serialized Object Container: public c...

Flex DataGrid itemrollover doesn't fire

Hey all, I am using a datagrid with some custom itemrenderers. I am trying to save the last cell (row and column index) the mouse was over when the context menu was opened. I am trying do this with the itemrollover but it doesn't seem to fire when I roll over my custom itemrenderers when I enter them from within the datagrid region. ...

Resize Image with Scroller causing 1502 exception

Description: I'm loading an image inside of a border container and when i zoom out, the scroll bars disappear as expected. Now when I resize the image to exceed the boundaries of the boarder container I receive the exception below. I believe the exception is thrown when the scroll bars are reactivating but i could be wrong. Has anyone se...

How to use dependency instead of loadExterns in flexmojos Maven plugin?

Hi, The documentation for flexmojos plugin states that loadExterns parameter is deprecated, and suggests: " Use dependency with type "xml" and classifier "link-report" (http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-swf-mojo.html#loadExterns) . Can somebody please explain or show an example of how to do it? Thanks!...

how can I know if an image needs to be scaled down or not?

I'm trying to create in Flex a Tile view that shows some images that a user has. The images don't have the same size, some are small and some are big. What I'm trying to do is to use a List and create an ItemRenderer that has an Image property which displays the user images (the images are passed to the source property of the Image Obje...

Get a static property from class in actionscript

I have this class package somePackage { public class SomeClass { public static const FOO: SomeClass = new SomeClass("0"); public static const BAR: SomeClass = new SomeClass("1"); } } I want to be able to get those static property given it's name. Example: public static function getProperty(propertyNam...