Flex :: Save Button Error In Project?
Dec 23, 2010Whats wrong with the following code,There is an error at
saveButton.visible = false;
discardButton.visible = false;
[code].....
Whats wrong with the following code,There is an error at
saveButton.visible = false;
discardButton.visible = false;
[code].....
So my problem here is, I'm working on my Adobe Air project, so I decided to code some buttons to be able to navigate. The problem here is that I get a error for trying to do so. Here is my code.
[Code]...
I do not see what is wrong actually, I tried this on a blank non-AIR file, and it worked well.
When you try to release the project, Flex gives me the following: Flash Builder program failed to publish the source code of the Project:
Unable to find the application file "betaProject4.mxml".
Could not find the application file "betaProject4.mxml".
Currently in a project of this file is not found, removed all of the bin-release, but something did not work.
I'm migrating a FlashBuilder project (actually a project I'm working on with FlexBuilder eclipse plugin on Linux) to use FDT. I managed to import the project, and make it aware of other projects it depends on.
However I get lots of compile errors for things that seem harmless (and used to compile). At least, for example :
<mx:SomeClass initialize="{this.init()}" ... >
<mx:Script>
<![CDATA[
[code]....
So, I get "unresolved function" for all the calls of the form someAttribute="{this.someFunction()}", even though the function is described in the same block file. Is it that I've been abusing AS3 / FlashBuilder for all this time ?
Also, generic components have problem. Assume I have a class with a deferred 'content' attribute, and I want to instanciate this class and "fill the blank" : I define a custom component in a CustomComponent.mxml file, with a deferred content
<mx:VBox>
<mx:Script>
<![CDATA[
public var content : IDeferredInstance;
[code]....
I'm using FDT 4.0, under Linux, with a (valid) eval key I'm using a custom Flex 3.5 SDK (not one shipped with FDT, but not a too strange one either)
I am trying to change a Flex mobile application using MXML to describe views, to one which uses AS3 to create the views. I changed:[code]
View 2 RepliesI am using a filereference Object to export an excel file from my flex application. I am using fileReference.save() from Flash player 10. I am getting an error if the file i am trying to save is already open. This error is not getting handled even if i put a try catch block. I have tried adding a listener with IOErrorEvent.IO_ERROR. Still the error is happening. This is the Error message i am getting - "Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error."
View 1 RepliesFrom what Ive seen, most of the examples of using Javascript in Flex are designed for for the full desktop version (or for the browser) and not Flex mobile. For example using ExternalInterface in a Flex mobile project gives the error: Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime. Is it possible to call Javascript (such as the Google Maps Javascript API) in a Flex mobile project?
View 1 Replieswhen i do this locally on tomcat server on local development machine it works fine when i brought it over to linux im getting this error.i dont know what to do anymore it should be straight forward but i'm having no luck. i do have a web.xml and i see a broker for my remote access so i just dont know what it could possibly be
View 1 RepliesVB6 developers who have gone in to do maintenance on their applications that call flash.ocx are finding that they can no longer save their projects because of some change that was introduced by Adobe in the release following flash10e.ocx.ork around is given of uninstalling flash and installing any version on or before 100452. Because the applications still run fine until the developer tries to make a change and save the VB6 project, the scope of this problem has probably not been fully realized. For this reason, this issue will likely only gain momentum in the future.
I spent the morning contacting several people at Adobe and I discovered the only way apparently to get support for this issue is to open a "web case". From further research, what I understand a "web case" costs around $200 and with that price there is nothing telling me what comes with a "web case" I mean, if I were to buy one, would the problem be fixed or would they research it and say "I am very sorry but we are not going to fix that". If there is a guarantee that the problem will be fixed, then can Adobe establish a pool where the $200 cost can be shared by everyone who has the issue? That couldn't be more than a buck or two each because if you google this problem "System Error &H80004005 using flash.ocx" you will find about 5 pages of people reporting the problem
I've designed a painter program where the user can select different colours and 'paint' a custom design on screen. What I would like to do is incorporate a 'Save' button which takes a snapshot of their drawing which they can then save to their computer.
View 0 Replieswould anyone be able to help explain whether it is possible to change the default save as to a CS5, rather than going to file-save as.
View 2 RepliesI got Adobe Creative Suite 5.5, and all the projects in company are made in 5.0. And i can't simply save by ctrl+s because Flash (thats concrete program i am asking about) want to save in 5.5. So every time i have to push file-> save as-> change from 5.5 to 5.0. I was trying to find somewhere, where to change it, but i didnt manage to.
View 1 RepliesI have a flex mobile project and I want to convert it into web-based project. What is the best way to do it.
View 1 RepliesI want to save XML File using Flex 4 SDK
var fr:FileReference=new FileReference();
fr.save( newXmlRow, 'D:/Sample.xml' );
Error Shows :
1061 "Call to possibly Undefined method save through a reference with static type flash.net:FileReference"
Maven 2.2.1 unzipped,M2_HOME set and repository altered to point to different drive location in settings.xml Flex 4.0:
Installed Created a multi-modular webapp project using flexmojo:
mvn archetype:generate
-DarchetypeRepository=http://repository.sonatype.org/content/groups/flexgroup
-DarchetypeGroupId=org.sonatype.flexmojos
-DarchetypeArtifactId=flexmojos-archetypes-modular-webapp
-DarchetypeVersion=RELEASE
with following options
groupId=com.test
artifactId=test
version=1.0-snapshot
[code]....
Parent pom has swc, swf, war as modules.
Dependency is war->swf->swc.
With parent artifactId of swf, swc, war set to swf, swc, test respectively.On executing mvn on test folder(for that matter clean or anything) I get this following error.
G:Projects est>mvn -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/com/test/swc/1.0-snapshot/swc-1.0-snapshot.pom
[code]....
Looks like its trying to download the project from maven's central repository instead of building it.
I've recently started making a game in FlexBuilder. The game is currently a Flex project. Is there any downside to using Flex as opposed to just Actionscript? A friend of a friend told me that Flex is slower than an Actionscript project. I've been unable to validate this on the internet; is there any truth to that claim?
View 6 RepliesIf I create a new flex project with flashbuilder, these are the libraries that get included by default through the Flex SDK[code]...
View 1 RepliesI have a CodeIgniter project and I made a back-office in Flex. I was wondering how I can implement the Flex project in my CodeIgniter since I'm working with routing I can't route to any directory. So there isn't a way to display the back-office.
View 1 RepliesI have 2 flex projects which were create in flash builder 4.5.....how can i call one project from second??? the best would execute to the same window.... I'm interesting about both possibility (in browser and air too).
View 1 RepliesCan we Bypass the save dialog box of FileRefernce.save()? If not, then Is there any workaround to save a file from web application in Flex without asking user where to save file?
View 1 RepliesI am trying to migrate a project from Flash Builder 4.0 to Flash Builder 4.5. After Flash Builder prompts me to choose my new SDK, I choose 4.5, Then I get the following error:" error "The required skin state 'disabledWithPrompt' is missing".
View 1 RepliesI have one Eclipse Workspace containing two projects. - The first is my actual library. - The second is example code for using the library.When I push this code to GitHub, I don't want two separate projects, I want the example code to go into an "example" folder of the second library.How and where would I do this? From Eclipse, GIT, or GitHub?Or is there a better way of including sample code in GitHub projects? (the example code doesn't actually need any version control)
View 1 RepliesI am going to make an Arabic application using Flex builder 4.5. I have two questions that need to be answered What is the difference between ActionScript Mobile Project and Flex Mobile Project. (AS Mobile Project supports iOS and Android but I doubt about it!!)
Is Arabic support available in Flex Mobile Projects or AS Mobile Projects? I know TLF supports Desktop and web apps but does it support mobile platforms?
I am using the following .as file as the component for an itemrenderer in a list. Basically each item is rendered in a TextInput and each TextInput has a remove button as you can see from the code. When clicking the remove button, I want to remove the selectedItem..so I am putting the function removeItem() in MainMxml.xml and calling it from the .as file.
However I am getting an error "Cannot access a method or property of a null object reference".
The .as file as follows:
package components {
import flash.events.Event;
import flash.events.MouseEvent;
[Code]...
I cant "center" my project, like you can see its "fixed" (yellow lines) in the left side and I cant see "invisible" part of project... (area around the project). how can I move my project so I can see the not-project area around the project. (picture 2).
At the moment situation... (cant see that area around the project)
http://img19.imageshack.us/img19/1186/68553623.png
ArgumentError: Error #1063: Argument count mismatch on Amal.interactive:isAbleButtons/Amal.interactive::enableButtons(). Expected 1, got 0.
at Amal.interactive:isAbleButtons/Amal.interactive::enableOthers()
at Amal.interactive:isAbleButtons/Amal.interactive::disableButton()
while Amal.interactive is a package and DisAbleButtons is a public class and enableOthers & disableButtons are functions in that class
I am doing a game but keep getting this error: Statement must appear within on/onClipEvent handler. This is the code I am using:
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
this._y-=10;
}if (Key.isDown(Key.DOWN)) {
this._y += 10;
[Code] .....
Greetings ActionScript.org community. I've been struggling for a couple days now, and I am really interested in some guidance.
Basically, I'm trying to make a 3 page flash where the "Learn More" button on each page takes you to a different landing page. Problem is that I keep getting "Error #1009".
The .fla is attached to this message as a .zip or you can see the .fla here: [URL]
I've gone through a lot of related posts here about error #1009 and I gather that I'm trying to call an object that isn't instantiated yet, but I just can't seem to fix it in my .fla. I've tried all sorts of different approaches, but obviously not the right one yet. Here is the code I'm using:
Code:
stop();
pg2_btn.addEventListener(MouseEvent.CLICK, goPage2);
pg3_btn.addEventListener(MouseEvent.CLICK, goPage3);
[Code]....
I am currently working in Flex 3.0 I am getting an error(screen shot is given below). I am using Flash Player Version 10.0Currently I am calling the HTTPService and in the resultHandler of that HTTPService i am getting an error in method filereference.save() .because this method is called only when the MouseEvent or Keyboard event is occured.Is there any solution to overcome this situation or in other words calling the filereference.save method in ResultHandler.
View 3 Repliesi have a code which saves a display object locally as an image file, but at some point it began throwing error 2174. this code is called either from context-menu click event or keyboard event.
var sourceBmd:BitmapData = new BitmapData(displayObject.width,displayObject.height);
sourceBmd.draw(displayObject,new Matrix(displayObject.width,0,0,displayObject.height));
var jpgEncoder:JPGEncoder = new JPGEncoder(80);
var byteArray:ByteArray = jpgEncoder.encode(sourceBmd);
[Code]...