Quantcast
Channel: Adobe Community : Popular Discussions - Using Flash Builder
Viewing all 70427 articles
Browse latest View live

No Design Mode in Flash Builder 4.7

$
0
0

It took me many hours to figure this out so I thought I would share what I discovered to make it easier on others.

 

1.  Flash Builder 4.7 no longer has Design Mode (being able to design forms graphically).  4.6 was the last version to support it.

 

2.  Adobe will not sell you 4.6 (or 4.5).  They only sell 4.7.  They suggest you find a retailer who has an old box.

 

3.  Don't bother complaining, the word is "real programmers don't use design mode".

 

4.  I called support yesterday to get some questions answered.  I was told the wait time is over 2 hours and I can't leave a callback number.  (At least at that time, they only let you leave a callback number for product returns - which I also did.)

 

I spent over 8 hours on this yesterday at a cost, in terms of lost revenue, of 4 figures.  I hope this saves you some time.

 

Blake


Code coverage plugin - no packages in report

$
0
0

I have FB 4.7 Premium Trial Edition on Windows 7 64-bit. I have FlashPlayer 11 in IE 8. I have installed the code coverage jar into the config folder as directed. In the coverage perspective the coverage tool says "Listening..." and then "Stopped.." as expected, but when I click on the "Generate Report" button the Current Report view appears, but there is nothing in it.

 

I can debug the app, stop at breakpoints, etc, so I'm pretty sure the requirements for debuggable code and FlashPlayer are met.

 

Any ideas why this is not working?

App with flash and video

$
0
0

I´m producing a app for ipad and iphone in flash (air for ios). But i need that this app can include a video, When I instal the app in the ipad the video don´t exist. Please how can I dit it correctly

No Audio on mp4 Files on Android with ICS. IOS works fine

$
0
0

Hi all,

 

We are in the process of porting an air app to mobile devices. There are a number of help videos in our app which we are loading in from vimeo. Initially our Android app played the videos really well. This was just using the VideoDisplay component (which I know is not optimised for mobile but was working great). As all seemed well with the Android app we moved on to solve the problem of getting video to work on IOS. We ultimately achieved this using stage video and our solution is working very well. In the mean time the Android 4.0 (Ice Cream Sandwich) update was released for my testing tablet (an Asus Transformer TF101). This update has somehow affected the way our app played video. Post-update, the video would play but no audio would come through. After becoming aware of this we moved to develop a Stage Video solution to see if this would rectify the issue. Ultimately this solution performed even worse by not displaying the video or the audio but just showing a black rectangle where the video should be. I know the Stage Video solution is coded correctly as the same code works fine on the iPad and Flash player.

 

It should be noted all of these test were performed with .mp4 files, both local to the app and remote. This led me to try a different video format so I tried  .flv file remotely and this worked perfectly with the VideoDisplay component. However it still worked poorly with the StageVideo solution, only showing a black rectangle but this time with audio.

 

I'm completely confused by all of this. I'm assuming there is some sort of bug going on that I can't get any .mp4 files to play with sound. Can anyone shed any light on this? What is the most reliable way to implement Video on Android (especially Ice Cream Sandwich)?

Error: "error occurred while packaging the appplication"

$
0
0

Hello,

 

I get an error while generating an IPA using Flash Builder 4.5

project -> releasebuild -> Apple iOS -> continue

-> select ...p12 and ....mobileprovision  ->final release -> finish ->  Error: "error occurred while packaging the appplication"

 

I am using Windows 7 64bit and was creating an as3-mobile-project.

Could anyone halp me?

 

greets Flo

Spark DataGrid scrollToIndex?

$
0
0

In Flex I used to use the dataGrid.scrollToIndex(XX) to scroll down to a selected row.

 

I can't seem to get anything to work for the Spark DataGrid in FB4.5.  Searching around I tried to impliment this:

dataGrid.ensureCellIsVisible(selectedSlideIndex);

dataGrid.setSelectedIndex(selectedSlideIndex);

 

The selectedSlideIndex is set when a row is selected to store the int.

 

I can't get the DataGrid to scroll to the index, OR select the index..

 

So what is the Spark DataGrid version of the MX DataGrid.scrollToIndex?

Flash Builder 4.6 not opening in PC

$
0
0

HI there. I already read a lot of post talking about that problem happen on mac. My problem is that I am experience this on PC.

 

My flash builder have come with the adobe master collection, and I deleted the folder that was the flashbuilder worskpace and nothing, the same error.

 

When I try to open, it opens the startup screen and then close it with no error messages. Nothing more happens.

 

What I need to do?

Setting flash player launch in second monitor and maximized

$
0
0

I am using a dual monitor setup in development and using Windows 7. In Flash Builder, I have disabled html-template wrapper and my application launches in Flash Player. I want to set the launch location of Flash Player to my second monitor and it should be always in Maximized state.

Currently the problem is Flash Player launches at variable x,y co-ordinates and it is not in maximized state. Please help me to set it in Flash Builder or Flash Player, so that I don't have to waste my time in maximizing to see the screen and moving it to another monitor with different resolution.

 

 

Thx


Flash builder 4.7 upgrade issue from Flash builder 4.5 (key is not valid)

$
0
0

Hi,

 

      We (Company) are buying Adobe products more than 6-7 years now. We bought the Flash builder premium 4.5 and Flash builder premium 4.5 for PHP volume licence. Now flash builder 4.7 should be complementary upgrade for us. But when we are using Flash builder 4.7 trial version and adding serial number (Flash builder 4.5 serial number), it's just not working and showing a error "key is not valid".

 

I chat with Adobe customer care 4 different people, they end up saying that let us transfer you to volume licence department and then chat ended. No more chat messages, I checked more than one hour and still no message.

 

Then I called they, it took 15 mins to connect with customer care. I picked the "upgrade" option from phone menu and then connected with a guy. After listening complete case he forwarded my call to Volume licence executive and the volume licence executive transferred it to some other guy and the other guy redirect it to some specialized person. So total 4 guys. The last guy (specialized) name was Rohit.

 

This guy Rohit asked me, did I buy a customer support programme (some product about $2.nn.00 )? I said no, we bought volume licenses for Flash builder premium 4.5 ( about $4000.00 ****). He said, sorry sir I can not help you in this, but I can provide you an e-mail address and you can report your concern there. I already passed my 1.5 hour in this conversation. I said okie. He gave me a case number and told me that he will send a email mentioning that email address as per my request I disconnect the phone.

 

I never get that email address.

 

Can some one suggest me what to do next. My case number is : 209-788-274.

My email is: amitabharya23@live.com

 

Thanks,

Amitabh Arya

How do I deactivate Flash Builder AFTER System Upgrade or new hardware (harddisk) installation?

$
0
0

When a machine with a Flashbuilder installation crashes or is wiped or when a harddisk is replaced etc. I have not found a way to get the deactivate menu item active again... So is this activation lost forever?

Flash Builder 4.7 crashes on start up constantly. Mac OSX 10.9

$
0
0

I am having many issues using Flash Builder at the moment. I am using Flash Builder 4.7 on Mac OSX 10.9 (Mavericks). My Java version is Version 7 update 51. The JRE is 1.7

 

The first problem is that the program has begun to crash on start up. The workspace opens for a second or two and then crashes with no error or log. This is now happening constantly.

 

On the occasions when it does start up within around 5 minutes I receive an 'Unexpected character. " is not allowed here'. There are no characters at all at the point the error suggests.

 

The Problems tab says that the unexpected character is on the last line, there is only a } and then nothing following. It doesn't matter what code I am working on, this error happens on all of them. It also gives multiple sets of these errors. On one occasion there were 169 errors relating to the unexpected character.

 

With these errors, Flash Builder is currently unusable. I would appreciate any assistance that can be given.

 

I noticed on the system requirements that OSX Mavericks is not listed, does anyone know if there will be an update to Flash Builder soon?

 

Regards

 

Richard

Data/Services nested VO error

$
0
0

Hi,

 

I'm using Doctrine with Zend Amf and Flash Builder for PHP. It's working just great!

 

Today I ran into an issue I don't understand. I'm nesting a VO within another VO. A Kvitto is within a Booking. This usually works as expected. I've done this in other parts of the app I'm building but now I'm getting this.

 

Main Thread (Suspended: ReferenceError: Error #1065: Variable Kvitto is not defined.)
global/flash.utils::getDefinitionByName [no source]
com.adobe.serializers.utility::TypeUtility$/getArrayType
com.adobe.serializers.utility::TypeUtility$/assignProperty
com.adobe.serializers.utility::TypeUtility$/convertToStrongType
com.adobe.serializers.utility::TypeUtility$/convertListToStrongType
com.adobe.serializers.utility::TypeUtility$/convertResultHandler
mx.rpc.remoting::Operation/http://www.adobe.com/2006/flex/mx/internal::processResult
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler
mx.rpc::Responder/result
mx.rpc::AsyncRequest/acknowledge
NetConnectionMessageResponder/resultHandler
mx.messaging::MessageResponder/result

 

When I compare the results sent back from PHP with Charles it all looks ok. My VO's nested the way they should. But somehow the serializing doesn't work out...

 

Kvitto is the name of my Actionscript VO so I know that it is the VO thats not defined. The Kvitto VO is generated automatically using the Data/Services tab in Flash Builder. To be able to map the Booking with a nested Kvitto I've first created a service call for just a Kvitto that I used to create the VO. Then I did the same for Booking and setting Kvitto as the type for the nested VO.

 

I've also made sure to create a instance of the VO so that the class should be included.

 

Please, please help me with this. Any clues would be much appreciated.

 

//Morgan

Has anyone implemented Facebook SSO on Android using Adobe AIR ANE?

$
0
0

Has Anyone implemented Facebook SSO on Android using Adobe AIR ANE?

 

All help would be appreciated

Adobe installer "failed to initialize" error.

$
0
0

I have been trying without success for 2 days to install the tr

ial version of Flash Builder 4 but cannot get past the following erro

r - displayed affter launching the Set-up.exe in the Adobe flash Builder 4 Standalone folder.

The following information is showing the PDApp.log file:

 

4/21/2010 15:38:09 [INFO] Setup - Build Version - 1.0.172.0
4/21/2010 15:38:09 [INFO] Setup - Logging Level verbosity Set  to 4
4/21/2010 15:38:09 [INFO] Setup - Start Adobe Setup
4/21/2010 15:38:09 [INFO] Setup - TimeLog: Bootstrapper Start
4/21/2010 15:38:09 [INFO] Setup - TimeLog: Start initial checks
4/21/2010 15:38:09 [INFO] Setup - Dictionary Path: C:\Documents and Settings\SW102124\My Documents\Adobe\Adobe Flash Builder 4 Standalone\resources\Dictionary\en_US\stringTable.zdct
4/21/2010 15:38:09 [INFO] PIM - Trying to access xml at path:C:\Documents and Settings\SW102124\My Documents\Adobe\Adobe Flash Builder 4 Standalone\resources\setup.xml
4/21/2010 15:38:09 [FATAL] PIM - Failed to Create XML instance : DOMDocument40 ADXML::initWithXMLPath Error:80040154
4/21/2010 15:38:09 [FATAL] Setup - Could not initialize ADXML object
4/21/2010 15:38:09 [FATAL] Setup - Unable to initialize. Error parsing setup.xml file
4/21/2010 15:38:09 [WARN] Setup - Reboot is pending from earlier installation.
4/21/2010 15:41:05 [INFO] Setup - End Adobe Setup. Exit code: 0

 

I am running XP service pack 2.

I have installed and continue to use Flex Builder 3.

Also running fully licensed copies of MS Vis Sudio 2005 and 2008, Adobe Master Collection CS4 and CS3; also trial version of WebOrb - all of which are working fine.

I have been running the setup/install using an account with admin rights

I have tried installing after booting up in Safe mode - doesn't help

I have confirmed that my account has full control over all the folders/files in the installation package

I have tried the install with virus protection turned off, and have tried right click>Run As> Current user - with "Protect my computer..." unchecked.

 

I suspect that I am either missing a dll or a dll needs to be registered - most likely the one required for opening and parsing the setup.xml file shown in the error log above, however, I have no idea which dll(s) are implicated.

 

Any help will be very gratefully received!

"not a valid location for linked resource" in Flash Builder 4.7

$
0
0

Hi,

 

I'm constantly running into the problem, that Flash Builder simply won't let one create a linked resource that points to a location on the same drive?

 

I'm getting the infamous

"...not a valid location for linked resource..."

error message.

 

I'm using FB 4.7 with Flash Professional CC.

Is that supposed to work at all?

 

I've 1 workspace where I've successfully created a linked resouce - but it fails for all others. Even when I'm setting up a new WS.

And it's totally unclear to me why it had worked there but not in all others that I'm trying to create.

 

 

André


Getting UTF8 from mySql Database

$
0
0

I'm retrieving some text from a mysql database. The database is UTF8, but when I trace the results in the text's endashes get dropped. Has anyone else seen this and is there a fix:

 

Here's the trace statement

Screen Shot 2014-05-28 at 3.59.31 PM.png

 

Here's the database content. Note that <td>9:15-10:30 a.m.</td> is a hyphen the circled dash is an endash

Screen Shot 2014-05-28 at 4.04.51 PM.png

navigateToURL Issues...

$
0
0

Hello Fellow Humans Around The World Of Earth!

 

 

Before I start I wanna make sure everyone knows, that I'm new to Flash. I'm trying to learn it myself but with a little help from a friend.

 

 

Anyway, I'm trying to develop an application for the Android Market for my clan. It should be able to show up a specific url. I have found out that I should use a "command" called navigateToURL.

 

 

This is what one of my friends has made but it doesn't seem to work.

 

 

[QUOTE]

<s:ViewNavigator label="Forum" width="100%" height="100%" firstView="views.ForumView" click="openWebsite()"/>

 

 

<fx:Script>

          <![CDATA[

                    import flash.net.navigateToURL;

                    protected function openWebsite () : void

                    {

                              navigateToURL(new URLRequest("www.goodgamingpeople.com@url"), "_self");

                    }

          ]]>

</fx:Script>

[/QUOTE]

 

 

I want it to show a website inside the app and not like a pop-up into the person's device's web browser.

 

 

If anyone of you have any other idea how to do this, or know what is wrong I would be more than happy to know it! Remember to keep your language clean!

Flex and Zend amf deployment resolved with proper solution

$
0
0

Hi All,

 

Although, I personally do not like using Zend for these issues itself. However, I faced this issue first time with flex 4.0 version when everyone used to run into

channel disconnected error. you can find the link for that post here:

http://forums.adobe.com/message/3366991.

 

Now, with flash builder 4.6, things have changed slightly and so the deployment process. So, here are the right set of steps to be followed :

 

1. after developing your flash project, export the release build(I assume if you are a flex user, you should know these steps already)

2. Now, check your release folder, you must have got some files with amfconfig.ini and gateway.php and just one folder named history.

3. copy all these files into a new folder say "My Release Build".

4. Now, step 1 is get Zend framework in place, to achieve that:

there are different ways. some will say : "make sure zend must already installed on your production server." that is an alternative but most likely,  the easier way to do this is : search your www(root folder on localhost),you will find a folder with name ZendFramework. Copy this folder to "My Release Build"

 

5. Now, the services that you have used in your flex project, go to debug folder of your project which should be in your www(root folder on localhost) with name "yourprojectname-debug". copy services folder from this debug folder to "My Release Build"

 

6. Now, open your amfconfig.ini from "My Release Build" and edit and make it look like following:

 

[zend]

webroot = http://www.yourwebsite.com

;you can edit above webroot to match the root folder of your website or use . to make it point to root.

 

zend_path = ./ZendFramework/library

 

[zendamf]

amf.production = true

amf.directories[]= services

 

thats it. your amf config is fine.

 

7. edit gateway.php:

 

Now, remove everything from gateway.php and copy this as it is there:

 

<?php

ini_set("display_errors", 1);

$dir = '.';

$webroot = $_SERVER['DOCUMENT_ROOT'];

$configfile = "amf_config.ini";

 

//default zend install directory

$zenddir = $webroot. '/ZendFramework/library';

 

//Load ini file and locate zend directory

if(file_exists($configfile)) {

    $arr=parse_ini_file($configfile,true);

    if(isset($arr['zend']['webroot'])){

        $webroot = $arr['zend']['webroot'];

        $zenddir = $webroot. '/ZendFramework/library';

    }

    if(isset($arr['zend']['zend_path'])){

        $zenddir = $arr['zend']['zend_path'];

    }

}

// Setup include path

    //add zend directory to include path

set_include_path(get_include_path().PATH_SEPARATOR.$zenddir);

// Initialize Zend Framework loader

require_once 'Zend/Loader/Autoloader.php';

Zend_Loader_Autoloader::getInstance();

// Load configuration

$default_config = new Zend_Config(array("production" => false), true);

$default_config->merge(new Zend_Config_Ini($configfile, 'zendamf'));

$default_config->setReadOnly();

$amf = $default_config->amf;

 

// Store configuration in the registry

Zend_Registry::set("amf-config", $amf);

// Initialize AMF Server

$server = new Zend_Amf_Server();

 

$server->setProduction($amf->production);

 

if(isset($amf->directories)) {

    $dirs = $amf->directories->toArray();

    foreach($dirs as $dir) {

        // get the first character of the path.

        // If it does not start with slash then it implies that the path is relative to webroot. Else it will be treated as absolute path

        $length = strlen($dir);

        $firstChar = $dir;

        if($length >= 1)

            $firstChar = $dir[0];

       

        if($firstChar != "/"){

            // if the directory is ./ path then we add the webroot only.

            if($dir == "./"){               

                $server->addDirectory($webroot);

            }else{

                $tempPath = $webroot . "/" . $dir;

                $server->addDirectory($tempPath);

            }       

        }else{

               $server->addDirectory($dir);           

        }

    }

}

// Initialize introspector for non-production

if(!$amf->production) {

    $server->setClass('Zend_Amf_Adobe_Introspector', '', array("config" => $default_config, "server" => $server));

    $server->setClass('Zend_Amf_Adobe_DbInspector', '', array("config" => $default_config, "server" => $server));

}

// Handle request

echo $server->handle();

 

Now, upload your "My Release Build folder to your production server webroot"

 

 

case 1: if you get "channel disconnected error, you have made some mistake and your path for zend or services folder is not right."

In above case, "ZendFramework folder and services folder with all of other release files". To find out what is wrong, open this url :

 

http://www.yourwebsite.com/gateway.php. if you see this lovely string there : "Zend Amf Endpoint". consider your are through with zend settings on server

otherwse you will see relative errors.

 

2. After fixing this step, try run your website, you will land into this error :

Class “yourcorrectclassname” does not exist: Plugin by name ‘Classname’ was not found in the registry; used paths:

: /home1/messoftc/public_html/oc/services/

#0 /home1/messoftc/public_html/ZendFramework/library/Zend/Amf/Server.php(553): Zend_Amf_Server->_dispatch(‘fxnname’, Array, ‘classname’)

#1 /home1/messoftc/public_html/ZendFramework/library/Zend/Amf/Server.php(629): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http))

#2 /home1/messoftc/public_html/oc/gateway.php(69): Zend_Amf_Server->handle()

#3 {main}

 

 

Now, this is a zend framework bug, it does not automatically detect the php classes in your services folder,those who have run into this, must have googled hard to find the solution and this bug is also logged officially on zend server jira log.

so, what is the solution? simple and effective. open your gateway.php file from "My Release Build"

 

Add this little line :

$server->addDirectory(dirname(__FILE__) . '/services/');

after this line :

$server->setProduction($amf->production);

 

reupload this file to your production, you should see your Flex, Zend, php & Mysql in action.

 

Here is a sample link I have created :

 

http://www.eiws.co.in/testzend.html

you may also visit the endpoint file:

http://eiws.co.in/gateway.php

 

If anyone still faces this issue, can contact me at vaibhav.bhasin@yahoo.co.in.

 

Credits: "To all developers who share their knowledge with everyone and google and thousands of blogs who provide a medium to share this knowledge"

Use native extensions

Please Help! Can't update flash player debugger

$
0
0

I can not update my Flash Player Debugger. I download it and go through the install process, everything looks good. But I can't find it nor can Flash Builder. I'm on  a Mac and I use Chrome. Is Chome's player confusing Flash Builder? When I go to sites to test the Player, I see that the Flash Debugger is installed, but Flash builder can not find it.

 

How do I update the Flash Player Debugger for Flash Builder?

 

Thanks!

Viewing all 70427 articles
Browse latest View live