Problem of Flash Builder 4.6

I get an error message (TypeError: Error #2007: url parameter must be non-null.)

at flash.display::Loader/_load()

at flash.display::Loader/load()

at GameWorld() [C:\Users\Conner\Adobe Flash Builder 4.6\GameWorld\src\GameWorld.as:93])

and I have no idea how to fix this here is my code:

package

{

import flash.display.Loader;

import flash.display.Sprite;

import flash.events.MouseEvent;

import flash.net.URLRequest;

[SWF (width = "550" height = "400"]

backgroundColor = "#FFFFFF", frameRate = "60")]

SerializableAttribute public class GameWorld extends Sprite

{

Declare the variables that we need

public var backgroundURL:URLRequest;

public var backgroundLoader:Loader;

public var background: Sprite;

Character

public var characterURL:URLRequest;

public var characterLoader:Loader;

public var character: Sprite;

DownButton

public var downButtonURL:URLRequest;

public var downButtonLoader:Loader;

public var downButton:Sprite;

growButton

public var growButtonURL:URLRequest;

public var growButtonLoader:Loader;

public var growButton:Sprite;

shrinkButton

public var shrinkButtonURL:URLRequest;

public var shrinkButtonLoader:Loader;

public var shrinkButton:Sprite;

public void GameWorld()

{

Add the bottom of the scene

backgroundURL = new URLRequest();

backgroundLoader = new Loader();

Background = new Sprite;

backgroundURL.url = "... / pictures/background.png";

backgroundLoader.load (backgroundURL)

background.addChild (backgroundLoader);

stage.addChild (background);

Add the character to the scene

characterURL = new URLRequest();

characterLoader = new Loader();

character = new Sprite;

characterURL.url = "... / pictures/character.png";

characterLoader.load (characterURL)

character.addChild (characterLoader)

stage.addChild (character);

Character.x = 275;

Character.y = 200;

Add the downButton for the stage

downButtonURL = new URLRequest();

downButtonLoader = new Loader();

downButton = new Sprite;

downButtonURL.url = "... / pictures/downButton.png";

downButtonLoader.load (downButtonURL)

downButton.addChild (downButtonLoader);

stage.addChild (downButton)

downButton.x = 5;

downButton.y = 5;

Add the growButton to the scene

growButtonURL = new URLRequest();

growButtonLoader = new Loader();

growButton = new Sprite;

growButtonURL.url = "... / pictures/growButton.png";

growButtonLoader.load (growButtonURL)

growButton.addChild (growButtonLoader)

stage.addChild (growButton)

growButton.x = 5;

growButton.y = 55;

Add the shrinkButton to the scene

shrinkButtonURL = new URLRequest();

shrinkButtonLoader = new Loader();

shrinkButton = new Sprite;

shrinkButtonURL.url "... / pictures/shrinkButton.png";

shrinkButtonLoader.load (shrinkButtonURL)

shrinkButton.addChild (shrinkButtonLoader)

stage.addChild (shrinkButton)

shrinkButton.x = 5;

shrinkButton.y = 85;

}

}

}

Please can someone tell me what to do. I'm a newbie with this stuff.

Thank you

DarkRue97

Hello

He said that this is a problem on line 93 of the World.as file.

A glance made me check that this line is not shrinkButtonURL.url ok "... / pictures/shrinkButton.png"; There must be an assignment symbol shrinkButtonURL.url = '... / images/shrinkButton.png. "

Tags: Flash Builder

Similar Questions

  • BlackBerry Tablet OS SDK for Adobe air 2.0 problems with Flash Builder

    Hello world

    I have problems to install the Tablet OS SDK 2.0.0. It says incorrect directory when I select the directory that contains the Flash builder. I tried with v4.0 and v4.5 that I am on windows 7 64 bit.

    Any help would be greatly appreciated. I'm just get started with developing applications for the playbook, so please bear with my ignorance.

    Best regards

    Gowtham

    https://bdsc.webapps.BlackBerry.com/air/documentation/ww_air_getting_started/Using_Adobe_FB_ms_19656...

    "Development environment - Adobe Flash Builder 4.6 of later"

  • Having a problem with Flash Builder and Extension Builder - images not apearing on Mac system

    Have a panel created in Flash Builder 4.5 with Extension Builder 2.1. Everything is fine when it is installed on a PC, but when it is installed on a Mac in the Panel images do not show.

    Mac and PC both using Adobe Photoshop CC. Both installed similarly. ZXP deposit using Adobe Extension Manager CC.

    Any ideas?

    Problem solved:

    The problem is when using

    Changing to

    Changing to

    Thank you

  • Flash Builder Link problem

    Whenever I try to access the links in Flash Builder, such as those on the Start Page, device helps connection in Configurations to run or even find and download other versions of Flex SDK in the window Configuration of Flex, he opens a Notepad window empty with an error "the name of file, directory name, or volume label syntax is incorrect."

    Anyone has an idea on how to solve this problem? I guess this is supposed to open a web page.

    Wow, problem solved. I thought it was weird when I installed Flash Builder 4.7 and was still going on. Apparently, at a given time, I have set Notepad.exe as default program to open HTML files and didn't.

    Now I feel kind of stupid but also all the other programs didn't work (heck, worked same links in Flash Professional) I was so sure it was a problem of Flash Builder.

    In any case, I'm just glad to have the mystery solved.

  • Flash Builder 4.6 for PHP and SDK 2 questions

    I have problems with Flash Builder for PHP 4.6 and the Playbook Air SDK 2.0. It worked fine with the Air SDK 1 Playbook, but for 2.0 he moved not (error integration with Flash Builder) and when I try to update in Flash builder I get an error of missing requirements. Flash builder 4.6 works fine with the PlayBook SDK, but not the PHP version. I bought the PHP version after the end of my trial of 4.6 so I could build an app that tied in the server services and to think that both versions are the same.

    Everyone knows this and is at - it a solution?

    Thanks in advance.

    Hello

    Flash Builder for PHP 4.6 is not supported by the BlackBerry Tablet OS SDK for Adobe AIR. Sorry for the inconvenience this has caused.

    Dustin

  • Flash Builder Burrito will identify the plugin Playbook

    I installed the BlackBerry Tablet OS SDK for Adobe AIR by following the instructions included in the

    Getting Started Guide for Windows developers.

     

    Everything appears to install fine and when I go to help > about Flash Builder > installation details it shows that the Function of Blackberry Tablet OS is installed.

    When I go to create the Hello World application, I chose file > New > ActionScript Project Mobile enter a project name and choose the Flex SDK hero. [correction]

    I click Next and the settings of the Mobile screen. The only displayed target platform is the platform Google Android - Tablet Blackbery is not available.

    Can someone give me an idea of how to get the Playbook sdk to be recognized?

    -Bryan

    My problem was solved on the following thread:

    http://supportforums.BlackBerry.com/T5/Tablet-OS-SDK-for-Adobe-Air/problem-connecting-Flash-Builder-...

  • Flash Builder 4.6 Mobile project using Blazeds & Extension Native

    Hello

    I'm building a Flex Mobile in FB project, which uses BlazeDS to access data through a project of spring and also a DONKEY file to access the contacts of the device.  I want to debug the application on a device connected with a USB cable, so to put my root files and output in the settings of the server using a UNC name, so it can be found from my device via my wifi network. I also added the native extension via the Build Path and package labels.  When I have an emulator debug office, things are OK and the extension correctly tells me that he is not taken in charge on the emulator. However, if for debugging on the device, FB throws an exception during the launch, complaining of a java null pointer exception.  The journal of the eclipse, in part, looks like this:

    com.adobe.flexbuilder.project.AbstractXMLModel$ FileReadException: org.eclipse.core.internal.resources.ResourceException: resource ' / NewOne-debug/NewOne - app.xml "does not exist.

    to com.adobe.flexbuilder.project.air.internal.xml.ApplicationXMLModel. < init >(ApplicationXMLM odel.java:102)

    at com.adobe.flexbuilder.project.air.AppXMLCreator.init(AppXMLCreator.java:91)

    to com.adobe.flexbuilder.project.air.AppXMLCreator. < init > (AppXMLCreator.java:80)

    to com.adobe.flexbuilder.project.air.AppXMLCreator. < init > (AppXMLCreator.java:73)

    at com.adobe.flexbuilder.project.ui.utils.ANE.AppXMLFileANEExtensionHandler.getAppXMLCreator (AppXMLFileANEExtensionHandler.java:153)

    at com.adobe.flexbuilder.project.ui.utils.ANE.AppXMLFileANEExtensionHandler.retainExtensionI ds(AppXMLFileANEExtensionHandler.java:315)

    at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.modifyAppXMLforPackaging (ANECont roller.java:371)

    at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.modifyAppXMLforPackaging (ANECont roller.java:338)

    at com.adobe.flexbuilder.project.ui.utils.ANE.AbstractANEPackageHandler.modifyAppXMLforPacka ging(AbstractANEPackageHandler.java:91)

    at com.adobe.flexide.launching.multiplatform.launchhandlers.AbstractMultiPlatformLaunchHandl er.applyNativeExtensionDetails(AbstractMultiPlatformLaunchHandler.java:164)

    at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.doPackage (ADBLaunchHan dler.java:424)

    at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.launch (ADBLaunchHandle r.java:250)

    at com.adobe.flexide.launching.multiplatform.MultiPlatformLaunchDelegate.launch (MultiPlatfor mLaunchDelegate.java:191)

    at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch (AbstractFlexLaunchDelegate. java: 244)

    at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch (AbstractFlexLaunchDelegate. java: 134)

    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)

    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)

    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)

    to org.eclipse.debug.internal.ui.DebugUIPlugin$ 8.run(DebugUIPlugin.java:1132)

    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Caused by: org.eclipse.core.internal.resources.ResourceException: resource ' / NewOne-debug/NewOne - app.xml "does not exist.

    at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:320)

    at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:194)

    at org.eclipse.core.internal.resources.File.getContents(File.java:287)

    at org.eclipse.core.internal.resources.File.getContents(File.java:278)

    to com.adobe.flexbuilder.project.air.internal.xml.ApplicationXMLModel. < init >(ApplicationXMLM odel.java:100)

    ... 19 more

    I guess the problem is that when the application attempts to run on my device, the extension is not find application descriptor file.  Is there anything else I need to do?

    I appreciate all help.

    Jay

    Here is the solution in case anyone else runs into this problem.  Flash Builder is to create the deployment at the launch, it converts the path mapped to a local path mutilated for donkey find the descriptor to a relative path, which can not be found and get the null pointer.  Making the path to output folder actually local to the computer, as opposed to the default which creates FB, solves the error and still lets blazeds access from the device.

  • Don't Flash Builder 4.7 problem - no platform BB

    Hi, I installed the FB 4.7 on my PC.

    I downloaded the SDK of AIR in BB Site and installed.

    I tried to create a project, but there are only two platforms listed, it's to say, iOS and Android and no BB it.

    Anyone faced the same problem before? 0o0o

    I use Adobe Flash Builder 4.7 for my Blackberry 10 development, although I use Macbook would highlight, but I also had FB4.7 installed on the PC. It is quiet easy to install BB Developer tools on PC.

    1. first of all, you must run FB4.7 with administrative control.

    2. in your IDE FB4.7 Menu, click help-> install BB 10 publication support or install new software-> type "Blackberry" next to work with, now, you will see the option of ' Blackberry plugin for Flash Builder 4.7... '-> option-> check on BB OS Support checkbox statement select 10, press 'Next' then finished once installed.

    3. restart your Flash Builder and try to create the new project Mobile AS3 or Flex Mobile, you will see Blackberry option along with two others.

    Note: BB 10.1 and before, support Adobe AIR version 3.1 only so make sure that you have not superimposed latest version of Adobe AIR in your Flash Builder.

    Ghislaine

  • Problem installing Adobe Flash Builder 4.7 (Windows 64)

    I have a problem installing the 64-bit version of Adobe Flash Builder 4.7. I have not had any problems with the 32-bit version.

    First of all, I couldn't download the installer by Akamai Download Manager. When the download is complete, about two-thirds, I get the error "failed to check content (content invalid). I tried several times with several different browsers but no luck.

    I am able to get the installation program by using the other method to download but when I go to use the extraction of the file progress gets to 100% and then I get then I get the error, "this is a problem when extracting the files. Check the amount of space available on your computer and write on the desitnation folder rights. »

    I have 72 GB available and the installer extracted the files in my office that I have full read and write. I am logged on as a user with administrator privileges and have tried to launch the file as administrator.

    All ideas are appeciated!

    Thank you!

    Jill

    Jill from your description, it seems you are facing problems of stability with your current Internet connection.  It seems initially the corrupted download based on the errors that you have posted.

    I advise to use another connection to see if you encounter the same difficulties.  If you are connected wireless, for example, please try a wired connection.

    You can also download the installation files on a USB stick on another computer, and then install from the USB drive.

  • 4.7 Flash builder 4.5 Flash Builder upgrade problem (key is not valid)

    Hello

    We (the company) buy Adobe products now more than 6-7 years. We bought the Flash builder 4.5 premium and premium Flash builder 4.5 for volume PHP license. Now flash builder 4.7 should be complementary upgrade for us. But when we are using the trial version of Flash builder 4.7 and addition of serial number (serial number of Flash builder 4.5), it is simply not working and showing an error "the key is not valid.

    I chat with Adobe customer care 4 different people, they find themselves saying that we transfer you volume license Department and then chat on sale. No message chat more, I checked over an hour and still no message.

    So I called, it took 15 minutes to communicate with the service the customer. I chose the option 'upgrade' from the menu of the phone and then connected with a guy. After listening full case he passed my call to the Executive of license Volume and of the Executive of license volume transferred to another guy and the other guy to some person capacit¨¦s redirect. So in total 4 guys. The last guy (specialized) called Rohit.

    Rohit guy asked me, I buy a customer support program (some product on $2.nn.00)? I said no, we purchased volume licenses for Flash builder 4.5 premium (subject to $4000.00 *). He said, sorry Sir I can't help you in this area, but I can provide you with an e-mail address and you can report your concern here. I already spent my 1.5 hour in this conversation. I said okie. He gave me a case number and told me that he will send an email stating that the e-mail address in my application I have to unplug the phone.

    I never get this email address.

    Can someone suggest me what to do next. Is my file number: 209-788-274.

    My email is: [email protected]

    Thank you

    Amitabh Arya

    @Amitabh: I understand that volume license team has reached out and helped solve the problem here, but please let me know if you have any questions outstanding.

  • Flash Builder 4.5.1 - compilation problem version release Flex Mobile

    I am building a mobile application from flex using Flash Builder 4.5.1. The application works very well on the device (Nexus S) and office in debug mode however, whenever I export the Release version of what the app is not automatically installed on the device. When I manually install .apk it fails also (get the message from the Application that is not installed with the green check mark). Any thoughts?

    The problem was with signing of certificate (.p12). As soon as I created a new certificate, everything worked took place.

  • Flash Builder 4 B2 code search problem

    Had this problem before with beta Flash builder 4 2 where to find the code does not work

    While working through 4 day EX 4.1

    «Code to generate search using the click event will present you the option generate a click handler in the code search window (see Figure 4).» Click the option or press the Enter key to use the option to generate a function.

    Have no problem see the code to search for the < s:Button > however once I get the click will not show code look for window generate a Manager Click... is there a way to get this to run... to move the foreword to the exercise I just write the code... is there a way to trigger the code look up?

    Brand - so you see, click in the drop-down menu and you select it so that your code now says:

    and poster code search now "Generate the Manager Click" between the click of the double quotes?

    What happens if you place the cursor between the double quotes in the click event and type ctrl + SPACEBAR?

    You can share a screenshot of what happens?

  • problem in using Flash Builder 4.5 action script component...

    I am now using script component open source action

    http://joshblog.NET/2007/09/16/open-source-Flex-components-advancedlist-and-CheckBoxList/# comment-21358

    I used this component Flex 3 and Flash Builder 4.0, it works very well. But when I used it in Flash Builder 4.5 as

    < id for the Toolbox: CheckBoxList = "checkList" / >

    It does not set its id property, rest all other properties can be set. It gives following error.

    1046: type was not found or is not a constant of compilation: CheckBoxList

    Worked OK for me, even if namespace works a little differently for me that the control is bound to xmlns:controls = "" com.flextoolbox.controls. * ", do my mxml tag"

    You could insert a new checkboxlist above the current line and make sure that it is always in the namespace of Toolbox. If this is not the case, just finish typing a new and it will be binding to the namespace, then you can use this line to replace the old.

  • I have the problem of installation of Flash Builder 4

    When I tried to download on the official website and install Flash Builder 4,

    the information alert popout and said: I need to remove a beta or test in advance.

    But I remove the beta version of Flash Builder 4,

    and fair warning keep visible so that I can't just Setup.

    I the environment is

    MacBook pro, version 10.6.4

    Chinese language.

    Please help me.

    Thanks in advance.

    Hello

    Try to run the CS5 own tool before installing:

    http://www.Adobe.com/support/contact/cs5clean.html

    For good measure, restart after running the clean tool and then see if you can install it successfully.

    Let us know if it works,

    -Chris

  • Flash Builder random error associated with CFCS 'qnx-screen '.

    Hey all,.

    It's been about 8 months since I finally published my app PlayBook... It's been long since, so I'm a bit rusty...

    I'm seeing my source code, compile it with the new SDK.

    I downloaded the Simulator 2.0, updated the OS on my tablet to 2.0 and installed the new Tablet OS Beta 2.0 SDK.

    I am trying to get my application up and running, and I get this error:

    "Description Resource Path location Type
    "Could not open" / Applications/Adobe Flash Builder 4.5/sdks/RIM/blackberry-tablet-sdk-2.0.0/frameworks/libs/qnx-screen ' PaperRobo unknown Flex problem.

    I use a Mac and Flash Builder 4.5 running

    I use the Flex SDK 4.5.1... and it seems that all the appropriate Blackberry tablet SDK swcs are connected properly... See screenshot:

    Any ideas what's not here?

    It also looks that QNXApplicationEvent no longer exists?

    I also tried to create a new project from scratch and get the same error of Flash Builder

    I don't think that there is nothing wrong with your stature. Try to create a new project, as shown in jtegen and see if it works. If this does not work, you can still manually add the .swc files.

    It seems to be looking for them in the wrong place.

    "/ Applications/Adobe Flash Builder 4.5/sdks/RIM/blackberry-tablet-sdk-2.0.0/framework"

    s/libs/qnx-screen'

    Should be "/ Applications/Adobe Flash Builder 4.5/sdks/RIM/blackberry-tablet-sdk-2.0.0/framework"

    s/libs/qnx/qnx-screen

    If you do this be sure to do the qnx - air.swc marked as external.

Maybe you are looking for