ActionScript 3.0 :: OpenWithDefaultApplication Not Working In Flex 3

Jul 10, 2010

I am using flex 3 and was previously developing my application with Adobe Air 2.0beta SDK. Today I upgraded my SDK to use Air 2.0 and all of a sudden openWithDefaultApplication is not working anymore. If I point to a File object, the IDE is able to find the method. However, I get the classic:
ReferenceError: Error #1069: Property openWithDefaultApplication not found on flash.filesystem.File and there is no default value.
I have also updated my (+app.xml to point to adobe AIR 2.0 instead of 2beta.

View 1 Replies


Similar Posts:


Flex :: 9scalling Is Not Working At Runtime (although Working In Flash)?

Jul 10, 2010

I created a 9-scalled background in Flash CS5 which is working fine in Flash CS5.But when i imported it as embeded graphic in Flex, and change dimensions in runtime, 9-scalling doesnt work.Here is my code.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"[code]....

View 1 Replies

Flex :: Working With Data In Flex By James Ward / EmpWeb Example In Flash Builder 4.0 Beta

Jul 31, 2009

From a video on AdobeTV, I tried to play with example empWeb (LiveCycle Data Services).In Flex Builder 3 (FB3) everything works fine. When I tried this on Flash Builder 4.0 Beta (FB4) it doesn't work. When I replaced original xmlns declarations (2009, spark, halo)with declarations from FB3 (2006) it works. Could you explain why?I'm using the default SDKs (Flex 3.2 for FB3 and Flex 4.0 for FB4). I investigated this (please see 3 source code examples). Source #1 works OK in FB3 and FB4, Source #2 gives a FB4 compilation error message: [code]

View 1 Replies

Actionscript 3 :: Flex Web Application Resize Method(and Scale X / Y) Not Working On Server But Works On Local Flex Builder

Oct 18, 2011

I have a quite different problem with resizing. I have a Flexbook component which uses the middle part of screen (center) with a html header menu and footer. The problem: The scaling works perfectly when we run in the local machine ( Flexbuilder). But when we deploy it to the server its like scaling never existed.. The requirement: when user maximizes the window or minimizes it, the Flexbook should be resized to fit the screen.

[Code]....

View 1 Replies

Flex :: Windows Authentication Is Not Working In Flex

Feb 2, 2011

We have a situation where a web application within an intranet requires windows authentication. This way employees of the company can login to their desktops and have automatic access to the web application and also be identified automatically without having to login because Windowns Authentication takes care of that. The problem is that we've added a Flex module to the web application. The web application comes up fine and authenticates the user can then navigate to the page where we have the Flex application. Which loads fine. The problem is that the Flex application also needs to communicate with the same server about this user but this communication is not working and is prompting the user for a password. Even if the correct user/pass is entered it fails and the Flex application can't talk to the server which requires Windows authentication.

Our expectations was the since the IE browser housing the flex application was already authenticated that all communication from the Flex app would also carry with it the necessary information to enable it to access the server without authentication.

View 2 Replies

Flex :: Cookies Working In Flex But Not In Air

Dec 11, 2010

I've got a flex app which I'm porting to air, the two apps are identical except for the root tag being WindowedApplication rather than Application.The problem is that cookie/session based logins are working for the flex app in the browser but not for the air app. Reading the docs says that cookies are available for air and the URLRequest manageCookies is true by default.I've investigated further and it turns out cookies are working in Air and are used for all subsequent requests after the login, but the cookie does not survive a shutdown of the application and the user is required to login again when they restart.

View 2 Replies

Flex :: Flex - Long Image Links Of Facebook Is Not Working In Mx.image.souce

Aug 11, 2010

I am creating one desktop application of facebook.

So here I am getting streams from facebook post. So when any facebook application's long image link I am getting that I can't display in Image container, this is not displaying image.

One also fact is that, When I am giving this link directly then it is working.....

When I have seen this in Charlse Debugging proxy then it is displaying 403,Forbidden error of image.

View 2 Replies

Asp.net :: Embed Flex In Asp .net Not Working

Dec 8, 2009

I just copied Flex builder's generated html from the tags, and pasted in an ASP .NET page, the page shows up no errors , I can see a grey rectable the size of my flex file but there's nothing in it its blank and I am stumped why?? Why when it's showing up perfectly fine via the HTML file that flex generates.[code]

View 1 Replies

Xml :: Flex Link Not Working?

Feb 22, 2010

There this link in Flex that was working and now isnt... Flex is giving me a headache with this one because it is not throwing any errors either.

In the script part of the XML I have this:

private function onLinkClick( event:TextEvent ):void {
var url:URLRequest = new URLRequest( event.text );
navigateToURL( url , "_top");
}

[Code].....

It was working but now the link doesn't and the swf's not throwing any errors either. This is very strange behavior, would anyone know why the link won't work?

View 1 Replies

Flex :: Regexp Not Working?

Nov 9, 2010

I'm using Flex 4. I'm driving myself crazy. Why won't the following work?

// in my Application tag:
creationComplete="replaceMe(event)"
// in my script block:

[code]....

my text area (id="test") says "She sells seashells by the seashore."...it should say "sche sells seaschells by the seaschore."

View 2 Replies

Flex :: Dataprovider Tag Is Working

Feb 7, 2011

i m new in flex and was trying example but getting nothing

[Code]...

i think i m doing something wrong in dataprovider tag reason is when i use dataProvider = "{d}"

View 2 Replies

Flex :: Trace() Is Not Working In Flashbuilder 4?

Dec 18, 2009

i'm trying to use actionscript 3.0 and using trace(), it never outputs content of trace of variable either in flash player or in output area? how to coorect or should i enable something?

View 3 Replies

Flex :: Setting VerticalScrollPosition Not Working

Jan 7, 2010

I have a VBox that I am populating programatically, After a particular event (dragDrop) I do some calculations, reorder some variables, then re-build the VBox. This all works great, but I want the VBox to scroll back to the correct verticalScrollPosition. I tried even the simplest thing: myVBox.verticalScrollPosition = 200But I just can't get it to set the scroll position after it's rebuilt.

Edit: per Franky's response I realized that my dragDrop function was calling the rebuilder function then the position setter function back to back, which means it wasn't done being built when it was trying to set. Now I'm passing the position I want the box set to to the rebuilder function which sets the scroll position at the end of building the VBox and everything works out great.

View 1 Replies

Flex :: Hbox HorizontalScrollPosition Not Working?

Jan 12, 2010

I am applying hb.horizontalScrollPosition = value and it does not work withhorizonalScrollPolicy = on/off. Is there any other way to achieve this?

View 1 Replies

Flex :: AIR - Keyboard Events Only Sometimes Working?

Mar 12, 2010

I am adding a key listener to my AIR application like so:

<mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml"
keyDown="onKeyDown(event)">

Yet only sometimes when I press keys does it actually invoke. I have no clue why, I thought maybe something else has focus. Well I cannot add key listeners to NativeWindow or NativeApplication, and I would assume if it is on the WindowedApplication which is the root element, that as long as my application has focus the key presses should invoke the listener.

View 1 Replies

Flex :: AIR SQLite IN Expression Not Working?

Mar 14, 2010

I'm having a problem with an expression in my sql statement in SQLite for Adobe AIR basically I have this sql = "UPDATE uniforms SET status=@status WHERE customerId IN(19,20)"; updateStmt.parameters["@status"] = args[1]; updateStmt.execute();

if I run the above code it works, updating the status when the id are 19 and 20

but if I pass the ids list as a parameter like this

sql = "UPDATE uniforms SET status=@status WHERE customerId IN(@ids)";
updateStmt.parameters["@status"] = args[1];
updateStmt.parameters["@ids"] = "19,20";
updateStmt.execute();

it gives me and error, saying could not convert text value to numeric value, which make sense because I'm passing and string but the IN expression should convert it accordingly, like it does when I pass directly the list values, why is not working the other way,

View 1 Replies

Flex :: SWF Only Working In Debug Folder?

Mar 21, 2010

If I copy all the files from the debug folder and paste it somewhere it stops working gives me a sandbox error. ( I am not using any absolute paths) and everything seems to be fine in debug folder.

It's a actionscript project in flex builder.

View 2 Replies

Flex :: Data Binding Not Working

May 3, 2010

I'm having some troubles with binding data. I have an application that contains a viewstack of components. Let's say I have comp1, comp2 and comp3 inside the viewstack. Each component, has its own data class --> comp1Data.as, comp2Data.as and comp3Data.as. All values in each component are binded to the corresponding data in it's data object.

A click in a control in comp1 leads to comp3, the same goes for comp2. Clicking a control in comp2 leads to comp3. When going from comp1 to comp3, comp3Data.as is initialized and and comp3 displays the binded values. When going from comp2 to comp3, comp3Data.as is also initialized but the binded values are not displayed...

[Code]...

View 1 Replies

Flex :: FileReference.download() Not Working?

May 24, 2010

I'm building a Flex app which requires me to download files.I have the following code:

public function execute(event:CairngormEvent) : void
{
var evt:StemDownloadEvent = event as StemDownloadEvent;

[code]....

View 1 Replies

Flex :: Autocomplete Not Working For Textmate?

Aug 1, 2010

I am being very hard headed and determined that I am going to give Textmate a solid try for my actionscript and flex projects. Work on the bundle has been a little lacking but what has been developed so far is pretty great. I have run into some slight issues but able to figure them out and get things set up pretty well and I have already dug in and started customizing the snippets to suit my needs.

One thing that I have not been able to fix, figure out or find a straight answer for is regarding working with MXML files. AutoComplete for Actionscript files seems to work great but I don't seem to get the same result when I am editing Actionscript inside the script block in a MXML file.

View 1 Replies

Actionscript 3 :: Flex Bar Chart Not Working?

Aug 15, 2010

XML Data to plot:

<?xml version="1.0" encoding="utf-8" ?>
<spearkerslist>
<speakers langid="afb" countryid="SA" countryalpha3id="SAU">200000</speakers>
<speakers langid="acw" countryid="SA" countryalpha3id="SAU">6000000</speakers>

[code]....

The above data I need to plot to a Bar chart, which I tried with code below and not working
I need to plot "Langid" on y-axis and bar length based on the value in speakers tag.

<mx:Script>
<![CDATA[
private var languagelist:XML = new XML(); //Variable where the XML is stored.
]]>

[code]....

View 2 Replies

Flex :: SWF Not Working In Internet Explorer

Jan 3, 2011

Why is the below code not working on IE.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="[URL]"
layout="absolute"
width="300"
height="100"
creationComplete="init()">
[Code] .....

View 1 Replies

Flex :: GetChildren() Not Working For ViewStack?

Mar 15, 2011

My Strucutre is like this.

<mx:ViewStack>
<mx:HBox>
<mx:Form>

[code]......

View 2 Replies

Flex :: Removing Timer Is Not Working?

May 20, 2011

How do I correctly remove/stop a timer in actionscript? do it like in this piece of code but timer has been set to fire frame1SoundTimerHandler in 200 seconds later :

playingScreenFramesObj.myTimer2.stop();
playingScreenFramesObj.myTimer2.removeEventListener(TimerEvent.TIMER, frame1SoundTimerHandler);

[code].....

View 2 Replies

Flex :: 4 - AddItemAt() Of Arraycollection Is Not Working

Aug 1, 2011

I am trying to add an item in arraycollection which is sorted and filtered using addItemAt(). But addItemAt() is not adding item to the specified index.

View 3 Replies

Flex :: 4.5 TabNavigator CornerRadius Not Working?

Oct 19, 2011

I'm having the hardest time finding a way to simply add rounded tabs to a TabNavigator control.I have seen examples which seem to be really simple but they don't seem to work in Flex 4.5. Here is some sample code:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]......

View 2 Replies

Flex :: AddEventListener Not Working Flashbuilder 4.5

Oct 26, 2011

I'm doing everything by the book (I think), I've reviewed this problem multiple times, but I can't seem to get it fixed. The creationCompleteHandler function is b

[code]....

View 1 Replies

Flex :: AMF Class Mapping Not Working?

Oct 28, 2011

I am building an application using Flex 4.5 and Zend_AMF as my AMF endpoint.I would like to map a class called CRequest in PHP to a class called Request in Flex.This is my php class:

<?php
namespace appweb;
class CRequest{

[code].....

View 2 Replies

Flex :: Youtube Api Player Not Working On IOS?

Jan 20, 2012

I'm using the YouTube API in my flex app to play videos and it works fine running on my computer and android, but I'm getting an issue when I try to use it on iOS, I just get a black screen!

View 2 Replies

Actionscript 3 :: Fonts Not Working Any More (flex)

Jan 23, 2012

my fonts got screwed up when moving my flash-project to flex. They don't show up any more (strange thing is I don't get any error messages).[code]

View 1 Replies







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