Errro in Flex 1.5 Application
Hi,
I have created an mxml file in that i used Canvas.
i have 12 different forms in that, each i am loading at
different time.
And also i used validation scripts
totally the file containing of more than 680 lines
while compileing that i got the ERROR as
2 Errors found.
Error
Branch between 21571 and 54347 around line 0 exceeds 32K
span. If possible, please refactor this component.
Error
Branch between 21571 and 54347 around line 0 exceeds 32K
span.
If i remove any of two lines from the file, there is no
compilation error
what is the prob with my file
can anybody suggest me
thank you,
Gokul
See this:
http://www.cflex.net/showfaq.cfm?Object=faq&channelID=1&faqtype=&defaultfields=&defaultVal ues=#Question365
Tracy
Similar Messages
-
SOLUTION: Building the Flex 2 FlexStore application in Flex 3
I gave step by step instructions on building the Flex 2 FlexStore application in Flex 3 as a post in the Adobe Flex 3 Cookbook:
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postI d=15606&loc=en_US
If you don't want to go there, here are the instructions:
1) Download the Adobe FlexStore archive flexstore.zip file.
- go to http://examples.adobe.com/flex2/inproduct/sdk/flexstore/flexstore.html
- right-click the application and select View Source
- click the "Download source (ZIP, 1769K)" link in bottom of the left-side-bar
2) Create a directory "flexstore" somewhere on your harddrive
3) Extract the contents of the flexstore.zip file to the directory flexstore you
just created. The directory flexstore should now have these top-level contents:
assets (directory)
data (directory)
productsView (directory)
samples (directory)
AC_OETags.js (file)
beige.css (file)
blue.css (file)
build.bat (file)
build.sh (file)
flexstore.html (file)
flexstore.mxml (file)
HomeView.mxml (file)
main.css (file)
ProductsView.mxml (file)
README.htmlSupportView.mxml (file)
4) Launch Flex Builder 3.
5) Select File - Switch Workspace and change the workspace to the directory
containing the directory "flexstore" you created.
6) After Flex Builder re-launches, create a new Flex Project named "flexstore":
- ensure the "Web application" radio button is selected for "Application type"
- click the "Next" button, not the "Finish" button
- click "Next" again in the "Configure Output" screen
- ensure the "Main source folder" TextInput has "src" in it
- ensure the "Main application file" TextInput has "flexstore.mxml" in it
- click the Finish button
7) Drag all the unzipped files now visible in your Flex Builder "flexstore" project
folder to the "src" folder Flex Builder created for you, and click "Yes" when
asked if you want to overwrite the flexstore.mxml file Flex Builder created for you.
8) In Flex Builder, drag the following folders into the "src" folder:
- assets
- data
- productsView
- samples
9) Right click file build.bat and select Open With - Text Editor.
- Remove the following line from the file:
..\..\bin\mxmlc.exe %OPTS% flexstore.mxml
- Edit the following lines, replacing "..\..\bin\mxmlc.exe" with the hardcoded
path to the mxmlc compiler for the Flex 3 SDK, which on my computer is
"C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe". Make sure
it is enclosed in double-quotes. This will be to build.sh for Mac users.
BEFORE
..\..\bin\mxmlc.exe %OPTS% beige.css
..\..\bin\mxmlc.exe %OPTS% blue.css
AFTER
"C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" %OPTS% beige.css
"C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" %OPTS% blue.css
10) Open a DOS window (Terminal in Mac) and change the current directory to the "src"
directory on the local harddisk, which for me is:
C:\aaaFlexApps\flexstore\src
11) Execute build.bat (build.sh on Mac).
12) Ensure beige.swf and blue.swf are created in the project "src" directory.
13) Select Project - Clean to rebuild the project.
14) Ensure beige.swf and blue.swf and all the other files from the src
directory were copied to the bin-debug folder.
15) You should now be able to launch the application.Here the fxp project that i export with flex builder 4 -> source-code
Thank's Greg -
Can't screen capture popup windows in Flex web-based application
Hi all,
I'm a tech writer looking for a tool that will capture single popup windows of a flex-based web application (perl popups have the same issue).
Snagit (and all the freeware I've tried), doesn't recognize the popup window as a selectable element, even though the mouse can move the popup window anywhere in the application window.
We've got lots of snapshots to take, and do not want to have to crop a region and edit out the white space (top of the popup box has square corners, bottoms are rounded).
Does anyone know of a screen capture utility or way to get these windows in a single click like we can with the standard old window dialog boxes?
Any help is greatly appreciated!
Thank you!
joanHi Alex,
I don't quite understand.
Are you suggesting a way to get the snapshots from the server generating the image and not as an end user who opens the application and trys snapping from the Internet Explorer browser window?
I'll need to be more specific when communicating with the developer. Can you provide a little more direction?
Thank you!
:-) joan -
How to Show ActionScript Graphics based Spinner on Flex or mobile application ?
How to Show ActionScript Graphics based Spinner on Flex or mobile application
Solution:Check out the BusyIndicator component introduced in Flex 4.5:
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark">
<s:BusyIndicator />
</s:Application> -
Flex Based AIR application & remote HTML
The question is ....from a flex based AIR application do you
always have full access to all of the HTML content loaded from a
remote site via the DOM (htmlLoader.window.document), or is the
'context' of what you can see limited to what the initial url
requested can see - i.e. the context is as if it were javascript
running in the page corresponding to the initial URL.
As far as i can see if i request say the page
http://www.abc.com/page1.htm
and it has content along the lines of
<IFRAME src="
http://www.xyz.com/page3.htm"
id="remoteframe" />
<IFRAME src="
http://www.abs.com/page2.htm"
id="localframe" /?
then using the htmlControl.htmlLoader.window.document i can
successfully navigate the DOM for the initial page loaded and
localframe, but
not remoteframe.
I've seen various comments about sandboxes, bridges and
applicationdomains in the documentation but i don't see how this
can help me.
Can someone please shed some light on this? Can i from the
AIR application access all of the DOM, or am i restricted to the
initially loaded page and pages referenced from the same domain in
the page?
Thanks
JamieHi,
From your AIR application, you can only access "exposed
properties" in remoteframe.
You expose a property by using the sandbox bridge mechanism:
http://livedocs.adobe.com/air/1/devappshtml/help.html?content=security_5.html#1092959 -
Flex / Data / Create Application from Database
Hi, I had a question,
When I create an application from a Database (Flex / Data /
Create Application from Database).
Can I modify the coded to convert it into a module?
I have a main application that I would like to load the
Database as a module. I tried replacing the <mx:Application>
Tags to Module but didn't work...
Thanks.Hi,
no. no answer as yet. Seems to be a connection issue with the
Windows 2003 Server, although all the seetings are correct.
I installed WAMP Server 2.0 locally to see if I can get the
project running locally, and it works fine. I can connect no
problem to the MySQL Database on my local PC. I might just have to
migrate everything over manually once the project is
complete. -
Detect CD drive from Flex-AIR desktop application???
Can we detect CD drive from Flex-AIR destop application even though there is no CD or Blank CD inside the drive?
AIR 2.0 supports native code integration.
http://labs.adobe.com/technologies/air2/
This may be useful in hooking into native CD/DVD writing capabilities. -
Can Flex develop Windows Application ? Example or How to ?
Can Flex develop Windows Application ? Example or How to ?
Thx.Take a look at AIR (formerly Apollo) in Adobe Labs.
-
How can i Upload Files from my Flex 2.0 Application?
How can i do a Upload File funtionality with Flex 2.0? Do i
have to make the component? How is the code in Flex/ Action Script
to make this possible?. I'm new in this Flex world and it seems to
me very interesting to make RIA's Applications; in fact i'm making
a little Employees Application for my company and i'm trying this
technology and of course i need the functionality that i asking
for.
Regards.
Andres.I haven't tried this, but I believe what you could do is
append
requestHeaders to the urlrequest object that you pass into
the file.upload()
method. The requestHeaders is an array of name/value pairs
that would be
included with your post. At least in theory, I believe that
shoudl work.
Good luck.
Phil
"tantalo" <[email protected]> wrote in
message
news:e3q3mt$138$[email protected]..
> Hi. Phil, how i commented in the forum the examples
works ok, with a
> little
> changes to make a file Upload. Now i have another doubt,
i need to make a
> submit of a form with another fields and the file
selected.
>
> I made a HHTP Service for that purpose with the tags
Requests like:
>
> <mx:HTTPService id="empleadoRequest"
> url="
http://andresbarrios:8080/directorio/empleados/insertarEmpleado.jsp"
> useProxy="false" method="POST">
> <mx:request xmlns="">
>
<empresa>{empresa.selectedItem.data}</empresa>
>
<ubicacion>{ubicacion.selectedItem.data}</ubicacion>
>
<departamento>{departamento.selectedItem.data}</departamento>
> <cedula>{cedula.text}</cedula>
> <nombre>{nombre.text}</nombre>
> <apellido>{apellido.text}</apellido>
> <!--Falta Fecha de Nacimiento -->
> <sexo>{sexo.selectedItem.data}</sexo>
>
<estado_civil>{estado_civil.selectedItem.data}</estado_civil>
>
<telefono_celular>{telefono_celular.text}</telefono_celular>
> <extension>{extension.text}</extension>
>
<correo_electronico>{correo_electronico.text}</correo_electronico>
> </mx:request>
> </mx:HTTPService>
> I have the global variable called "file" that contains
the file selected.
> I
> want to send this file variable in the HHTPservice call
EmpleadoRequest,
> can i
> do that with a Request tag like another field? or the
only way is trougth:
> file.upload(upload.cfm) ?;
>
> I want only make a one call to the server to submit the
fields of the form
> and
> to upload the file at th e same time can you help me How
can i do that?
>
> Thanks.
>
> Regards.
>
> Andres.
>
>
> -
Flex 4 web application not loading (blank white swf)
We've recently updated our code-base from the Flex 4 Beta 2 SDK to the Flex 4 final SDK. The release builds using the final SDK do not load on all user's machines (the Beta 2 builds were all ok). The flash player version varies on our systems, but in all cases the version is higher than 10.0. All machines (we all use Win XP sp3) with the debug player will load the release version without a problem. Some machines with the non debug player will load the application, others will not (it loads to a blank white swf and the Flex SDK does not load (the preloader is not visible)).
In the compiler settings in Flash Builder 4, I've tried to add -debug=false -optimize=true but that had no effect. I've also done a search for any debug-only code in the application (there are 2 "trace" statements in there) and have commented that code out. Also no effect.
Any suggestions as to where I should look next?Yup, we tried that, but it didn't fix anything.
One thing we did do was go to http://kb2.adobe.com/cps/155/tn_15507.html on all of the computer where it didn't work. After going there, the site loaded fine. I'm not sure if going to the site had anything to do with it (I don't see how it would), but in all cases, after visiting that site, the application loaded fine. Very strange. I guess it could be that one of our load balancing servers wasn't serving the application correctly and it fixed itself in the time that we went to that site.
Is it posible that the Flash player was not registered on the system correctly and by visiting that site, it registered correctly? -
Hi
I am new to flex and i have a knowledge on jsf .We got a requriment to integrate the flex with jsf .
I googled and i developed the sample application using the fiji (Exadel ) .
When i an running the application in the jboss I GOT EMPTY page then after deselecting the check box of 'blockjavascript' in the browser
am able to see the swf file in the page
can any one help me..
My Project
The mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="1024" height="715" xmlns:ns1="*">
<mx:Form x="22" y="47" width="1200" height="680">
</mx:Form>
<mx:Button x="22" y="5" label="This is Prapansolution" width="280"/>
</mx:Application>
The .jsp
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:fiji="http://exadel.com/fiji"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:ui="http://java.sun.com/jsf/facelets"
version="2.0">
<f:view><h:form id="myForm">
<fiji:swf src="/faces/FirstFlexApp.swf" id="demonew" bgcolor="#FFFFFF" width="820" height="480">
<f:param name="text1" value="Hello" />
</fiji:swf> </h:form></f:view>"vikbar" <[email protected]> wrote in
message
news:gb0tug$7je$[email protected]..
> Hi Amy,
>
> Isnt the HistoryManager approach more specific to Flex
application i.e if
> user
> is just navigating with in the flex application? In my
case the user will
> navigate between a JSF page which does not have any SWF
file and the
> another
> one which has swf file embedded. Now everytime when the
suer moves to the
> flex
> embedded JSF page from the Non Flex JSF page these are
the steps which are
> always going to happen :
>
> 1.) System Manager will get initialized and will create
PreLoader
> instance.
> 2.) The preLoader will then try to download the swf
file. Now since this
> is
> the second time the user is coming back to the flex page
so the broswer
> would
> have already cached this swf, so Preloader will skip the
downloading
> swf/RSl
> step and hence you wont see any initialization progress
bar.
>
> 3.) New Application object will get instantiated and
will go through its
> whole
> lifecycle.
>
> So, I guess historyManager approach will work only if
the user stays on
> the
> flex application only and navigates with in flex
application itself(so in
> that
> case if the user clicks back then it knows which flex
component or view to
> display), but in my case user will completely move away
from flex page to
> a
> JSF page and then will try to come back.
>
You'd need to put the right stuff in the url to make it work,
just like if
you were calling a page that's expecting GET params. I don't
really use the
HistoryManager, so you'll need to either look into this
yourself or ask
someone who knows more about it.
HTH;
Amy -
Using Flex Performance Profiler for Profiling Flex with Java Applications
Hi , I am planning to use Flex Profiler to profile my Application .
I have developed a sample Application using Flex MXML ,some ActionScript classes for Events and Cairngorm , Java , Oracle as database and Blazeds .
Can i use Flex Performance Profiler to Profile my Application . ?? I am asking this question as i ad read the below line from Adobe site and My Application includes java Methods
"You can use the profiler to profile ActionScript 3.0 applications " Can anybody please tell me What does this mean ?? and can i use the Flex Performnace Profiler . Please suggets me .Thanks Karl for the prompt response .
I am making a call to a Java Method from my Action Script function , or getting data from Java Method into the ActionScript function .
So my question is , will the Flex Profiler will be applicable in this case as it internally calls Java Methods . -
Issues with Error #2048 on deployed Flex/PHP Web Application
Hello,
I'm testing out Flash Builder for PHP and I'm running into the following error when deploying to a web servers:
Send failed
Channel.Security.Error error Error #2048 url: 'http://testsite.dreamhosters.com/LocatorPHP/public/gateway.php'
I have looked though documentation and tutorials without any luck. My application works great on the local Zend Server setup but as soon as I jump to a remote web server I get problems.
Here's what I've tried:
1) crossdomain.xml in web root
2) amf_config.ini updated so zend framework on server and gateway.php are reachable (connecting to gateway.php directly gives me no errors)
3) attemped to change the flex server option in my project but Flash Builder for PHP will not allow me to change this, so I had to change my php service.as endpoint entry to the gateway.php on the webserver
Is there a log that can help me troubleshoot the error?
Thanks in advance.Any solution I have just ran into the same issue. App works perfect on localhost phpmyadmin as soon I change everything to our public server ERROR#2048
I have tried same as above no results.
After countless hours of searching this worked for me!!!!
http://forums.adobe.com/thread/674871 -
Flex on Oracle Application Server 10g - security problems
Hi,
I'm working with Flex components (swf files), I'm trying to view them in a browser and i'm facing some security problems.
The server i'm trying to run the files on is: Oracle application server 10g on Unix server.
Please help me with the server's configuration to allow running swf files on it.
In the relation of Flex, there is a file that must be on the server's root named: "crossdomain.xml". This file defines which IPs can the swf object can take/get data from. Maybe there are configurations to that file that needs to be done on the server?
Thank you,
InbalNo. Not only it isn't certified, but it is also impossible to run forms compiled with the 11g compiler with the 10g runtime. For 11g there is a install bundle for the developer suite / application server.
cheers -
Hie I am using flex3 to create and AIR apps. I am using the
<mx:Window> tag and when i run the apps it does nt show any
thing....
however using <mx:windowedApplication> shows the apps
like a small browser window.
My requirement is to remove this window.. i just want it
windowless.. trying showtitlebar="false" also does not hide the
title bar...
plz help..Hi,
I created a very simple sample which has no chrome and will
allow you to resize the window using the corners of the
application, you can move the window using the small bar on the
top. Please check out the sample attached. Please don't forget to
set the systemChrome to "none" in the application descriptor file.
You can find more details on how to manage windows at the URL
below.
http://livedocs.adobe.com/flex/3/html/WorkingWithWindows_4.html#1040453
Hope this helps.
Maybe you are looking for
-
How to connect early 2009 IMac 3.06mhz 4GB 1TB to Cinema Display
I have an old DVI to ADC apaptor that fits the old Cinema Display but the IMac only has mini display port, do I need another adaptor for the adaptor or a different adaptor?
-
I am using Window 7 and Firefox 5.0.1
-
Need to know how to burn a DVD that can be viewed by any DVD player. I created a DVD from a slideshow created in iPhoto. I can open it on my computer, but it will not open or even be recognized in my home DVD player. I asked a friend to try it on
-
Bootcamp don`t support my 64 bit file
Hello I have downloaded a windows home premium 64 bit iso, but bootcamp don`t accept my iso with the error that bootcamp don`t support a 32 bit iso file although I have a 64 bit version. thanks for answers
-
will windows games now be able to play on intel macs?