Adobe Components Do Not Display When Loaded Into AIR Shell?

Nov 10, 2009

The Slider (and all UIComponents) rely on direct access to the 'stage' - which is denied due to recent AIR 1.5 security restrictions. This restriction prevents any UIComponent from working when loaded into an AIR app as a local SWF. The parentSandboxBridge cannot return a reference to the stage.

View 1 Replies


Similar Posts:


Flex :: While Loading Data Make All The Components Disabled In Adobe

Sep 27, 2010

I have a vertical tab-bar with 4 items with different sub tabs. All the four items use data from a single xml file, which is a big file. When the user clicks on a tab, while the data is being loaded this error is shown. TypeError: Error #1009: Cannot access a property or method of a null object reference. I want to disable all the tabs while the xml file is being loaded.

View 3 Replies

Actionscript 3 :: Overriding A Setter In MXML Components In Adobe Flex

Dec 15, 2011

I am trying to override the text setter in the Label component but it behaves weirdly sometime super.text works and sometimes not! and the traces show that there's no error with my code.

here's my code:

import spark.components.Label;
public class LabelXX extends Label
{
private var _initialText:String;

[Code]....

View 1 Replies

ActionScript 3.0 :: Use The Standard Adobe FLVPlayback Components And Skins And Be Able To Play Back Files?

Jul 9, 2008

I have been trying for days to write my own custom NCManager class that allows us to connect to a Limelight stream. We have to issue a NetCOnnect.call() that has the command "FCSubscribe" and the stream name. I've written a 100% custom player(url...) (have to register!) but what I want to to resolve that player with the video-on-demand player(url...) into a single Flash project.I want to allow our Graphics guys (aka Flash developers) to be able to use the standard Adobe FLVPlayback components and skins and also be able to p lay back files, streaming content and Limelight content. To this end I thought that writing a custom NCManager class would be the way to go.

I have 99.9% succeeded: my class gets the connectToURL(),connects to Limelight, subscribes and all is well but I am really really stuck now on how to tell the FLVPlayback component that it .can start playing back now that the stream is connected.FLVPlayback and VideoPlayer parts appear to be AS2 and I cannot call the rtmpStatusInfo() function on the VideoPlayer part to tell it that it is good to go.I am so close I can taste it: If I create a NetStream object and play() it, I can hear the content to I know that if I could only get the FLVPlayback / VideoPlayer dynamic duo to playback then the job would be done.

I have attached the code, warts and all in the hope that either somebody has done this before or can tell me what I have misunderstood about the internal state-machine / FSM logistics that VideoPlayer et al implement.By reading the source code and my debugging statements I can see that I have maneuvered it towards the ultimate goal of playback but I don't know how to make that final step.

PS: I *know* that reconnect() is non-functional but if I uncomment the call all it does is go around the loop again; the real problem is I cannot tell the VideoPlayer that it can play (via rtmpStatusInfo) the data etc

PPS: The meta-data related stuff *only* gets called if I uncomment the NetStream code; this was to check that I had a valid playback stream, which I do at that point.

View 13 Replies

Flash :: Display Animations In Swing Components?

Apr 7, 2012

I am trying to develop an application with eclipse (java swing) and I wonder if I can add Flash animations in the JButton or JPanel

View 1 Replies

Flash :: Multiple Custom Components And The Display List?

Oct 18, 2011

I am using several instances of the same custom component on the same SWF. The component is essentially just a textfield with special sizing requirements. I also have another "wrapper" component that deals with the info from the textfield components. I was initially planning on using the stage index to associate the data with the textfield component it came from. This became more complicated than I anticipated. When I trace from the wrapper i can't get the index of the textfield components. So I got it in the component code and sent it with the info to the wrapper via a custom event. The problem there is that i can't tell which component is which because they are indexed identically. I can also see the component shim as well as the textfield.I'm just really confused about how programmatic components work on the display list.

My main Question. Is there a better way to associate the info with the proper component? I guess that's my only question. Please point me in the right direction.

EDIT2: I created a dummy place-holder component that just draws a rectangle then at runtime replaces it with programmatically generated textfield component.

View 1 Replies

Actionscript 3 :: Listening To Events Down Display List In Children Components

Jun 27, 2011

I'm creating a swf, that has a parent class and a child class. The parent class has a button, that dispatches a custom event and I want the child class to list for this event, but when I dispatch the event the child class does not hear the event has been dispatched.[code]The register EventListeners() function is in the child class.I know events can bubble up the display list but how can then go down the list?

View 1 Replies

ActionScript 2.0 :: Get Swf's To Load Into The Shell?

Jul 16, 2008

i'm having a bit of a problem at the minute, i'm trying to get an external SWF to load into a shell i've created. The way i'd like it to work is that a preloader loads the shell, then once thats done i want the external swf home page to load in afterwards (which also has a preloader)

I know the swf's work all right as i've created buttons that when clicked load the external files, so no problem there.

[Code]...

View 2 Replies

ActionScript 3.0 :: Input Text Box Components Not Working When Loaded?

Apr 20, 2011

I have a main movie that loads a child movie clip. The child movie clip is a security access movie with 2 input boxes (standard input box components). When I run the child movie on its own the input boxes work fine.When I load the child movie from the main movie input boxes do not allow me to write in the input boxes. The cursor remains blinking inside the component but does not respond to keyboard.This is the code in the main movie that loads the child:

security.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, fsecurity);
function fsecurity(e:ContextMenuEvent):void{var loadera = new Loader();addChild(loadera);loadera.load(new U

[code].....

View 11 Replies

Actionscript 3 :: Make Sure Flex Components Are Loaded At Beginning

Dec 29, 2009

How can I make sure all the components, even those that are not going to be visible at the beginning, load right away when I start my application?I have an application with a ViewStack whose visible child is set via a sidebar menu. Say the ViewStack has two children, A and B. A is initially visible, whereas B is not. How can I make sure they both load at the beginning, so that when I change to B I don't have to wait for it to load?

View 1 Replies

ActionScript 3.0 :: Loading External SWF Into Shell?

Feb 27, 2009

I am struggling with actionscript 3. I need simply to load an external. swf into my "shell" .swf. both are actionscript 3. When I have the following actionscript in frame 1.
loadMovie("mymovie.swf");
I get the following error
1180: Call to a possibly undefined method loadMovie.

View 5 Replies

ActionScript 3.0 :: Swc File Loaded In Components Panel And Dragged It To Library?

Apr 6, 2011

I have a swc file, loaded in my components panel and dragged it to my library. It is a file which allows flash as3 to evaluate strings as numbers as such. My problem is when I import the file

import r1.deval.D; I get an error message "the class r1.deval.D must subclass flash.display.MovieClip since it is linked to a library clip of that type".

I've been sitting here for hours following the developers guide and numerous examples of how to do this yet have not found the correct process.

View 1 Replies

ActionScript 3.0 :: Loading External SWF Files Into Shell One After Another

Sep 24, 2009

I am loading external .swf files into a shell, when one .swf finishes playing it loads in the next movie. This works fine in AS2, but in AS3 the previous .swf does not get replaced, it remains on the stage.

View 4 Replies

Flex :: Use Flash As Shell To Load App And Pass URLVars?

May 21, 2009

I am having a problem with preloaders showing up in my flex apps. I never had this problem when developing flash apps so I got the idea to use a flash app as a shell with the sole purpose of showing a preloader while the flex app loads. I am not sure how to do this though, and I also need to ba able to pass the FlashVars from the shell flash app to the flex app.

View 2 Replies

ActionScript 2.0 :: Parabol - Firing Shell / Cannon On Certain Angle

Oct 26, 2004

How would you script a parabol? i want to be able to "fire" a shell/cannon on a certain angle and have it do a parabol/curve in the air and land/hit.

View 3 Replies

Php :: Display XML Data (extracted From PHP) In An Adobe Air Application?

Jul 14, 2009

I would like to create a small Adobe Air application which would extract XML data from my site and display it in my Adobe air application.I have the xml part setup, when i run the xml file, it displays the results in the browser. Now what i need is to display the same results in my adobe air application.For e.g. I have a simple form

<form name="review" action="admin_xml.php" method="post">
<textarea name="xml" cols="40" rows="10"></textarea>
<input class="submit" type="submit" value="Submit Request">[code]............

When i submit the form, i get all the order id's from 2009-01-01 till date and it get displayed in the browser.Is there a way to run that HTML form in an adobe air application such that I enter the XML element values it should go through the admin_xml.php file and get the results.I dont want to enter the XML Skeleton again and again. I only want to able to enter the values for those elements.

View 1 Replies

Actionscript 3 :: Adobe Air - Display Banner Through HTML?

Mar 16, 2012

I'm creating a desktop application with Adobe Flash CS 5 and AIR 2.5. Is it possible to display a banner through HTML and JavaScript inside the app?

JS:
<script type="text/javascript">
(function(){

[code].....

View 1 Replies

ActionScript 3.0 :: Empty Shell For Loading Content Error #1084

Nov 11, 2010

I am trying to load one swf into another. In the former I have a preloader, and a mc to load the content. I am getting "Scene 1, Layer 'actions', Frame 1 1084: Syntax error: expecting rightbrace before end of program." Here is my code.

import flash.events.MouseEvent;
import flash.events.ProgressEvent;
import flash.events.Event;

[Code].....

View 3 Replies

Linux :: Call Shell Command Inside Of A Flash File?

Jul 20, 2010

I want to create a basic GUI for a touchscreen panel running linux grml with fluxbox so I'm very restricted. The Gnash player is also available. Is there a way to call shell/bash commands inside a Flash file (swf)?I want to create a GUI to control the mplayer and volume with the touchscreen... If it's not possible with Flash, what do you think is the easiest way?

View 1 Replies

Flex :: Creating RobotLegs Module Within A PureMVC Shell Application

Oct 19, 2010

I'm working on an existing modular project that was built in PureMVC. Instead of converting everything over to RobotLegs, I want to create a new module using RobotLegs and plug it into the pureMVC shell. Currently, when the module loads, I get the following flash error: ReferenceError: Error #1065: Variable IMediatorMap is not defined.

Inititally, I thought it was because my module needed a pureMVC Mediator to call the pureMVC StartupCommand to get things "hooked up" and THEN create the RobotLegs' Context. However, that didn't work and I'm still getting the error.

View 2 Replies

ActionScript 3.0 :: Make Module Not Importing Packages Imported In Shell?

Jan 23, 2011

There is a Shell and a Module. The Shell loads the Module. Module is never run without the Shell. Because there will be more modules, I decided to put common classes to Shell.

1. Compiled Shell with -link-report objShell_Extern.xml

2. Compiled Module with -load-externs obj<ShellProject>_Extern.xml Module size shrank from 90 KB to 2,05 KB.

3. Added 5 filters to Module:

import flash.filters.*;
tf.filters = [new GlowFilter(), new GradientGlowFilter(), new DropShadowFilter(), new BevelFilter(), new BlurFilter() ];

Module size grew to 2,15 KB.

4. Added 5 filters to Shell (same code as above), recompiled it, then recompiled Module.Module size still at 2,15 KB.

5. Tried getDefinitionByName
//import flash.filters.*; commented out
var GlowFilter:Class = Class(getDefinitionByName("GlowFilter"));
var GradientGlowFilter:Class = Class(getDefinitionByName("GradientGlowFilter"));

[code]....

Error #1065 GlowFilter not initialized, Module size grew to 2,19 KB. Deleting some, but not all filters is decreasing size, so it's not the getDefinitonByName that takes 0,14 KB (2,19 - 2,05 without filters).

1. Do I understand the idea of load externs, or does it work only with specific classes? Why it doesn't work with filters?

2. What did I screw up with getDefinitionByName and is it a new feature because of it's use like in link below?

View 1 Replies

Flex :: Extract And Display Contents Of Zip File In Adobe AIR?

Apr 15, 2012

I have a requiremnt where my Air application loads ZIP files instead of swf.The zip contains all swf ,images and other files.My requirement is when user browses for file in a browse dialog, user selects a zip file and the contents of this zip file should be displayed to the user.

View 1 Replies

ActionScript 3.0 :: Preload Multiple - Load And Display The Percentage Loaded Of Total Bytes And Bytes Loaded Of All The Files

Jul 13, 2009

What I'm trying to do is get the total bytes of all the files I want to load and display the percentage loaded of total bytes and bytes loaded of all the files. Its a slideshow so i want all the files loaded and then it will play. I've looked at bulk-loader but it wasn't what I needed. The image are loaded from an xml file. I think I would need to create an Array and then find out the total bytes but I don't know how to reference the loader in the progress.

[Code]....

View 2 Replies

Html :: Adobe Flash Player Settings Panel Display Behind Divs?

Mar 22, 2011

I am unable to click on "Allow" button in my Adobe Flash Player Settings panel that pop's up because half of it is hidden behind divs making it "unclickable".I tried setting negative z-indices on the divs that are overlaying it and I also tried giving a prositive z-index to the div holding the Flash Player Settings panel

View 2 Replies

Flex :: Components - Components - Any Component With The Functionality Such As Horizontally Collapsible Window Or Panel

Aug 22, 2010

Do you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.

View 1 Replies

Flash :: Flex Dynamically Created Components Added To Custom Components

Sep 8, 2009

I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....

[Code]...

View 1 Replies

Actionscript 3 :: Adobe Flex Ability To Display Checkbox Or Radio Button At The Same Position Based On Role

Jun 17, 2010

I want to display checkbox or button at the same position based on user role. How can I do this. I cannot give x and y position same for both radio button and button as I will not know the location in my application. Is there any other way by which I can display only one component based on boolean value.

Sample code:

<mx:HBox x="272" y="93" width="300" borderThickness="2" borderColor="0x000000" borderStyle="solid">
<mx:CheckBox label="CheckBox" visible="{role}"/>
<mx:Button label="Button" visible="{!role}"/>

[Code].....

View 1 Replies

Flex :: Adobe - RSL Error: The Loaded File Did Not Have A Valid Signature

Sep 26, 2011

I'm using Flex SDK 4.5 to create swf files, recently I got the following error when try to open my swf file:

[Code]...

I totally have no idea whats going on with rsl loading step. how to solve this without have to statically linking rsl into swf file?

View 1 Replies

Is It Bad Design To Nest Components Inside Components Using Flex 4

Sep 15, 2010

Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?

<com:MyComp1>
<com:MyComp2>
<com:MyComp3>

[code]....

View 1 Replies

Actionscript :: Use Components Code In Mmxl Components

May 8, 2011

how i can use actionscript component code in mmxl components,as in actionscript components we use classes ,but in mmxl component we can not use classes function, so how i can use actionscript component code in mmxl component

[Code]...

but i cant use this code in mmxl components how i can use public class DialogTitle extends HBox implements IBindingClient in mmxl component code,what are the way to use it,sorry i am newbie if it is silly question

View 1 Replies







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