Flex :: Project Eat 30% CPU?
Jun 5, 2009I have created a complex flex project. It consumes around 30% CPU, then I cut down the browser?
View 3 RepliesI have created a complex flex project. It consumes around 30% CPU, then I cut down the browser?
View 3 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 RepliesMaven 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 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 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
I'm starting to learn in flex and ruby on rails. I see some projects there is a flex folder under rails_project/app which contains controller, models, views. I think it's not mannually to add these folders to rails project.
View 2 RepliesI have an J2EE Enterprise Application Project in which I would like to add a few Flex screens. How do I go about adding Flex capabilities.
I have build Flex/J2EE applications from scratch but can't think of the best way to do this.
I am currently using Flex Builder Plugin for IBM Rational Application Developer 7.5.
How can i settings crossdomain.xml my flex project.* this is my crossdomain.xml.
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
[code].....
I've tried lots of different methods but my project send error message "Security error accessing url Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL [URL]"
put the file in different places
C:wampwwwMYPROJECTin-debugcrossdomain.xml
(my swf url : http://localhost/bin-debug/test.html checked http://localhost/bin-debug/crossdomain.xml its ok)
C:wampwwwcrossdomain.xml
I added the load line of the project
protected function application1_initializeHandler(event:FlexEvent):void
{
Security.loadPolicyFile("http://localhost/MYPROJECT/bin-debug/crossdomain.xml");
}
if flex server type select none everythings ok. but server type select PHP need crossdomain.xml how can i fix.
I'm looking at a tutorial to display placemarks using a KML file on a flex application. I'm using IGN API (openscales) in flex project. The example works perfectly (http:/[url].......
<os:KML url="http://www.parisavelo.net/velib.kml"
proxy="http://openscales.org/proxy.php?url="
numZoomLevels="20"
style="{Style.getDefaultCircleStyle()}"/>
But when I'm hosting the same kml file on my server like that :
<os:KML url="http://www.cycom.org/velib.kml"
proxy="http://openscales.org/proxy.php?url="
numZoomLevels="20"
style="{Style.getDefaultCircleStyle()}"/>
Placemarks don't show up on the map. I tried to host the kml file on different hosts but that doesn't change.
If I create a Flex Library project, am I able to use Flex classes from within the library?
The reason I ask is because I'm working in a Flex Library project and trying to use the mx.rpc.soap package. I can import the the package without an issue, and even get code hinting making me think the package is available. Of course I can even see the swcs included in the project. However, when I try to instantiate the WebService class, I get an error when building. Flash Buidler IDE doesn't tell me what the error is, and I don't go into debug mode when I continue with building. I haven't tried connecting to the service yet, just importing the Class and creating a new instance.
I would like to add a widget board to my flash project so users can embed my project in their web page or wiget display. To see what I'm talking bout go here [URL] and click the white + mark on their widgets.If your a moderater please put this in the correct area, and consider making it a sticky so we can post new ways to impliment in different sites as they become available.
View 2 RepliesI am working on this one project that has a couple of movieclips (already placed on stage) which have a custom class set to export via the Library. Each of those custom classes loads an external SWF using URLRequest().
Is it possible (or, what is the best way) to preload the whole project first, including the external SWFs?
I just wanted to ask if I have a project created in authorware and one more in director.I just wanted to ask can we convert authorware project in flash directly or indirectly?Or can we import authorware project and/or director project in flash.does anybody know or anybody has done this b4???
View 1 RepliesI am new to flex and web programming. I created a canvas that I want to put on the web. What are the steps to do it?
I use a mac and I am using Fetch to put files.
I am developing a project in Flash Builder which will load a file built by Flash CS4. The code in Flash CS4 is below, it's a doc class. I am sure the dispatchEvent has been invoked[code]...
View 1 RepliesI migrate from 3.0 to 3.4 SDK and see the following bug in my flex projectVerifyError: Error #1053: Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory
View 2 RepliesI shall be working with my classmates over a Flex project, and we would need to collaborate for this.
Each of us will be developing modules, and we would like to use version controlling.
We've never done this for a Flex project, those who have done so before, can you please give us a few leads.
I have a .swc file and I learned how to add that swc file into the library. I will be happy if any one explain how to use this .swc file into my flex project and run that with an example .
View 1 RepliesI've got a Flex 3 project that uses xml. It works great in Safari or Firefox. But it blows up in IE. I access the xml using the lines below.[code]How can I access the xml in a way that IE will accept?
View 1 RepliesI am trying create system in which I can login from php and then go directly to the flex project. The flex project already has login system but I want to bypass that and use the login system created in php. For testing I created a simple mxml file and one html page. Using the object tag and flashvars I passed the username and password into the swf and displayed using label. But my project is very big and want to pass username and password without using the swf of the project.
View 1 RepliesWhenever you view a flex app and go to view source you can download a zip of the flex app. Once you do that how do you import it? I went to flex>import and I get to options import archive file I pointed that to the zip and it says its not a valid archive file. so I tried the other option import flex project folder, I extracted the zip and pointed it to that and it says its not a valid project folder.
View 4 RepliesWhenever I download the source code from an internet location, and import that into my Flex workspace, I always get "unable to load xyz.swc" error. Where xyz is any swc file being used in that project.
E.g. I have got the source code (by right click -> View Source) of this cool custom component
[URL]
But I get lots of error of different swc not loading. Though all the swc files are present in libs folder of the project!
i am supposed to fix some actionscript inside a flex-project. unfortunately i only checked out flex shortly after it came out and after that never had the need to use it.
i have flashbuilder 4.5 installed.
how do i proceed?
the project consists of:
- main.mxml
- applicationContext.xml
- a build shell script
- a bunch of as source code folders
- a folder containing the assets
i do not know with which IDE the project was developed. the main interest would be to get it compiling inside flash builder
I'm having trouble getting a vertical scrollbar to appear when the browser window is smaller than the content within the .swf file that is automatically embedded into the html template that Flex creates on a release build.
I fixed this issue with Firefox and Chrome by adding a style to the html template page that the .swf is embedded in.I've even changed the fixed height of my main .mxml file to 100%.IE is still not showing vertical scrollbars when the browser window size shrinks smaller than the content inside the .swf.
We recently built a new dev server for flex builder and installed coldfusion 8. We currently have everything working on our old server using coldfusion 7. We copied the services-config.xml and our project over to the new server. It compiled fine, I updated all references to the new server. When I try to run the flex application I receive the following error:
Warning: Failed to load policy file from http://localhost/crossdomain.xml
* Security Sandbox Violation *
Connection to http://localhost/flex2gateway/ halted - not permitted from file://ourServer/folder/ourProject/bin-debug/ourProject.swf
We created a valid crossdomain.xml file on the localhost (which I wouldnt think would be necessary since everything is on the same server)