Quantcast
Channel: Adobe Community : Discussion List - Using Flash Builder
Viewing all 1802 articles
Browse latest View live

AS3 TextField and TextFormat memory leak “other bitmap memory”

$
0
0

I've run into a memory leak problem during programming AS3.

 

 

I try to format a text in as3 and adding it to the stage, but there happens something crazy.

 

 

This is a part of my code:

 

var format:TextFormat = new TextFormat();        format.size = 60;        var t:TextField = new TextField();        t.autoSize = TextFieldAutoSize.LEFT;        t.text = "WWWWWWWWWWWWWWWW";        t.setTextFormat(format);        t.scaleX = 1;        t.scaleY = 1;        this.addChild(t);

 

The moment I add this textfield to my stage and check the memory usage with adobe scout CC the "other bitmap memory" shows nothing weird and acts just fine.

 

 

BUT...

 

 

When I run this code and add a capital W to the text the "other bitmap memory" goes crazy.

 

 

The crazy thing is when I add a letter I to the text it just runs normal.

 

 

I think it has something to do with the width or the size of the font. Increasing the font size will give the same problems.

 

 

Does anyone now how to prevent this problem???

 

 

Im working with adobe flash builder 4.7 and adobe scout cc.


Is Flash Builder the main Flash program

$
0
0

Is Flash Builder the main Flash program or should I use Flash ProfessionalCC?

Create a new project..

Need very basic tutorial for actionscript3 and Flash Builder?

$
0
0

I'm VERY new to coding, only 17 wishing to persure computer science when i'm older.

 

My issue is on adobe CC website all the tutorials require intermediate experience and I have none, however, i'm very passionate and think i will thrive with this new hobby.

 

Anyone know any tutorials on where you start with very basic basics in these applications?

 

Thanks

Reworking a legacy Project that has a .air generated application

$
0
0

Hi,

 

I am new to the Adobe SW solutions and have a few basic questions.

 

Background.

The small company where I now work has a software team of 1, and that is now me.

In 2011 a previous Developer here created a .air target application that was delivered to customers and is currently still in use.

Some aspects of this application never worked properly and I have been tasked with fixing this.

From my investigation it seems the problems are limited to incorrect queries on the database so hopefully it should not be so hard.

The previous development was done on a personal Macbook so this is gone and I need to start new.

I have imported the project into FB 4.7 and am in process of understanding what is there, the structure and how it has been developed.

 

Questions.

1. Is Flash Builder the correct tool to build a .air application?

 

2. I have just started the trial with Flash Builder 4.7 Premium 64 bit. Assuming the answer to Qu1 is affirmative then the company will buy the license just I need to advise whether we need the standard or premium version and right now I dont know how to decide. What specifics should I be concentrating on when making my recommendation?

 

3. When I develop with 64 bit FB can I generate an application for a 32 bit target machine?

 

4. Could there an impact on the legacy application if the customer installed Adobe Air is updated to the current version?

 

Regards,

IconItemRenderer decorator

$
0
0

Hello. Recently I have just started working with Flex. I have one problem. Basically, I have the list with IconItemRender decorator. But it is not full.

How do I make it full. Attached is the image difference. The left one is what I have done. The right is the one I wish to do.Untitled.png

Will there ever be a version beyond 4.7 of Flash Builder?

$
0
0

I'm sorry if this sounds snippy but I am primarily a flex developer on the front end and c# on the backend. I have been waiting patiently for adobe to put out some news about an update to flash builder but haven't heard anything in the last couple of years. The last thing was the flash "roadmap" and that only says that Adobe will continue to support flash builder.

 

So, since there is no way to get in touch with anyone at adobe I'm posting here.

 

ADOBE, TELL US WHAT THE PLAN IS!!!

 

I am currently faced with a decision whether to continue with flex at all and in the absence of any news from Adobe I may have to quit my creative cloud subscription and go with Xamarin. While more expensive it also provides much more native functionality than flex and it isn't perpetually a rev behind. I also can use visual studio for tooling so I won't be waiting for and putting up with the shortcomings of an IDE that is never updated.

 

If Adobe cares to retain customers that are flex centric and not using flash pro to make games, they need to explain what the plan for the tool chain is. Otherwise guys like me who have been over a decade into flash platform will just leave.

How to remove border of a actionContent

$
0
0

Hi,

 

If I add button in actionContent in the actionBar, it hows vertical border next to button, I need to get rid of it!! any help/tip/code sample will be appriciated....

 

Thanks


I have a licence for Master collection 6 windows and I switched to mac. Can I switch the serial some

$
0
0

I have a licence for Master collection 6 windows and I switched to mac. Can I switch the serial somehow so I would be able to use it in my mac?

FB 4.7 publish in flashIDE workers not sending/receiving + FB 4.7 access to embedded files

$
0
0

Alright, this have been a painful day trying to solve this and I am pulling my hair out.

So I decided to download the FB4.7 trial for some test with AIR13, and after an indecent amount of hours trying to install the latest player and android sdk (why the hell isn't it like in the IDE?), I have 2 major issues and so far not impressed at all by FB4.7.

 

I have developped a project using the Flash IDE. Everything works perfectly BUT the workers. I don't get any error message, and my app doesn't trace the messages I'm supposed to receive from a worker. To be sure I coded that properly, I created a test project in FB4.7, copied pasted my code and my worker is working and I can trace messages sent and received from the worker to my main app. Why don't i see these traces when I fire my app from the IDE ? If i can't test workers in the IDE, this is a major issue. It doesn't even throw any error, just doesn't trace anything.

 

Sooooo because It wouldn't work in the IDE, I copied my files to another location, created a project in FB4.7. If I run/debug in FB4.7 the worker works, but now I am unable to access embedded files in the app. In Flash IDE, I embed a folder that contains a bunch of files, and can access the file with 'app:/folder/file', which was very usefull because I have a ton of assets and this is the softest solution not to have a stupid class with 200 [Embed.. ] ******** hardcoded lines.

 

So question 1 : how to have worker working in Flash IDE ?

And question 2, if question 1 is a no go : since I do not want to modify my working code (in the IDE), how can I have the same behavior debugging from FB4.7 when it comes to using 'app:/' ?

 

Also, just a notice about this sketchy forums, If I go back to my own post, the view count increment (lol). Let me know if this is coded in CF cause it looks like someone doesn't know about sessions

Using Captivate 6 files in Flash Builder?

$
0
0

Hello.

 

I built a short quiz in Captivate 6 and published the project in HTML5 files and as an SWF file. I'm working on a flex mobile project in Flash Builder 4.6 and  I want to incorporate the Captivate quiz into this project. I can load the SWF using <s:SWFLoader id="loader" source="quiz/quiz.swf" />, but when I run the application the file doesn't play. When I use the debug tool, I receive the following error:

[SWF] CMT.swf - 3,695,040 bytes after decompression

[SWF] quiz/quiz.swf - 1,507,465 bytes after decompression

[SWF] quiz/quiz.swf/[[DYNAMIC]]/1 - 18,058 bytes after decompression

TypeError: Error #1009: Cannot access a property or method of a null object reference.

          at Function/<anonymous>()

 

Information from the view that the SWF file is loaded into:

<?xml version="1.0" encoding="utf-8"?>

<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"

                    xmlns:s="library://ns.adobe.com/flex/spark"

                    title="'{data}' Test">

 

 

          <fx:Declarations>

                    <!-- Place non-visual elements (e.g., services, value objects) here -->

          </fx:Declarations>

 

 

          <s:SWFLoader id="loader" source="quiz/quiz.swf" />

 

</s:View>

 

 

I'm not sure how to go about fixing this problem. Is it just not possible to incorporate an SWF file not produced in Adobe Flash ? If so, would I be able to incorporate the HTML5 files instead?

 

 

Thank you for any help you could provide!

TJ

Looking for an app

$
0
0

I am wanting a branded app that can upload selected photos/videos from phone to server.  Can Adobe products build this?

Flex Builder 3 UI Broken in WIN7 64bit

$
0
0

1.PNG

Flex Builder 3 SDK 3.5

WIN7 64bit

How activate Adobe Flex Builder 3

$
0
0

Hi,

 

I'm using the Flex 2 SDK from Adobe Flex Builder in trial version.

I would buy the license but I can't buy it.

I 've looked at the new Adobe Flash Builder but this doesn't include SDK 2.

 

How I can get the license?

 

Thank you

How to add selection event, change event and click event for dropdownlist for mobile applications

$
0
0

Please someone help me in writng selection , click and change events for dropdownlist in flex for mobile applications . i have tried but i wasn't able to select the items in dropdown using my mouse or touch in my mobile . Please help me I am struck at this point and i am unable to get solution gfor this. Please................

 

Some code for which i neederd help:

 

<s:DropDownList id="ddlBranch" x="257" y="475" width="63%" height="80%"

                                creationComplete="ddlBranch_creationCompleteHandler(event)"

                                fontFamily="Calibri" fontSize="24"

                                labelField="BranchName"

                                prompt="{ddlBranch.selectedItem}"

                                requireSelection="true"

                                selectionColor="#7ab342">

                    <s:AsyncListView list="{getBranchResult.lastResult}"/>

                </s:DropDownList>

 

<s:DropDownList id="ddlZone" x="257" y="546" width="63%" height="80%"

                                creationComplete="ddlZone_creationCompleteHandler(event)"

                                fontFamily="Calibri" fontSize="24"

                                labelField="ZoneName"

                                prompt="{ddlZone.selectedItem}"

                                requireSelection="true"

                                selectionColor="#7ab342">

                    <s:AsyncListView list="{getZoneResult.lastResult}"/>

                </s:DropDownList>

 

I will get the list of Branches(first DDL) and Zones(Second DDL) from a webservice written in DOT(.)NET,  what i needded is touch events and selection events for both the dropdown lists and the data in the second DropDown List should bind based on the First Dropdown list item selected.

 

Service call for binding data to DDL:

 

protected function ddlBranch_creationCompleteHandler(event:FlexEvent):void

            {

               

                getBranchResult.token = loginService.getBranch();

            }

           

            protected function ddlZone_creationCompleteHandler(event:FlexEvent):void

            {

                getZoneResult.token = loginService.getZone();

            }

 

Please help...

Thank you.


Submitting Form Data HTTPService

$
0
0

I would appreciate some help with this.  I am using Flash Builder 4.6 and I am trying to submit some form data to a php file so the php file can send an email.  I am not that experienced with this and was hoping someone can show me what I am doing wrong.  I am not too concerned about the lack of security in the php file yet as I am still trying to get it to send the email.

 

Here is the Flex Code:     

 

 

 

            <![CDATA[

            import mx.rpc.events.ResultEvent;

            import mx.rpc.events.FaultEvent;

            import mx.controls.Alert;

                                   

            publicfunction handlePlain(event:ResultEvent):void

            {

            Alert.show("OK Good");

            }

                                   

            publicfunction handleFault(event:FaultEvent):void

            {

            Alert.show(event.fault.faultString, "Error");

            }

            ]]>

</fx:Script>

           

           

<fx:Declarations>

 

<s:HTTPService id="login_email"

               result="handlePlain(event);"

               fault="handleFault(event);"

               method="POST"

               url="http://mydomain.com/email.php"

               useProxy="false">

 

<mx:request xmlns="">

            <firstname>{first_name.text}</firstname>

            <lastname>{last_name.text}</lastname>

            <email>{email.text}</email>

            <comment>{comments.text}</comment>

            </mx:request>       

 

</s:HTTPService>

                       

 

 

 

 

 

 

 

 

Here is the PHP File:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

 

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

</head>

 

<body>

 

<?php

 

            $first = $_POST['first_name'];

            $last = $_POST['last_name'};

            $email = $_POST['email'];

            $comments = $_POST['comments'];

           

            $to = 'myemailaddress@aol.com';

            $subject = 'Contact from EPK';

            $msg =  "$first\n"."$last\n"."email\n"."comments\n";

                                   

            mail($to, $subject, $msg, 'From: ".$email);

           

?>                  

</body>

</html>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Any help would be greatly appreciated.

Thanks

Upgrading SVNKIT

$
0
0

I have Flash Builder 4.7 installed on Mac OSX Mavericks (10.9).  I am getting errors when accessing the SVN server we use, that has been working fine for a while.  Message is that the SVN 1.7 wil not work with SVNKIT 1.3.x.  So I installed SVNKIT 1.8.x, but it does not change in the SVN Interface drop-down.  I tried deleting the svnkit 1.8.x and now I do not see the option in the drop-down, but I cannot install the plugin again, becasue it says it already is installed.  How can I clean up the config files for Flash builder so it doesn't think this is still installed.  Hopefully that will allow me to choose the new svnkit fromthe drop down.


Thanks,

 

Jeff

Are there an ebook for Flex 4.6 ?

$
0
0

Dear Sir,

Do you know an ebook for Flex 4.6 ? Or an Used book ?

Would you like to send me links please ?

Best Regards

 

Mursit Hakan Cil

Compilation with ant of AIRSDK4.0

$
0
0

I've been developing on FlashBuilder4.6 (AIRSDK3.5) now.

 

I was among the build from compiled using ant.

 

Should be changed to 3.5 to 4.0 the AIRSDK me.

 

However, I will fail to compile in the method of until now.

I will fail in part of <mxmlc> of ant.

 

Will it need a new setting option?

Do I need additional settings such as the FLEX_HOME for AIRSDK?

 

Please tell me if you know.

Can I use AIR4.0 in FlashBuilder 4.6?

$
0
0

I've been developing on FlashBuilder4.6 (AIRSDK3.5) now.

 

Should be changed to 3.5 to 4.0 the AIRSDK me.

 

However, I have failed in the way until now. (Copy AIRSDK in FLEXSDK)

(Compile I get an error when you create a class of skin)

 

The procedure, how they are used in FlashBuilder4.7. Wrote.

http://helpx.adobe.com/en/flash-player/release-note/fp_12_air_4_release_notes.html

Of "Authoring Guidelines"

 

AIR4.0 Would not I use in FlashBuilder4.6?

 

Please let me know if you find some way to avoid.

Viewing all 1802 articles
Browse latest View live


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