Actionscript 3 :: Unable To Reload The Swf Again In Flex Applicaion (AIR)?

Sep 1, 2010

In my flex application I am showing a titleWindow as popup which has a swfLoader and it loads one swf file. My application and the loaded swf file communicate with the help of LocalConnection. And here is the flow.When the popup opens, I create a connection.

connection:LocalConnection = new LocalConnection();
connection.client = this;
connection.connect('ApplicationConnection');

[code].....

View 1 Replies


Similar Posts:


Flex :: Reset/reload A Flex Application Without Refreshing The HTML Page Or Reloading The SWF File?

Jan 12, 2011

I have a flex application that has a home button. I need to reset the application when this button is clicked. I can't use navigateToURL or ExternalInterface.call("window.location.reload"); as its not acceptable to reload the swf file.

View 5 Replies

Flex :: Refresh / Reload A Datagrid?

Jul 10, 2009

I am using a datagrid. It has itemEditor components, combo boxes, etc. as aprt of columns.datagrid.invalidateList() method works to reload the datagrid with new dataProvider data.But, for me it is appending to the old data and new data gets added below the older data. I am not able to fix this reload of datagrid.

View 3 Replies

Flex :: Can't Get Tomcat To Reload BlazeDS Application

Mar 22, 2010

I've followed the getting started for BlazeDS. I'm making changes to the Flex code using Flex Builder 3, but I just can't get the changes to show up when I refresh the page on my client. Server and client are separate physical machines, I've even re-started the server hardware. One curious thing, even when I re-started the server I didn't have to re-login to the Tomcat manager page

View 1 Replies

Flex :: Filter Tree Using ITreeDataDescriptor Without Reload And Close All Nodes?

Jan 18, 2011

working with flex 4 and implementing filtering using ITreeDataDescriptor.Filtering worked as expected like the following code snippet however, i am trying to create a on-demand type of filter where user would type in the search clause in a TextInput, and as the user types, the tree nodes would be filtered on the fly.my implementation now is have user click on the search button and then reapply the dataDescriptor then reload the data. A big problem is that the whole tree collapses after setting the dataProvider again.any suggestion on how the on-demand filter can be achieved?

var dataFilter:ServicePricingFilter = new MyFilter();
dataFilter.searchString = this.txtSearchKeyword.text;
this.treeService.dataDescriptor = new MyDataDescriptor(dataFilter);

[code].....

View 2 Replies

Javascript :: Force Explorer To Reload Flex Page( Swf Embedded In HTML)?

Aug 23, 2010

I developed a flex website, the web explorer always caches swf file which embedded in HTML. Sometimes I make changes to the flex file, clients computer still view the previous version which stored in cache. How can I force client's web explorer to reload/refresh the swf file?

View 3 Replies

Flex :: Unable To Set Font Family Style To Spark Button In Flex 4.6?

Feb 28, 2012

I have created a style in which i am defining a font family.When i apply this style to label it reflects the font were as there is no change when it is applied to a spark button.I Tried various way to Apply font style but it doesn't work.Other properties work fine except font family. Even i tried creating skin class and set the font family style of label in it. While previewing the skin i can see the changes but when i apply it to buttonApproach 1

@font-face{
src:url("HARNGTON.TTF");
fontFamily: MyF;

[code].......

View 2 Replies

Flex :: Reload Main Window's Variable In Popup Window?

Aug 12, 2011

How to access main window's variable from popup window.

I create a popup window in the main window, and pass variable "content" to this popup window as following [code]...

View 2 Replies

Professional :: Warning Unable To Load SWC And Unable To Test Movie Afterwards (CS5.5 Also In CS5)

Oct 13, 2011

I work with Flash Pro allmost 11 hours per day and every while i get a error  which messes up everything. Approximetly i get this after about 2-3 hours withevery project.After i get this error there is no chance to test movies afterwards.I see a fast flash of the loader window but it dissapears so fast i cant even really see if it is loader.

View 1 Replies

Flex :: Unable To See Images In 4.1 Sdk

Jul 8, 2011

I am facing a problem in flex 4.1 sdk. (thou I was using flex 4.5 sdk, but for some reasons I had to use 4.1, I can explain that too, but its relevant to the problem I am facing now) I fixed all the errors that I got when I complied my code in Flex 4.5 to Flex 4.1, now I dont get any error. Basically most of the error were because there is no Image class implemented using the Spark architecture in Flex 4.1. So, I switched to mx.controls.Images class.

Now I dont get any errors, but after building the project, and running it, I do not see any images in the entire application. I also compiled the code again with 4.5 (with mx.control.Images class) I see the images properly.

[Code]...

View 1 Replies

Flex :: Unable To Reach The PHP

Jun 3, 2009

My Flex code is unable to reach the PHP, but when i do normally it works like [URL]

$url = addslashes( $_GET['urlWeb'] );
if( !$url )
{
die( "You need to define a URL to process." );

[code].....

View 1 Replies

Flash :: Unable To Get The Type In Flex?

Jun 24, 2009

I can identify the type of an object in flex? In particular I have an array where I store multiple types in (but all UIComponents) now as I evaluate the array I want to find out whether I have a TextInput Control or a RadioButton. Does someone have an idea?

View 8 Replies

Flex - Unable To Get Focus On Canvas?

Dec 13, 2009

I am creating a canvas in actionscript like :

private var cvs_preview:Canvas = null;

[Code]....

So on the focus change i want to run the "end_preview_on_focus_change()" but this is not working. As per my understanding, i think the canvas not getting any focus in the first place. I was trying to use focusManager.setFocus to do that after the canvas's creation complete. but even that is giving me an error.

[Code]...

View 3 Replies

Unable To Display Google Map Through API In Flex SDK?

Mar 26, 2010

I am using the mxmlc to compile the examples from google to get started in using Google Maps API in Flex 4.But after compiling the swf file the map does not load.

I've registered for an API key Downloaded and included the Maps SDK in the xml config file used at compile time C:sdkflex4frameworksflex-config.xml

[Code]...

View 1 Replies

Flex :: Unable To Add Archive File?

May 21, 2010

I have an Flex 4 application that I am developing in Flash Builder 4. I'm trying to use a library developed by a coworker, which was delivered as an SWC.I added the library to the Library Path in the project properties. Component set: MX + Spark, Framework linkage: Merged into code. When I attempt to instantiate a component from this library, I get the following error:unable to add archive file: [library].swc$localeen_US....sourcesimagesAcceptButton.png (The system cannot find the path specified)

View 1 Replies

Flex :: Comparison Unable To Compare?

Jan 26, 2011

Unable to get ll = -15 even when the Flex builder console show correct result. Which part could I go wrong?

//b-a = (3) && c-a = (6)
if((naArray[i+1]-naArray[i])<=3 && (naArray[i+2]-naArray[i])==6) {
ll=-15;
}

View 1 Replies

Flex :: Unable To Hide Columns

Mar 24, 2011

What I am trying to do is hide an entire column if the content is all null.

<mx:DataGrid width="100%" dataProvider="{service}" id="dg1">
<mx:columns>
<mx:DataGridColumn headerText="Location Origin" dataField="originLocation" visible="{data.originLocationExists}" />
<mx:DataGridColumn headerText="Location Destination" dataField="destinationLocation" visible="{data.destinationLocationExists}" />

[code]....

In the sample above, sometimes all the data in the "Location Origin" will be null, so under the visible property I put a value which is either true or false depending on the data. But even when all the data is null and the visible property equals false, it still stays visible.

View 2 Replies

Flex :: Unable To Invoke CFC Remotely

May 18, 2011

We recently updated to ColdFusion 9 (from 8) and Flex 4 (from 3).

Now receiving below error when attempting to load Flex portion[code]...

Do we need to re-export the Flex project to fix problem or maybe code from /flex/remoting-config.xml needs to be updated?

View 1 Replies

Flex :: Unable To Positioning Text?

Jun 15, 2009

I want to display three different pieces of text in a line underneath a VBox so I've created a HBox and place the Text components in here:

<mx:HBox width="100%">
<mx:Text text="left" id="textLeft"/>
<mx:Text text="center" id="textCenter"/>

[code]....

View 2 Replies

Xml :: Flex - Unable To Query Each Element?

Feb 7, 2008

<?xml version='1.0' encoding='UTF-8'?>
<feed >
<id>http://gdata.youtube.com/feeds/api/videos</id>

[code]......

View 1 Replies

Flex :: Unable To Create Snapshot Of Canvas?

Nov 6, 2009

In my application a canvas object has height = 90 px & width = 86400 px (indicating number of seconds in a day [60 * 60 * 24] ). The canvas is scrollable and the user can add or delete components in that.Now, I want to have snapshot of the whole canvas & shrink it to size 910x30 to draw taken snapshot in another canvas.Can anybody tell me how to take snapshot of such large Component?I have tried to take snapshot in BitmapData object but as it max width is 2880 can not give whole canvas snapshot.

View 3 Replies

Flex :: Unable To Detect Assignments To Item?

Apr 1, 2010

<mx:Label text="{(item1 as INewsItem).displayName}"/>

For the above code in Flex, I get this warning :

Data binding will not be able to detect assignments to item1.Why? How to Fix it?

View 3 Replies

Flex :: Unable To Listen To UncaughtErrorEvent When Loaded By Another Swf?

Jun 11, 2010

When I try to access the uncaughtErrorEvents dispatcher when loaded directly, everything works well. But when I try the same code when loaded by another swf I get a reference error.

protected function onAddedToStage(e:Event):void {
trace("Flash version: " + Capabilities.version);
try {

[Code]....

EDIT: Also have tried this with stage.loaderInfo, instead of just loaderInfo.

View 3 Replies

Flex :: Error: Unable To Transcode /wardrobe.png

Jun 28, 2010

I have a series of projects that we have been using Flex3/Flashbuilder to work with, but I've recently been trying to move over to Flashdevelop for most of my development but I have hit a snag with a certain project structure that Flex/FB can handle but FD/mxmlc can't with sdk 3.*What I have is something like this:

project_root/
/src
/resources

The resources in flex is added as a class path to the project and I am embedding images like this: [Embed(source="/wardrobe.png")]

This all works fine in Flex/FB but FD I get there errors for all my images :

Error:unable to resolve '/wardrobe.png' for transcoding
Error:unable to transcode /wardrobe.png

This problem don't occur when I'm using the Flex 4 sdk, but for these projects I require 3.2.

View 2 Replies

Flex :: Datagrid - Unable To Extend DataGridColumn?

Oct 1, 2010

I am unable to compile the following Flex application.All I am trying to do is, to extend DataGridColumn class.I get the following compile error :

Could not resolve to a component implementation.
DataGridColumnTest/src DataGridColumnTest.mxml line 6
DataGridColumnTest.mxml :

[code]........

View 1 Replies

Flex :: Unable To Export As EXE In Release Build

Nov 28, 2010

On Windows XP 32bits, I find it strange that the FB4 Export Release Build doesn't have the option to export as EXE in contrast to the one I have in W7 64bit?

View 1 Replies

Flex :: Unable To Set Width/height On FlexSprite?

May 3, 2011

I'm trying to set width/height of a FlexSprite object in ActionScript but it doesn't seem to work at all. I'm still a rookie when it comes to ActionScript and I don't understand why I can't set the dimensions of that object. I know I could use a UIComponent but I need something more lightweight since I'm going to add hundreds of them.

public class MyComp extends UIComponent
{
public function MyComp()
{

[Code].....

I plan to add other objects inside the FlexSprite and I need to set their dimensions explicitly as well so I really need to figure out how to do that.

View 1 Replies

Php :: Flex - Unable To Detect Session Value In Firefox

May 20, 2011

In IE, the session work, but in Firefox, it always return empty value.

I have set $_SESSION['apple']='1' in index.php

When executing a Flex 4/flash app that will allow user to browse an image file using filereference for upload to the server (this app is image uploader), the file will then pass to second.php to validate whether it is an image.

In the second.php itself, I have a function that need to retrieve $_SESSION['apple'] value which was set in index.php, it always return empty string in Firefox and Chrome but work on IE9.

Has anyone came across the same problem with $_SESSION on Firefox and Chrome?

How do I make sure the second.php can retrieve $_SESSION?

View 4 Replies

Flex :: Unable To Use NativeProcessInfo And Other Related Classes?

Jun 23, 2011

I have an AIR application in which I have to start some native applications in a windows machine.But the problem I am facing is that whenever I try to create a NativeProcess instance,I am getting a compiler error because NativeProcess is not getting imported into the project.I tried import flash.desktop.*; Even then no use.I have also added <supportedProfiles>extendedDesktop</supportedProfiles>
in the application descriptor file.I am using FlashBuilder 4 with Flex 4 SDK

View 1 Replies

Flex :: Unable To Make Dynamic Tree?

Sep 15, 2011

i wanna make a dynamic tree using a lazy loading ,each time i open a folder the tree sends a http request to the server, in this script i'm using just static text to test the tree but , i'm getting in the label of the root all the XML text assigned to the dataprovider, then when i open the root folder i got the childs with good labels , and openitem and closeitem events do not fire how could i make them

import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.net.URLRequestMethod;

[code].....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved