Flash :: Loading An RSL Without Using Flex?
Jul 29, 2009
If I have rolled my own RSL, and I want to use it in my pure as3 apps, is there documentation or an example of how to do this?
Or do I need to traverse the flex source code to figure out what adobe's engineers have done?
View 2 Replies
Similar Posts:
Feb 4, 2010
i am using flexbuilder 3 now i need to load xml file from disk using flex without AIR i imported flash.filesystem.File but error occured. but AIR project,flash.filesystem.File was successfully imported. Cant i use flash.filesystem.File from flex without using AIR?
View 1 Replies
Aug 21, 2009
I am trying to load a flash game in flex but the game does not work the same as it does in the flash player. The game was made using AS2 but I read somewhere that is should play without errors, that is not the case. Played normally the guns shoot the enemies no problem but in flex the bullets just float around the enemies never hitting them. It is hard to describe what is happening so I also included a link with the flex 3 project file that has all of the files.
Here is what I am using for my flex 3 code.
Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="[URL]" layout="vertical"
creationComplete="init()">
<mx:Script>
<![CDATA[
private function init():void{
[Code] .....
So is there a way to just play the swf file without messing up the game?
View 1 Replies
Dec 6, 2009
i'm pretty new to flex 3 but it's really cool so far. now in the center of the screen when i try to load an swf file using the SWFLoader object i get the following error:
Error #2044: Unhandled securityError:. text=Error #2140: Security sandbox violation: file:///C:/Users/ufk/Documents/Flex%20Builder%203/GamePage/bin-debug/GamePage.swf cannot load file:///C:/Users/ufk/Documents/Flex%20Builder%203/GamePage/bin-debug/crazy_counting.swf. Local-with-filesystem and local-with-networking SWF files cannot load each other.
[Code]...
View 4 Replies
Jan 9, 2012
I have a Windows Server 2003, with a domain: "mydomain.com" and everything goes right until the Flash application tries to load de crossdomain.xml, because it tries to load it from "servername" and obviously the request fails. Currently I have read all about crossdomain.xml , what it is, where it goes although I can not find what I have to do so my flash application requests the crossdomain.xml from my domain "mydomain.com" and not from my server "servername".
- The domain is up and can be accessed from the internet
- The crossdomain is on the root folder and also can be accessed from the internet
View 2 Replies
Dec 2, 2011
I have a loop that parses and works on a lot of data and it takes a long time. While it works away, the screen is blank and im wondering if there is a way to put a loader or counter up?
Since it does a finite amount of work, I thought I could just update the progress from within the loop but further readings has revealed that it wasn't possible.
View 3 Replies
Jul 29, 2010
I have a html paga which loads a flash(flex) swf file. Using https it loads successfully with Chrome, Safari and Firefox, but not with Internet Explorer.Another page, a simple aspx page, does load in Internet Explorer using https (and no flash in it).Haven't found anything so far on the internet to solve this... Anyone?UPDATE: When I right click on the white screen, 'About Adobe Flash Player 10...' appears... so Flash is loaded. Also, in Charles (http sniffer tool) I can see that the swf is loaded over the network.
So, apparently, Flash Player is running inside my html page, the swf is loaded over the internet but the swf is not displayed in internet explorer browser... Very strange. How can I debug this further to see what the problem is?Meanwhile, in the left down corner, IE keeps on saying: 'Waiting for https://....In all other browsers it works like a charm.You can see that IE shows a Certificate Error, but that's also the case in other browsers. I already clicked on Certificate Error to install the Certificate, but with no success.
View 1 Replies
Aug 6, 2010
We have a Flash game which need to be loaded and played from an AIR app. using the swf loader, the game swf is loaded into the AIR app. But the static background layers of the swf are not appearing in the loaded game.
Those graphical elements which are generated via action script only are appearing. When we are playing it independently (outside the AIR app), it works fine. Is there a setting that i am missing in Flash or Flex. we are working with Flex 4.
View 1 Replies
Apr 1, 2010
I want to have an AS3 app load images from url supplied by the user. But I don't want a malicious user to be able to load an SWF file in place of the image, such as with an altered extension "maliciousSwf.png". Well, not sure how big a security threat that is above and beyond the ability of the hacker to decompile swf, but I think that ideally such behavior should not be allowed.
So, is there any way to prevent this? When people allow users to load images in their Flash apps, do they somehow guard against loading of SWF? Or is this really absolutely no big deal?
View 1 Replies
Nov 15, 2010
How would you defer loading of other graphics on the page until after the images in a Flash gallery's images.xml file are finished loading?Is there any way to detect for this, or would I only be able to check if the flash swf object is finished loading? I'm pretty sure the swf object would be loaded/ready as with document.getElementById('flashobject').onload = function(){}; before the corresponding images have loaded though, instead of after.
View 1 Replies
Mar 23, 2011
I am loading images of different size and then images are scaled and border is drawn for each image as shown in below link,[URL]... I want that border of images to be of the same width and height and for that I need to find out the max width and height size image before loading all the images. Is there any way that I can know the width and height of an image before loading it completely?
View 1 Replies
Apr 11, 2011
I'm building a flash website which uses a google map for a contact section and another one generated via external class for a projects section (for each one of the projects available there will be generated a map and a marker).This website uses SWFAddress and each of the projects receive SWFAddress dynamicaly via xml, pulling in the name of the project.The problem is when I test the website localy, on Flash IDE both the maps are loaded fine, but once I try it online on a webserver just the map on contact section is being loaded.I've tried to use a different key for each other -the contact section map key based on an url.Does anyone know what the problem might be? Is it because I'm using 2 maps on the same website? Is it because the url generated by SWFAddress is too long (I tried to generate a key based on something like URL...
View 0 Replies
Aug 23, 2011
I'm working on a project to make an app for the Blackberry Playbook using adobe builder, I want the app to make it easy to read pdf books (I'll embed the books in the app) I want to make bookmarks and make it look like a book.So now I'm searching for some samples or advise which technology to use for this.
View 1 Replies
Oct 30, 2010
I am working on a feature for an application that requires Flex 4 functionality. Due to some migration issues of the application from Flex 3.5 to 4.0, I have decided to implement this feature as a module that is compiled with Flex 4.0. The theory is that the application would remain compiled in Flex 3.5 and load the module when it needs it.[code]
View 1 Replies
Jan 5, 2011
What is wrong with the following code,I get the progress bar as loading only.
<?xml version="1.0" encoding="utf-8"?>
!-- http://blog.flexexamples.com/2009/02/01/setting-the-bar-color-on-the-progressbar-control-in-flex/ -->
[code].....
View 1 Replies
Jan 25, 2011
We have requirement with the AIR application which loads the flex generated swf which inturn loads the flash generated swf using SWFLoader. This is not working as desired.This gives the following error: SecurityError: Error #3226: Cannot import a SWF file when LoaderContext.allowCodeImport is false.
[Code]...
View 2 Replies
Apr 12, 2011
I have XML file
[Code]...
in my application is tilelist which loads data from XML why I can not take the name of the selected item in the TextInput?
[Code]...
View 1 Replies
Jun 17, 2009
Whenever 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!
View 3 Replies
Jun 23, 2009
I want to display some kind of animation when my datagrid is updating. Does anyone have any good examples of this?
View 1 Replies
Jul 8, 2009
I'm working though the Adobe "Flex in a Week" video training series, and I've reached Exercise 9, which deals with creating a remote service call. Up til this point, the data source and images have been local assets (located in src/assets in my Flash Builder project).
I access the room list by this:
<mx:HTTPService id="rooms" url="assets/roomList.xml"
fault="httpFaultHandler(event)"
result="httpResultHandler(event)"/>
Here are the two result handlers:
private function httpFaultHandler(event:FaultEvent):void{
Alert.show("There was a problem","Error");
}[code]...........
However, when I run the application in the blazeDS container, I get no rooms despite the fact that the room list clearly exists in the deployment directory after running the application:
$ find . -name roomList.xml
./tomcat/webapps/odt/adobeODT-debug/assets/roomList.xml
How can I debug the reason for this failure? The deployment process used by the Flash Builder tool is fairly opaque, and the tomcat instance isn't advertising 404s from Flex apps. Is there logging somewhere, or something, that needs to be turned on?
View 1 Replies
Aug 25, 2009
I want to have a xml file for my configuration and so i have to load it from the same directory the swf file lies in and save it afterwards. I saw articles about filestreams in flex but my compiler didn't allow me to use the filestream. I use the open source flex sdk
View 3 Replies
Nov 11, 2009
I know there are a lot of questions that have been asked about synchronicity in Flex, but I'm not sure if any cover the same issue I'm having. The title only refers to one possible solution I've been going for with this, but essentially here's my situation:
Say I have a Flex application, and I have an XML file with configuration settings I want loaded into that application, preferably at run-time (Although I would've been fine with compile-time as well but can't find a way to do this as the "-define" command-line parameter will only instantiate strings, numbers, and Booleans and I have some more complex configuration structures - I also cannot merely create these as a bunch of constants in Flex because they are used in numerous other places).
However, some of these configuration settings are also used in the various children of the application when they load, so there's no way to perform and complete the load before these containers are loaded (Because of asynchronicity - these children are loaded while the configuration is still being loaded in and parsed using an event listener and handler; of course, before the handler completes, the children components are already loaded incorrectly).
Is there any way to get this configuration file to load before the application's children do? Or even before the application itself? This approach of synchronizing the application load is only one possible approach, but no other approaches seem to fare any better.
View 3 Replies
Aug 20, 2010
I have to create a tree in Flex 4, which will populate the nodes from the remote object. My tree structure would be something like this
[Code]...
View 1 Replies
Jan 13, 2011
How can I replace the loading clock in Flex at the cursor to something like loading wheel in the middle of page instead of cursor
View 4 Replies
Jan 20, 2011
I'm working with modules and each of it will be compiled (deployed) in a common folder in a webproject. In the main class I defined an array of module paths which I need for loading all these defined modules.
How can I make that more dynamically, for instance, I want to say, load all modules in a certain folder an its subfolders without to know each module by name.
View 1 Replies
Mar 16, 2011
I'm trying to load external SWF (JW Player) into my AIR Application using loadBytes. I'm using the following code:
import flash.display.Loader;
import flash.display.LoaderInfo;
import flash.display.Sprite;
[code].....
View 1 Replies
Jun 27, 2011
So i decided to implement some themes in my AIR app. I have converted my CSS files into SWF files, removed the Style linkage from my main file. Based on the user preferences stored in a file, I decide which theme to use. i.e; load the SWF file using StyleManager class.
I made my application window invisible, added a StyleEvent.COMPLETE event listener for the IEventDispatcher object returned by StyleManager.loadStyleDeclarations method. After the StyleEvent.COMPLETE occurs, I made my main window visible.
The problem i have now is, for a few seconds, i can see white canvases and all my components without any styles before using the style selected. I want to know if my approach is correct or do I need to make any changes to implement this properly?
View 1 Replies
Jun 27, 2011
So I have been trying to load data from an XML file into a datagrid. The project is in Cairngorm framework. The XML file is in the web content folder. I have a HTTPService call in the Services folder.
[Code]...
When I make a selection in one dataGrid it is supposed to populate another dataGrid with the data in the XML file. Below is the Classes datagrid. When i click on a class it is supposed to populate the next data grid.
[Code]...
View 1 Replies
Aug 16, 2011
My application has a couple of modules which am loading as thus in my application.
<local:moduleloader url="Module1.swf" id="modulel" />
<local:moduleloader url="Module2.swf" id="module2" />
Then while loading each module I am showing the progress bar. The progress bar shows but does not go away. It remains above the whole frame of the application. The module loader is as follows:(Also note that in Flex 3 the same works, but am using Flex 4 and in Fx 4 it does not)
<mx:ModuleLoader xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
[code].....
View 2 Replies
Jun 22, 2009
I am writing a custom flex preloader which extends the IPreloaderDisplay class. How can I load the images from web in my custom preloader?
View 2 Replies