Quantcast
Channel: Adobe Community : Popular Discussions - Flex
Viewing all 263 articles
Browse latest View live

Auto Login from Flex

$
0
0

How could I login to another Site from flex if we have username & Password ? Say I've a link to www.example.com in flex . I'm setting username & password to example.com in flex end. So on clicking, example.com link (in flex ) I should be see example .com in logged in state.


Cannot create Flash Player Trust file (Windows 7)

$
0
0

Hi,

 

I installed the latest Flash Builder eclipse plug-in on my new Windows 7 computer and when I run eclipse I get the following error messages:

 

An internal error occurred during: "Creating Adobe Flash Player trust file..."

com/adobe/flexbuilder/project/playertrust/IPLayerTrustEvent

     and

An internal error occurred during: "Creating Adobe Flash Player trust file..."

com/adobe/flexbuilder/utils/osnative/NativeControl

 

Does anyone have any idea how to get around this problem?

 

Thanks,

Gilles

Air QR code generator/reader

$
0
0

Anyone have any current recommendations for Air QR code generator and reader (ANE, lib)?

 

I need a solution that will:

1) Generate a text/string QR code in Air desktop

2) Generate a text/string QR code in Air cross-platform mobile app (android or iOS).  Same code base as #1.

3) Scan the QR code on cross-platform mobile device (android, iOS) from within my Air app.

 

I see a lot of search results for various ways, but so far nothing cross-platform.

 

Thanks!

Don

onChange event

$
0
0

I want to have an onChange event fire whenever a user changes the value in a textInput control and tabs or mouses out of it. This is a very simple thing to do in HTML but I can't seem to find the equivalent in ActionScript 3.

Flash Builder 4.6 Java Heap Space Error

$
0
0

Hi,

 

I get this error "Java Heap Space" when trying to clean build (or build in any way) my project.

 

I have a lot of embeded assets (png, mp3 and some binary files embeded to be read as a ByteArray) which total about 37 MB. Including one more 1.6MB binary asset causes this error to occur.

 

I have tried to change my memory settings about (-Xmx and -Xms) as previous posts have suggested but this doesn't seem to make any difference.

 

Is there any patch or solution to this very frustrating limitation of Flash Builder?

 

Thanks for any help!

Tom

Flex 3 Style Explorer gone?

Flex Mobile - Alert and Information Popup Boxes

$
0
0

Since a Android-looking popup box doesn't yet exist in the Hero SDK, I thought I would put a pretty good looking component together.

 

You can download it (and the sample code) here:

 

http://www.digitalretro.tv/components/InformationBoxTest.fxp

 

A real simple example in in the project, for both an Info and an Alert.

 

I currently only support an "OK" button, but I will be adding a Yes/No and OK/Cancel later this week.

 

Hopefully this will save someone some time.

 

Enjoy and feel free to use this in your code (commercial or non-commercial), just leave the copyright code in the component source file in place.

 

Thanks.

 

Darren

How to get SWF???

$
0
0

Hi,

    I need generate swf in flex application like i have save function using file refference.If i click the save button the particular component generate as SWF is this passible in flex????????????????


Flash Builder 4 Plugin for Eclipse

$
0
0

Flash Builder 4 is now shipping....

How about "Flash Builder 4 Plugin for Eclipse"?

 

Anybody know it is released or not? Thanks.

How to iterate through arraycollection in flex

$
0
0

How to iterate through arraycollection in flex

Future of Flash Builder

Combobox for flex 4.5 mobile

$
0
0

I understand that there is no combobox control for mobile.

1. why can't i use the spark combobox? i've added it to the window and it looks ok in android.

2. how can i develope my own? are there any samples of creating a custom combobox in spark?

3. can my combobox have a look like the drop down in iphone? how can i skin it for andorid and for iphone.

a lot of questions....the lack of a combobox\dropdown is quite wierd for flex in mobile.

Help with performance

$
0
0

Hi all,

We are doing multiple calculations inline (actionScript) after getting data from oracle db. Each item is added to an arrayCollection after doing the calcualtion stored in an Object like:

                tempObject = new Object();

                tempObject.ID = 1;

                tempObject.DESC = "Calculation 0ne";

                tempObject.NAME = 'Name one';

                for (i=1; i <= yearsLength; i++){ //Where yearsLength is an arrayCollection with 10 years

                    tempObject["YEAR_" + i] = acArrayDB[0].ITEM1 * acArrayDB[0].ITEM4 / acSummary[34].TOTAL_ITEM;

                }

                acSummary.addItem(tempObject);

We have more than 150 calculations in a page and it is taking a long time to load. Is this a good way to do it or it is a better way?

Thanks.

Check Flash installed or not in Flex

$
0
0

Hi,

    I need to check whether flash insatlled or not using Flex.

 

Thanks & Regards,

Jayagopal.

How do you measure performance of an item renderer?

$
0
0

I'm creating an ItemRenderer in Flex 4.6 and I want to know how to measure total time to create, view and render an item renderer and how long it takes to view and render that item renderer when it's being reused.

 

I just watched the video, Performance Tips and Tricks for Flex and Flash Development and it describes the creation time, validation time and render time and also the reset time. This is described at 36:43 and 40:25.

 

I'm looking for a way to get numbers in milliseconds for total item renderer render time and reset time (what is being done in the video). 


[Flex 4.5.1] How to remove focus from TextInput on mouse click outside of it?

$
0
0

For me clicking outside of a TextInput should always remove focus from it, only only if you click on another TextInput or Button.

 

I don't see any simple event like MouseEvent.MOUSE_CLICK_OUTSIDE - which would definitely simplify things.. I wonder why there isn't such event. Well anyway I can't find any other similar event and I can't figure out an easy way to do this. I also wonder why I couldn't find a solution to this on the web easily... Well anyway...

 

Does someone know how to do that in a convenient way?

 

Thanks!

Converting Array Objects into ArrayCollections

$
0
0

Hi,

 

I am facing problem with converting Array Objects into ArrayCollections. How can i convert Array Objects into ArrayCollections. If any one knows how can we do that Pl reply.

 

Thanks in advance to all

 

Regards

---------

subbareddy.p

Spark Datagrid - center a column?

$
0
0

Started using the spark datagrid and was a little taken aback when centering a column in the grid turned into a google search

eh?

Its such a simple thing... whatever happened to textalign="center"

??

UndoManager loses the list of undo/redo commands when TextArea is focused out.

$
0
0

Good day.

I'm struggling with the TLF UndoManager. All is well when working only with the text component, but when it loses focus, and then gains it back, i cannot undo/redo anything.

I've seen someone post a backdoor with

use namespace mx_internal;                              RichEditableText(textArea.textDisplay).clearUndoOnFocusOut = false

But it does not help, nor does it give an error.

 

Currently implementing my own UndoManager and just silencing the built-in one, but still hoping to make this work and not re-invent the wheel.

If anyone has encountered this problem, can you please show me the solution?

Cannot launch FB release.

$
0
0

hi,

 

I installed the Flash Builder release (standalone for Windows) in my desktop. But I failed to launch it. I caught some messages in log file. Can anyone give me some suggestion? Thanks.

 

!SESSION 2010-03-23 17:05:00.747 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

 

!ENTRY org.eclipse.equinox.ds 4 0 2010-03-23 17:05:01.184
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.equinox.internal.util.event; version="1.0.0"
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverEr ror(AbstractBundle.java:1313)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolution FailureException(AbstractBundle.java:1297)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl eHost.java:309)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(Abstra ctBundle.java:370)
    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Frame work.java:1068)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund les(StartLevelManager.java:557)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(St artLevelManager.java:464)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStart Level(StartLevelManager.java:248)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEv ent(StartLevelManager.java:445)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventM anager.java:227)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even tManager.java:337)

Viewing all 263 articles
Browse latest View live