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

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.


Flex4 How to set background image in Vgroup..?

$
0
0

Hi.,

 

        I have using v flex 4 vgroup to set background image., but image was not display.. any change my code.,

 

<fx:Style>

      .backgroundImage
        {
            color:#808080;
            fontWeight:bold;
            fontSize:18;
            fontStyle:italic;
            contentBackgroundColor : #FFFFFF ;
            backgroundImage:Embed("assets/Green Apple.jpeg");
          
        }

</fx:Style>

<s:VGroup paddingBottom="10" width="100%"  height="600" paddingTop="10"  styleName="backgroundImage">
   
    <s:Label text="hai hai hai">
         </s:Label>
       </s:VGroup>

 

any solution to solve this....

 

With Regards.,

LinFlex-

Spark TitleWindow showCloseButton?

$
0
0

In the new Spark TitleWindow how can you programmatically show/not show the close button?  I don't see the showCloseButton as was in Halo.  In the skin I can set visible = false, but for a global custom component this won't work.

 

Thanks,

John

How to iterate through arraycollection in flex

$
0
0

How to iterate through arraycollection in flex

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

Future of Flash Builder

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

Check Flash installed or not in Flex

$
0
0

Hi,

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

 

Thanks & Regards,

Jayagopal.


Flash Builder 4 installation fail

$
0
0

Unable to install Flah Builder, bad start...

 

Here the message, there no log file in C:Common Files, any idea?

 

Exit Code: 7

 


-------------------------------------- Summary --------------------------------------

 


- 0 fatal error(s), 16 error(s), 14 warning(s)

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


WARNING: Payload cannot be installed due to dependent operation failure

 


ERROR: The following payload errors were found during install:

 


ERROR:  - Microsoft_VC90_ATL_x86: Install failed

 


ERROR:  - Microsoft_VC90_CRT_x86: Install failed

 


ERROR:  - Microsoft_VC80_ATL_x86: Install failed

 


ERROR:  - Adobe Flash Builder: Install failed

 


ERROR:  - Adobe Player for Embedding: Install failed

 


ERROR:  - Suite Shared Configuration CS5: Install failed

 


ERROR:  - AdobeHelp: Install failed

 


ERROR:  - Adobe Flash Player 10 ActiveX: Install failed

 


ERROR:  - Microsoft_VC90_MFC_x86: Install failed

 


ERROR:  - AdobeTypeSupport CS5: Install failed

 


ERROR:  - Microsoft_VC80_CRT_x86: Install failed

 


ERROR:  - AdobeCMaps CS5: Install failed

 


ERROR:  - Microsoft_VC80_MFC_x86: Install failed

 


ERROR:  - Microsoft_VC80_MFCLOC_x86: Install failed

 


ERROR:  - Adobe Flash Player 10 Plugin: Install failed

 


---------------------------------------------------------------------- ---------------

Using findAny cursor method

$
0
0

I am using a sort and an IviewCursor to find data in arrayCollection. My goal is to find all lines in the arrayCollection matching a specific combination of keys. So I use the findAny method of my cursor to do it. As I can see in debug mode only the last occurrence of my keys combination trigger the function code of my listener.

 

Here is my code:

 

var data:Object              = DataGridListData(listData);

var indicePaire:int          = new int();

var startDate:Date           = null;

var totLigne:String          = new String();

var pairesSort:Sort          = new Sort();

var pairesCursor:IViewCursor = this.document.lesPairesWork.createCursor();

var initConfirme:String      = "1";

var myKostl:String           = "1";

                   

theIndice  = event.currentTarget.id.substr(event.currentTarget.id.length-1,1);

startDate  = lasseUtiGenerale.trsfStringToDate(this.document.formatDate, this.document.dateDebutFLEX);

dateTraite = dateField.dateToString(classeUtiGenerale.dateMouvement(startDate,theI ndice),"YYYYMMDD");

dateTraiteSAP        = dateTraite;

                   

data                 = data.item;

noMatriculePaires    = data["Matricule"];

totLigne             = data["TypeLigne"];

 

this.document.pairesTempsOri.removeAll();

 

pairesSort.fields = [ new SortField( "PernrChar", true ), new SortField( "ZcatsdateChar", true ), new SortField( "Statut", true ),  new SortField( "StatutKostl", true ) ];

                   

this.document.lesPairesWork.sort = pairesSort;

                   

this.document.lesPairesWork.refresh();

 

pairesCursor.addEventListener( FlexEvent.CURSOR_UPDATE, addPaireHeures );

                   

pairesCursor.findAny( { PernrChar:noMatriculePaires, ZcatsdateChar:dateTraite, Statut:initConfirme, StatutKostl:myKostl } );

 

I am not an expert of Flex and maybe I am not using the good way to get what I want.

 

Help required.

 

Regards,

Flex mobile app for Kindle Fire? is it possible?

$
0
0

Hi, I read this in the kindle amazon developer faq, is it possible to develop Flex 4.6 mobile apps for Kindle fire?  even thought it doesn't show up in the

list of devices?

any Gotcha's I need to look out for?

Is Adobe AIR pre-installed on Kindle Fire?

Yes, developers can publish Adobe AIR 3 applications for the Kindle Fire by packaging them as ‘captive runtime’ applications. However, these captive runtime applications will not support on-device debugging.

 

thanks,

How to find an ArrayCollection item with a specific property value in flex4

$
0
0

Hi all,

 

private var collection:ArrayCollection = new ArrayCollection([

                                        {id:"1", stuff:"whatever1"},

                                        {id:"2", stuff:"whatever2"},

                                        {id:"3", stuff:"whatever3"}

  {id:"4", stuff:"whatever4"},

  {id:"5", stuff:"whatever5"},

  {id:"6", stuff:"whatever6"}

                              ]);

 

i have id=2 of specific property value  now i need to find item

Goodbye Flex, Hello Ruby on Rails

$
0
0

Adobe announced it is halting development of Flash Player for mobile in the browser, but it will continue support for AIR on mobile devices.

 

Will Flex survive long term? I have my doubts.

 

I'll still develop my skills in Flex and see what happens with Flex 5, but I'll also start studying Ruby on Rails, which I actually dislike because it seems so obscure, but there are more jobs in RoR and I hear the pay rates are better.

 

Good job Adobe. Glad to see you're able to get the job done! Not.

Native Drag And Drop

$
0
0

Hi All,

 

I have an air project in which I am loading swf based html file using HTML inside Flex Spark Window class which get open after clicking a button.

Is there any means by which I can add native drag and drop support to that SWF based HTML file.

Any help will be appreciated.

Thanks In advance.

ActionScript 3 language reference pages don't show public properties/methods/events

$
0
0

I'm trying to find the methods in the interface IList (among others), however they are not listed on this page: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/ collections/IList.html

 

There are links for inherited public methods, which displays the methods from IEventDispatcher just fine.

 

Inspecting the DOM, I can see that the elements for the IList methods exist, but they're all set to display:none. So, either the default CSS is not showing these, or there is some link somewhere that I can't find that will show these.

 

I've seen the same behavior on several other pages, such as:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/ collections/ArrayCollection.html

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/ collections/ListCollectionView.html

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/ collections/ICollectionView.html

 

Same behavior on Chrome/IE/FirefoxMissingPublicMethods.png

 

Screenshot of what I see for IList attached.


column chart solid color stroke with fillfunction

$
0
0

Hi,

in a column chart I am using the fillfunction,

to customize the color of each column.

 

Now I need to modify,

for each column also the solid color stroke,

but I can't figure how can I do that.

 

Some one can help me ?

 

Thanks a lot

 

Jody

Flex 4.6 SDK, "MX Only" ViewStack compiler Dilemma

$
0
0

I am attempting to upgrade a application built with Flex 3.5 SDK to use the 4.6 SDK. The main reason for the upgrade is to allow for captive Runtime and ANE support for an installed app, which according to documentatio is only available together with 4.6 or later. In the interest of not having to change a great deal of code, I am attempting to compile with the "MX Only" library support. When I compile, I get errors that children of ViewStack must implement the INavigatorContent interface. Looking at the documentation, the children I am using (Canvas) does implement this Interface. In a work around attempt, I created a class that Extends Canvas and Implements INavigatorContent.

 


public class ViewStackCanvas extends Canvas implements INavigatorContent

 

Then I get the errors "Interface method createDeferredContent in namespace mx.core:IDeferredContentOwner not implemented by class" & "Interface method get deferredContentCreated in namespace mx.core:IDeferredContentOwner not implemented by class ". So I add the methods mentioned:

 



public function createDeferredContent():void {}


public function get deferredContentCreated():Boolean {return false;}

 

then get the error "Overriding a function that is not marked for override". So, then I mark them as override methods:

 



public override function createDeferredContent():void {}


public override function get deferredContentCreated():Boolean {return false;}

 

then I get the error "Method marked override must override another method".

 

It seems the only way to get rid of this compiler error is to use the spark.NavigatorContent class, which would require me to use spark, which results in pages of errors that would need to be worked around. Has anyone found a simplier way to fix this error, since according to the documentation Canvas extends Container which implements INavigatorContent, and compiled in flex 3, so there appears to be no reason for the compiler error to begin with.

Could not resolve to a component implementation firstView="views.MyApp

$
0
0

Hi,

Am getting an error message Could not resolve <s:ViewNavigatorApplication> to a component  implementation firstView="views.MyAppHomeView"> Am trying the following mxml code.

 

[exec] Loading configuration file C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\blackberry-tablet-sdk-1.0.1\frameworks\air-config.xml     
[exec] C:\MyApp\src\MyPBApp.mxml(7): Error: Could not resolve <s:ViewNavigatorApplication> to a component implementation.     
[exec] firstView="views.MyAppHomeView"> 

Here's my MyApp.mxml

 

<?xml version="1.0" encoding="utf-8"?><s:ViewNavigatorApplication      xmlns:fx="http://ns.adobe.com/mxml/2009"      xmlns:s="library://ns.adobe.com/flex/spark"      xmlns:mx="library://ns.adobe.com/flex/mx"     firstView="views.MyAppHomeView">     <fx:Style source="MyApp.css"/>     <fx:Declarations>          <!-- Place non-visual elements (e.g., services, value objects) here -->     </fx:Declarations></s:ViewNavigatorApplication>

 

 

and, here's the compile target of my build file

 

<target name="compile">         <!-- Run the AIR compiler to compile the application, including the PlayBook SDK AIR config -->                   <exec executable="${playbook-sdk}/bin/amxmlc.bat" dir="${src.dir}">                        <arg value="-load-config"/>                        <arg value="${playbook-sdk}/frameworks/air-config.xml"/>                    <arg value="-swf-version=10"/>                        <arg value="-source-path+=${src.dir}"/>                        <arg value="-compiler.library-path+=${playbook-sdk}/frameworks/libs"/>                        <arg value="-compiler.library-path+=${lib.dir}"/>                        <arg value="-compiler.debug=false"/>                        <arg value="-output"/>                        <arg value="${build-dir}/${app-swf}"/>                        <arg value="${src.dir}/${app-name}.mxml"/>                   </exec>    </target>

 

Any ideas why it cannot find that componenet?

 

Take screen shot with AIR application

$
0
0

Hi,
Anybody know about how to capture screen shot of our screen with an desktop AIR application? I need to create an desktop app with screenshot taking feature.

 

Thanks

how to flip an image

$
0
0

hi

 

is it possible to flip an image in right to left direction...

if so..please reply me..

 

 

 

Thanks

Saritha

Viewing all 263 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>