Actionscript 3 :: Override Base Path Parameter Inside Flex Application?

Jan 19, 2010

When using as3 and embed my swf via swf object JS, one of the parameters that being transferred to the embed JS function is "base=http://www.mydomain.com" which needed in order to load external widget into application.

Now, am also loading external assets like Styles.swf that placed locally on client side, and when I'm trying to load these assets I get error that they don't found in [URL]

For example: StyleManager.loadStyleDeclarations("Styles.swf");

Error: can't load [URL]

Is it possible somehow to load Styles.swf as local assets??? I've tried use

StyleManager.loadStyleDeclarations("../Styles.swf");
StyleManager.loadStyleDeclarations("./Styles.swf");
StyleManager.loadStyleDeclarations("/Styles.swf");

View 1 Replies


Similar Posts:


ActionScript 3.0 :: How To Override Base Class Events

Nov 28, 2010

That is i have called one AA class in to stage. AA class is extends from BB class. BB class extends from CC class.CC class extends MovieClip.  In CC class i have given CLICK event trace("this is CC class"). i am also given for AA class CLICK event ("this is AA class ").When I Click the AA in out put panel "this is CC class" ,"this is AA class ") i want to stop CC Class mouseEvents.

View 1 Replies

Asp.net :: Passing Parameter From Page To Flex Application

Apr 22, 2010

I have an asp.net page where I get the user_id from who's logged in. Now I need to pass this user_id to a flex application that runs in an asp.net page as a .swf. How can I get this user_id in a variable in my flex application.Or what is the best way to get the user_id into flex.

View 2 Replies

Actionscript 3 :: Flex - Why Override Custom Event And When To Override It

Aug 15, 2010

I always have a question about override custom event. I am not sure why or what do to inside override function. I searched google but didn't get too many feedbacks. EDIT: My projects seem work fine even though I use my custom event without override. Anyone could explain it?

View 2 Replies

Ios :: Embed Adobe Air / Flex Application Inside A Standard Application

Aug 29, 2011

I have a native (Obj-C, standard Xcode project) application and I'd like to integrate a partners iOS application (or specifically, it's functionality) into it as just another view in my application. The problem is that their application is a Flex/Air app. I really don't understand the Adobe compilation process on how it gets from a bunch of flex code down to an IPA. I don't see intermediate projects, shared objects, etc on the disk to produce that IPA. It looks like it doesn't rely on the Apple tool chain... as I understand it, you can produce the IPA on Windows as well. Is there any way to build that Flex app in such a way that I can import it into Xcode so I can link against it and use it as a library from within my application? While I specifically used iOS as an example since that is the most important platform, we'll want to apply this solution to our respective Android and Blackberry 6 apps as well.

View 1 Replies

Flex :: Preview A PDF Inside AIR Application Inside Transparent And Custom Window?

Sep 20, 2011

I have a transparent windows (skinnable). Inside, I'd like to preview some pdf file. BUT, in the only a black screen appear

View 3 Replies

Flex :: Compiling Application With Unknown Context Path

Jul 22, 2009

I would like to compile my flex application with a services-config.xml file. However, I am forced to supply a context.root. In my setup, the context root (context path) isn't known until my .war file is named and dropped into the webapps directory.

View 1 Replies

Actionscript 3 :: Pass A Base Path To A Swf Loaded At Runtime?

Nov 11, 2010

I have a main.swf which loads a module.swf and the module.swf loads some assets.The module.swf works standalone and also needs to work when loaded by main.swf.But unfortunately the module.swf can't find the assets when loaded by main.swf because the assets aren't located relative to the main.swf, but are located relative to the module.swf.As I can't touch the module.swf and I'm also unwilling to change the directory structure, I am looking for a solution close to the a "base" parameter which can be used when a swf is embedded into html

View 3 Replies

Flex :: Define Components Path In Each Module / Just Main Application Mxml?

Apr 16, 2010

I'm implementing a Flex application with several modules.I'm reusing the same component in all these modules.I was wondering if I'm correctly importing it in each mxml module definition: xmlns:hillelcoren="com.hillelcoren.components.*"Should I import it only once, in the main application mxml instead?

View 1 Replies

ActionScript 2.0 :: Root. - Use Parameters To Define A Path Inside A Path?

Aug 27, 2004

i have a quick question what is the syntax if u want to use parametrs to define a path inside a path? i mean:

[CODE]...

does anyone know.... it's very important!

View 6 Replies

ActionScript 3.0 :: Path Resolving In Conjunction With BASE Embed Param And NetStream.play()?

Sep 11, 2011

"When  using progressive download (FLV), NetStream's .play(url) method is  not  resolving relative URLs in the expected way. Instead of being based   off the HTML's embed location and reading the "base" param, it uses the   location of the SWF file trying to load it." I have found  it on the web while searching for a solution to exactly the same  problem. Unfortunately no one provided an answer. If it is a bug it is  in fp ever since and no one has done anything with it. Does anybody know  any solution/workaround? I assume it is not possible to read base param  value from inside of the swf in order to resolve paths manually?

View 6 Replies

ActionScript 2.0 :: Using String Parameter In Function For Mc Path

Dec 17, 2004

I've got a problem with a function i'm using to dynamically move movieclips around - its like this at the mo:

function wjump(number) {
_root.content.aboutus.webwizard.targetY = startPos[number];
}

where startPos is an array with numbers.

I want it to be like this:

function jump(target, number) {
target.targetY = startPos[number];
}

so any clip can be moved as long as it has a targetY variable. But it won't work for some reason. Is there some sort of special syntax i should use like [] brackets? I tried this around the target in function body but it did not work.

View 7 Replies

ActionScript 2.0 :: Create A Flow Chart Base Application?

Mar 24, 2008

I am trying to create a flow chart base application. where user can create connection from output node to input node.this connection is visible by using a line between nodes.I am trying to create a custom class for this functionality "outputDrag.as".There are some issues which I am not able solve here

Details

Yellow triangle = output node (outputDrag.as is attched to this)
Yellow circle = input node

problems

1. when user drag mouse from o/p node, an interactive line from o/p node to mouse pos

2. when user release on i/p node create a new line parmanently btw o/p node to i/p node

3. when user moves the root nodes(gray box and gray circle), parmanent connection btw them should redraw.

4. there is a simple class "drag.as" attached to (gray box node) to move it on the stage.if i attach this class to (gray circle node movie) and I press and drag mouse on yellow triangle, entire node moves. How can I prevent this dragging?In general if you have a movie, with simple drag class attached, how do you prevent dragging that if mouse is pressed on some particular child movies, it shouldn't drag.

View 1 Replies

ActionScript 3.0 :: Pass A XML Element Path In As A Parameter Of A Class?

Dec 28, 2010

I am creating a class to handle some audio in an app I am building. This class will need to accept the XML element path as a passed parameter and or a getter.

examples of some XML elements I would like to pass to the the audio handler class to access them.

Dialog.introScreen.text

or

Dialog.secondScreen.main.text

ect.

I pretty sure this is not a string data type and thus cannot be passed as a string (I could be wrong though), if not, what data type would I pass it as?

View 7 Replies

Flex :: Debugging - I Added Class Directory Via Flex Build Path/Source Path, And Now 'building Workspace' Takes Forever

Apr 3, 2012

I am coming from flash to flashbuilder I have a directory, AS3_classes_dir, on my computer that stores all of my classes, including my greensock and papervision packages. In every flash app that I make I include that directory in the Source Path, so that I can import whatever I may need. Compiling in flash (using ctrl/enter) takes very little time; only the classes that are specifically imported are compiled.So today I did that in flashbuilder, included AS3_classes_dir via Flex Build Path/Source Path ... but now the compile time are a couple of minutes, even though I am not even importing ANY of the classes from within.

View 2 Replies

Media Server :: Deliver SWF's To IOS - Send A Path To SFW Like Parameter To Player

Sep 22, 2011

i have a mission to deliver some SWF compiled in a third party application to iOS system. i install FMS 4 streaming edition and now try to send a path to my SFW like parameter to my player. but it doesn't want to play it.

View 2 Replies

Flex :: Install Badge Inside Application?

Nov 5, 2009

I have created a flex SWF file for my web page. I also have a AIR application.

Is it possible to use the install badge that is available for HTML pages inside my Flex web application?

View 3 Replies

Flex :: Create A Webbrowser Inside Application?

Dec 10, 2009

Is it possible to create a webbrowser inside a Flex (not AIR!) application? I want to display some links in a Flex application and when a user clicks the links, it should open a custom component with some sort of a webbrowsing component. Is it possible?

View 2 Replies

Actionscript 3 :: Run An External SWF Inside A Flex Application?

Apr 26, 2010

EDIT: Due to the answer I change the code posted. I've added the Security.allowDomain("*") line and that line throws me an error. So, how can that be made?

I want to run an Action Script 3.0 Application into a Flex Application. To do this I've done the following:

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication windowComplete="loadSwfApplication()" xmlns:mx="http://www.adobe.com/2006/mxml">

[Code].....

How can I load this swf application and USE the stage without any problems?

View 3 Replies

Flex :: Cleanup All UIComponents Inside Mx:Application

Jun 2, 2010

I create some elements( UIComponents, mainly Panels) inside the "mx:Application name=tst . I need to cleanup all those UIComponent's on MouseClick event , using Actionscript. Is there any way I access the children elements of mx:Application ( I used var totalChildren:Number = this['tst'].numChildren ; but looks like it fails to access the children list).

View 1 Replies

ActionScript 3.0 :: Parameter In Filerequest That Gives The Full Path Of The Object Selected In The Browser?

Mar 11, 2011

Whats the parameter in Filerequest that gives the full path of the object selected in the browser?

I want to display the image selected in a loader.

View 2 Replies

Flex :: Flash - Play SWF Files Inside Application?

Jan 5, 2011

Hey the think is, I need to play some swf file inside my flex 4 app, sometimes this swf file can be a Video, or just a object animated, I have a placeholder in my app which I want to play this swf file, how can I do this?

View 2 Replies

Flex :: Google Search Page Inside Of The Application?

Jan 28, 2011

How to include google search page inside of my flex web application without using iframe.

View 2 Replies

Java :: Embed A Jar File Inside A Flex Application?

Jan 30, 2011

I have a great idea and I want to build a flex application around a .jar file. Is there a way I can go by embedding a jar file into the flex application?

View 1 Replies

Flex :: Display Flash Movies Inside Application And Interact With Them?

Feb 11, 2010

Since I've never done this and the google results are quite random, I ask here: Is it possible to display Flash movies inside a Flex application and interact with them?

The scenario is as follows:

I'm developing a new application in flex Another, already completed application is given to me as SWF (or perhaps SWC, don't know any details yet) I have to insert this second application inside in my Flex application, which should be no problem afair I have to interact with this application: send and retrieve data. Don't know any further details here, too.

Will this be possible? Or is Flex only capable of displaying the SWF without the possibility to interact with it? I hope you can understand, what I want (have to...) do.

View 1 Replies

Flex :: Itemrenderer - ButtonBar Inside A ListItemRenderer Freeze The Application?

Jun 8, 2011

I have drop on a strange occurance - inserting a ButtonBar inside ListItemRenderer freeze the application. The bug is highly reproductive.ere is a bit of the code :

<s:VGroup id="buttonHolder" visible="false" gap="0" width="100%">
<s:ButtonBar id="buttonMenu" width="100%" height="18" minWidth="100" change="buttonMenuChangeHandler(event)">

[code].....

View 1 Replies

Flex :: Embed A Streaming .swf File Inside Another Flash Or Adobe Air Application

Sep 24, 2010

I currently have a network camera that streams video as a .swf (and also as a motion JPEG as well...) and I want to be able to embed the stream inside of either a Flash or Air project that I'm creating myself. The only examples i've been able to find though, require the .swf to be saved as a resource of the project; clearly, this is undesirable for a live stream.

Another option is to utilize the motion JPEG. I have some generated code (shown below), but unfortunately only the first image is displayed when viewed via adobe air (if I were to view it in a HTML browser, the image would automatically update, effectively showing the stream:

<SCRIPT LANGUAGE="JavaScript">
function displayImage( )
{
// Set the BaseURL to the URL of your camera

[Code].....

View 1 Replies

Flex :: Programmatically Enter Edit Mode In Tree Control Inside Application

Jan 17, 2010

I have a Tree Control inside my Flex Application which I want to edit on a doubleclick on a tree item. I found the properties doubleClickEnabled= "true", doubleClick="startEditMode()", and editable="true". With these functions I can detect a double click and I can change the editable property to true based on a double click. The problem is that after I double clicked on a Item i have to click once more to really enter the edit mode. That doesn't seem to be intuitive at all..

View 3 Replies

Flex :: Flash - Connect To Adobe Stratus Server In A Application From Inside A Proxy

Jan 19, 2010

I am trying to develop a P2P conferencing application in flex using RTMFP. So I have to make connection to Adobe Stratus server for Id of Flash Player instance. I am a student and behind the http proxy. I have checked in NetConnection class but, didn't find anything related proxy configuration.So, How can I configure proxy settings for my flex application.

View 1 Replies

Flex :: Call A Function Inside ItemRenderer In A Spark List, From The Main Application?

Sep 1, 2011

I have a main application that contains a list, using a custom itemRenderer to display data.

I would like to be able to call a function, inside the itemRenderer, from the main application.

When running the app, we have a list with three persons, and a button. I want to call the function myItemRendererFunction() inside the itemRenderer, of the selected item in the list, all this, from the main app.

[Code]...

View 1 Replies







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