Flex :: Unrecognized Rule Error While Using Lex
Dec 7, 2010[code]...
when i'm trying to compile this "lex comment.lex" i'm getting unrecognized rule error in lines 12 ,14 ,15.
[code]...
when i'm trying to compile this "lex comment.lex" i'm getting unrecognized rule error in lines 12 ,14 ,15.
Im trying to debug an app, not server related yet, with the new version of the FB, the one that comes with Zend in it. Thing is, everytime I try to debug, the message error is the same: "Unrecognized Windows Sockets error: 0: JVM_Bind"
View 2 RepliesI have a Flex 4, mx:DataGrid with the following (pertinent) properties set:
width="100%"horizontalScrollPolicy="off"
I have the minWidth set on all of the DataGridColumns and the width set on one of them. If I simply maximize/minimize the display (in browser or stand-alone flash player) of the application, the columns scale up and down nicely. But if you grab the edge of the application and drag it to make it bigger, only one column grows really big. When you drag the size down again, the one column remains big, but all of the other columns get squished way down.
I want to have a _btn or _mc on stage that, when continuously clicked, loads sequential JPEGs from the library via attachMovie and tween fade it in. I can comfortably do that with a _btn per JPEG but do not know how to code for one _btn for, say, 20 JPEGs.
View 4 RepliesSometimes I got
[object MovieClip]
Sometimes I got
[object SomeName]
I don't know why! I never click the "export for actionscript" and the symbol names in my library are given "Onename" "SomeName", rather than "MovieClip" ...
Heres my scenario, I have a menu bar that is off stage with just a little part showing. I want to be able to rollover the part showing so the whole menu eases into the stage. I have this done, however, i would like it so that when I roll off the menu bar it will ease back out.Im just unsure of how to go about this. Ill post what I have, in the meantime I'll still keep trying to tweek the code.
[Code]...
I know there is a way of telling a movie clip withen an entire .swf file not to follow the 100% window width/height that is applied.
View 5 RepliesIve just noticed that my Adobe Image Ready only allows me to save files names of 27characters in length or less.
Is there a general character length rule in working with filenames. I know windows doesnt have a problem what about other OS? Apple etc.?
Im just trying to put really descriptive names in some of my files wokring with flash and photoshop/imageready etc.
I know there is a way of telling a movie clip withen an entire .swf file not to follow the 100% window width/height that is applied. how so?
View 5 RepliesI'm new to Flex. Let's say we have a web application that needs to download several series of data (several thousand numbers) used by one screen.When the user leaves that screen and later returns to it (in the same session; that is, the user hasn't logged out then logged back in), should the application fetch the original downloaded data from cache or simply download it again? What are pros and cons of each and are there any general rules of thumb to follow when it comes to re-downloading data (e.g. again) versus simply getting it from cache? The goal would be to minimize user's wait time as long as there's no drawback.
View 1 RepliesI'm creating a game at the moment for my university course and it involves the player character jumping on top of boxs twice to break them as opposed to just once.What would be the most efficient/simple way of writing this in Actionscript 3.
View 1 RepliesI'm working on a Flex application that processes and displays small amounts of HTML, sometimes including images. I'm getting the HTML out of third-party RSS feeds. Sometimes, I see this in a pop-up window: Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
The RSS URL is just fine, but there's apparently something in the downloaded HTML that's causing a problem. Since the application is meant to run as part of a non-interactive digital sign, anything that requires a click to continue is completely unacceptable. I don't care how useless or malformed a URL is; the app needs to ignore the problem without pestering the user.
Unfortunately, I'm having no luck trapping this event. I'm sprinkling calls like this liberally through the code: [object].addEventListener(IOErrorEvent.IO_ERROR, handleIOError); where [object] is everything from the mx:Text object rendering the HTML to its mx:Canvas parent to the mx:Application top-level app, and handleIOError is a simple function that looks like this:
[CODE]....
I am not an expert in flash, but I do work with AS and tweak Flash projects, though not having deep expertise in it. Currently I need to revamp a flash website done by one another guy, and the code base given to me, upon execution is throwing the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at NewSite_fla::MainTimeline/__setProp_ContactOutP1_ContactOut_Contents_0() at NewSite_fla::MainTimeline/frame1()
[Code]...
This error has been faced by many people, as seen via internet, but none of the solutions given worked for me.
Problem:I have a flex application which I am trying to run on a Linux machine. On Ubuntu, it works fine but on Fedora following error arises when a login button is clicked.
text="Error #2032: Stream Error. URL: http://192.168.1.115/flexApp/utils/db_mgmt.php"].
Details:Login button actually sends username and password entered by a user to a server deployed on same machine via HTTPService. That HTTPService actually sends data to db_mgmt.php on the server which takes care of authorization of the user by querying mysql database deployed on same machine.
[Code]...
I wrote a flex demo, customized spark TextInput skin with rounded corners and a search icon in it, like mac os x search box, it's running good in browsers (by Flash Player browser plug-in) either .html or .swf, but error by flash player directly.
[Code]...
<mx:List columnCount="5" rowCount="11" width="100%" height="100%" dataProvider="{parentDocument.crewPositionsAC}" useRollOver="false" alternatingItemColors="[0xffffff, 0xe5e5e5]" borderStyle="none">
<mx:itemRenderer>
<mx:Component>
<mx:Text text="{data}" color="#840021" selectable="false" />
<mx:ComboBox id="studentType">
[Code]...
Anybody able to see what's causing the error?
hey im trying to make a mp3 player and when u click on a play btn it plays that song. but i keep getting this output error "Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
at slide_fla::MainTimeline/frame1()"
this is my code
ActionScript Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
var slidebind:Rectangle = new Rectangle(3, 3, 159, 0);
var loadsnd:URLRequest = new URLRequest ("s1.mp3");
var thissnd:Sound = new Sound();
[Code]...
Below is my code, and the question is explained after it.
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:cal="cal.*"
layout="absolute"[code]...
This is exact error message I get: TypeError: Error #1009: Cannot access a property or method of a null object reference.
I'm having trouble with an AS3 AMF RemoteObject request that is hosted on App Engine. I have a crossdomain.xml file in the root of the domain, and also one at the remoting endpoint.Here are the contents of the root crossdomain.xml:
<?xml version="1.0"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies ="all"/>[code].....
Loading the swf file and testing it on my machine works just fine... I think that may have something to do with me having the debugger version of Flash Player. When I push it up to App Engine to make it public, other clients access it and get a Client.Error.MessageSend Channel.Security.Error error Error #2048 url: http:[url].......I am using Flex 4 beta, and the App Engine Python runtime. I have tried full wildcard in the crossdomain, and even accessing the data endpoint at a relative URL so as to avoid this error.
in my variable i am getting error private var friendsList:VBox; "conflict exists with definition friendlist in namespace internal" what it is?
View 1 RepliesI have an action script Object that contains an array collection of other object, both objects are reflects of the Java Objects which are the database tables represented as beans, i am using blazeds spring hibernate... the regular configurations for flex RIA with java backend server language, all other objects work perfectly, but this time i needed to get this data from the client side and i do, but when i get into the Set represented as array collection in client side i get this error! both classes work for other situations, mapping is ok for these classes, i suspect that i need to convert the array collection on the server side.
View 1 Replieswhich everything seems fine, but when i implement a slider on a page inside a folder in the root (i.e. aboutus/index.aspx) i get that error when the slider is trying to call the images.I have similar slider animations in pages located in the root folder and in those i get no problem at all, seems it only happens when the page is located inside a folder.The website is done using main.master on asp, maybe the cache or rendering of the website is missing something, hope someone has had something similar or know how to get around this.
View 2 Replieswhy the error message repeats in Flex SDK 3.5 (but not in 3.4) and have a good way to make it stop repeating?
[url]...
To make this happen, leave the textInput field empty and hit save multiple times. Then mouseover the textInput.
I'm moving a Flex 3 site to Flex 4, but when I run the application, it attempts to download a .swz file from Adobe, and gives the following error:
*** Security Sandbox Violation ***
Connection to http://fpdownload.adobe.com/pub/swz/tlf/1.1.0.604/textLayout_1.1.0.604.swz halted - not permitted from http://localhost/Fl/CityGIS/main.swf
Error #2048: Security sandbox violation: http://localhost/Fl/CityGIS/main.swf cannot load data from
[code]....
Following this is an attempt to download the same file from localhost.Is there a way to configure the SDK to get these files, or an issue with the configuration of my application?
I have a Flex and Java application and i am using BlazeDS between flex and java. Generally my application works fine. I observed when ever i try fetch data little faster(not giving gap between two fetch commands) then i am getting the error "Server error :faultCode:Channel.Call.Failed faultString:'error' faultDetail:'NetConnection.Call.Failed: HTTP: Failed'"
I guess when ever load is increasing on BlazeDs, i am getting the error. I am calling the java service using following code
[Code]...
I am always getting the same error:
Error #2044: ioError no controlado: text=Error #2032: Error de secuencia. URL: send_email.php at Alvaro_Veronica_v0105_fla::contactform_11/frame1()The code from the php file in charge of sending the email is the following:
<?php$contact_name = $_POST['name'];$contact_email = $_POST['email'];$contact_subject = $_POST['subject'];$contact_message =
[code].....
I get this error message but all the code for the sound seems to be in order. It is only played after it is loaded. Error #2044: IOErrorEvent no controlado:
[code]...
i'm trying to make a contact form but it gives me this error and the messages are not being sent.
"Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:///Ana%20Valente/Snowflake/site%20snowflake/contact.php at index_fla::MainTimeline/sendMessage()"
[code].....
This is the error I'm getting with my code and I believe it has to do with the sounds needed to be played back. Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error. at workingg_fla::MainTimeline/stage_EnterFrame()
My code:
import flash.events.ActivityEvent; import flash.events.StatusEvent; import flash.media.Microphone; //line code belowvar container1:Sprite = new Sprite();var container2:Sprite = new Sprite();var container3:Sprite = new Sprite();var container4:Sprite = new Sprite();var container5:Sprite = new Sprite();//random coordinates for container1var corcon1x:Number = Math.round(Math.random()*600);var[code].......
What I need from this code is the following:
a. to pick up the mic activity level, read it, and based on the number put out a line
b. it to be kept to a minute, after the minute the screen is cleared and it plays back the lines and sounds that had been generated.
c. that nothing appears when the mic.activityLevel is 0
d.that when lines hit each other, a sound is made
I don't care if there is no playback, but right now I can't even get the lines to appear and I need the sounds to play when the lines hit each other.
I'm making a system to upload photos to a gallery. I'm using filereference, and it's working alright. I can upload like 20 files fine sometimes.. but when I do like 50, it starts giving me errors on over half the files.
The error is: Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error.
This may be a php error, or server error, I'm not sure. Because the file isn't even uploading at all.