Flex :: Change Which Browser Uses When Run Project
May 20, 2009How do I change which browser Flex uses when I run my project?
View 3 RepliesHow do I change which browser Flex uses when I run my project?
View 3 RepliesWhat would be the appropriate way to add some AS in a flex-project, giving giving focus back to the parent browser.
ctrl-q: i'm blurring flash
ctrl-t: ah, a new browser tab.
I get Strings from a server that look something like this:
This is normal text followed by a link: [URL]
Links might also look like this: [URL]
This Strings are set as the text value in a spark TextArea. What I'd like to achieve is that
A. the text gets highlighted and
B. the user can click it and it opens in the systems browser.
Using the StyleableTextField throws a typerror on Flex 4.6. I tried the simplest HTML text like this:
StyleableTextField(newsStoryArea.textDisplay).htmlText = "TextArea <b>bold</b><i>italic</i>."
Which throws;
TypeError: Error #1034: Type Coercion failed: cannot convert
spark.components.supportClasses::StyleableStageText@fc3d0a1 to
spark.components.supportClasses.StyleableTextField.
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 need to change browser title via flex.
How can I change the broser title with flex in execution time?
I'm setting the title like this:
<mx:Application (xxx) pageTitle="ConfigApp.getTitle()}" (xxx) >
I 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 have two projects (created with Flash IDE), which i'd like to merge. both use the default package and have a lot of classes, some of which conflict.is there a easy way to change the package of a whole project from default to something specific?
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?
So I have my project area set at 900px and have everything setup and they way that I want it. Anyways I want to change my size are to only 800px which I know how to do. But how can I shift everything over say those 100px to center everything back up?
Is there an easy way to center everything with out manually doing it?
Is it possible to change the coordinates of a project so that is it more like a graph?
Eg. The center of the page is 0,0 and the bottom is -200 and the top is 200
I used Loader to load an external swf file, and try to display it in a fixed area, like a fixed dimention sprite object. And I don't know the exact size of the swf file, I just want it to fit the fixed area.
code:
var loader:Loader = new Loader();
loader.load(new URLRequest("some path"));
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
[Code].....
I publish my project... i put it on the web... but the icon that happears is 1 white page.... how can i change the icon??
View 1 RepliesI 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
in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and press Send or otherwise activate it. That's NOT what I am trying to do here in reality (i.e., no,I am not trying to spam other people's chat rooms or anything)but just an illustration of a similar situation.I can include in it whatever widget or hack that may be necessary.The reason why this problem is arising for me is that AFAIK the SDK that is providing me the data I want cannot be directly accessed from Flash, so I need a way to pipe the data from a regular app into Flash. can I have the Flash app interact with other apps through localhost IP? Or are there draconian restrictions on which server Flash in browser can and cannot interact?
View 1 RepliesThe title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?
View 2 RepliesI'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 Repliesinstead of seeing INDEX is there a way to change it to say "the5150crew.com"
View 6 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.
how to change the title at the top of the browser via actionscript? I was thinking you could link to it through javascript in the same page as the swf but I don't know how to do that
View 5 RepliesI'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.
I cannot seem to get the following to work:
In flash (as2):
Actionscript Code:
getURL("JavaScript:changeTitle('Hello!')");
in browser:
PHP Code:
<script language="javascript">
<!--
function changeTitle(t){
[Code]....
The result is - the page title stays the same, there are no errors - but i do get an alert that says "changed! Hello!" So the function is being fired, and the variable is being sent. It just will not change the page title.
If i call the function in javascript - so just under the function add - changeTitle("good") - it works fine, changing the title.
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.
How can I move the Flash layers on the browser or How can I make Flash layers transperant on Browser to see what's under them ?When browsing (I use firefox) in the internet when flash apps. work;At flash applications some images get over the other and I want to see whats under that image.I some how have to move that image or make it transperant to see under it?
View 1 Replies