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


Similar Posts:


ActionScript 2.0 :: Unable To Use Classes And LoadMovie?

Jul 21, 2006

i got this code, and i have no problem loading the picture, but if i run the onEnterFrame, after loading the movie stops????,how can i prevent this, to don't stop the onEnterFrame

Code:

public function MovieClipUtils (path:String) {
lMovie(path);
}

[code]....

View 2 Replies

ActionScript 3.0 :: ASDoc Unable To Load SWC Classes

Feb 8, 2010

I am using ASDoc tool for action script3.0 using flash develop's document ation generator. I have also tried it using command line . I have included external swc library. The problem i am facing is..when i generate documentation than i will get following error

" Error: Type was not found or was not a compile-time constant: "...as far as i did some R&D , this is not a synatx error. I am guessing that ASDoc is not able to detect those classes oif SWC which i included in my project.

View 1 Replies

AS3 :: Flash - Unable To Add Children When Exporting In Frame 2 For Classes?

Dec 28, 2011

Here is my code:

public function main() {
stage.addEventListener(KeyboardEvent.KEY_UP, hurdlesReactToArrowKeys);
var loginScreen:dealerLogin = new dealerLogin

[code]......

View 1 Replies

Flex :: Math-related - Constructing Equilateral Triangle

Jan 6, 2010

I am trying to construct an equilateral triangle with the following code, but I am not seeing what I would expect to. I would expect to see a triangle drawn to the stage, but I don't see one. I think there must be something wrong in terms of the location of the tri sprite on the screen.

[Code]...

UPDATE: I can now see the triangle but it is not filled in. It seems to have the generally-correct shape, but I would expect for it be 3 sided, rather than 4.

View 3 Replies

Flex :: Click On A Row In A DataGrid And Highlight All Related Rows?

Jul 1, 2010

how I can select a row in a datagrid in flex and have it highlight that row plus any related rows.Let me give you can example:Let's say that I have a datagrid. In the grid I have two columns for each row. One column has what type of car they own, and the other column has the owners name. Let's say that an owner has two cars. So you have a datagrid that looks like this (4 rows, 2 columns):if you click on the Camery row, the Jaguar row and the Camery row are both highlighted.I have a datagrid that has items, and has related items to its parent.

View 2 Replies

Flex :: How Is The Height Of A Component Related To Its Skin File

May 2, 2011

I have a panel with a custom skin whose height is smaller than its hostcomponent's height. When I layout this out in a vgroup, the component's size doesn't reflect the skin's smaller size.

Is there a way to completely delegate the size of a container to the skin class?

View 1 Replies

Flash :: Flex - What Are Possible Non-code-related Reasons For A Blank Screen In Builder 4.6 Design View?

Dec 13, 2011

I was editing a very basic mobile Flex project, and after I debugged the master (application) mxml file, Design View stopped working (blank screen displayed, no Design View errors) for all files. Creating new projects, either mobile or else, or testing old, working projects, doesn't work either. Out of the related issues I've found info on, most concern earlier versions of the IDE, and deal with either Design View errors (got none), use of certain functions or custom components (I get the error even on a new project), or are solved by changing styles back-and-forth (tried already, to no avail).

I can't drag and drop components to the design area, either (a "prohibited" symbol appears and nothing happens when I drop); so I'm pretty sure it's not code-related or a bug, but probably something stupid, like a configuration issue, so I definitely need someone to take a fresh look at it.

View 1 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 :: Display Content Assist In Flex Builder For All Classes?

Jul 16, 2010

I have a components and classes project library. Within the library, flex builder only seems to display content/code assist options for top level classes (e.g. arguments, Array) but not other classes such as VBox. Also, within the non top level classes, class properties are not provided by content assist.

View 2 Replies

ActionScript 3.0 :: Use Flex Classes From Flex Library Project?

Mar 4, 2012

If I create a Flex Library project, am I able to use Flex classes from within the library?

The reason I ask is because I'm working in a Flex Library project and trying to use the mx.rpc.soap package. I can import the the package without an issue, and even get code hinting making me think the package is available. Of course I can even see the swcs included in the project. However, when I try to instantiate the WebService class, I get an error when building. Flash Buidler IDE doesn't tell me what the error is, and I don't go into debug mode when I continue with building. I haven't tried connecting to the service yet, just importing the Class and creating a new instance.

View 3 Replies

ActionScript 2.0 :: Hex To Dec (not RGB Related)

May 20, 2004

I'm doing a simple hex converter with a input window(hex) and output window(dec)Currently i'm using a simple script on a button to covert the hex to dec [code] This is ok if you want to convert one hex number at a time, what i want to do is input lots of hex values (in the input window) and convert them to dec (to the output window) in one go.

View 8 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

ActionScript 2.0 :: Output Error Related With It

Jan 24, 2009

I want to know what this error means and how ca i fix it[code]...

View 1 Replies

ActionScript 2.0 :: F8 ClickTAG Related Query

Jan 29, 2009

I am designer and working on some Flash Banner design projects.client need it according to Google terms as it is going for google Adwords Program , so i am using this code:[code]but my probem is that i have done all the animation inside a Movie clip and i the button is inside the movie, can i paste the code on the insode button or i should create a button on main stage ?

View 2 Replies

ActionScript 3.0 :: How To Show Related Videos

Mar 12, 2010

I have this FLV player that plays movies in a library style.Where you get thumbnails for all different videos with the ability to add different categories.I have a fla and XML file as my source files.xml has all the information about the list of movies titles description and all that and my fla file has info about the way player looks.I want to be able to add a tab called related videos, kind of like YouTube where when you play a certain movie it show a list of similar videos.

View 5 Replies

Php :: IIS 7 Authentication For Flash Related Files?

Apr 2, 2012

What I would like to do is to use ASP.NET impersonation to authenticate a Flash app as a user in IIS so that the file dependencies related to the flash file ( XML config files, and PHP API calls ) are not anonymously accessible when users try to access them directly through the URL. So, instead of displaying the contents of an XML config file, it should tell the unauthenticated user they do not have permission to view the file.

Is this possible? Right now I'm looking into request headers and the settings in IIS for authentication.

So I found out how to use Basic Authentication through help posted here. The problem I'm running into is that even though the flash app sends the appropriate request. Which is handled fine in FF, Chrome, and Safari. It still displays the login pop-up box for Opera and IE. Does anyone know why IE and Opera behave differently with Basic Authentication?

View 1 Replies

ActionScript 3.0 :: Where To Place The Logic (OOP Related)

May 3, 2010

I want to update 50 "Circle sprites" (sprite with a circle in graphics object) on a timer event. Each circle's radius and position is calculated with a formula based on preloaded xml data.

[Code]....

View 4 Replies

ActionScript 3.0 :: Communication Between Instances Otherwise Not Related?

Sep 1, 2010

how to make objects on a site communicate. Not using spaghetti code or event. For those that have just begun programming in AS3 this is a neat trick.

[URL]

View 9 Replies

ActionScript 3.0 :: Language Is Most Closely Related?

Nov 12, 2010

I'm wondering about this for some research i'm doing.

View 9 Replies

Related To TextArea Component In Flash?

Apr 10, 2010

I am facing a problem while using textAreacomponent in Flash cs4.I set the text of this component at run time with coding i.e dynamic text and after that i am rotating this component with -2.After rotation it dosen't show the text why is it so?

View 1 Replies

ActionScript 2.0 :: String To MovieClip Is That Possible / XML-Related

Jun 26, 2008

I'm trying to put together an XML based Flash map. On the right side, is a dynamically loaded XML menu. Now, my problem is that the rollover and rollout effects for the menu doesn't work. Basically, I have a movie clip that contains a dynamic textfield and another movieclip (the latter contains a button.I wanted it so that when the user rolls over this button, it plays, and when the user rolls out, it plays an exit "fade")[code]

I've tried using "var menuItem=this._name" to retrieve the "path" of my buttons when you rollOver them (which should be something like "mcContainer.menuItem.bCountyBG.gotoAndPlay(2) ;"), although I need the menuItem to change to whatever this._name is.It doesn't work because menuItem's returned value is considered a string, so I can't use it in my command---> "mcContainer.menuItem.bCountyBG.gotoAndPlay(2) ;I was wondering if anyone can tell me if it's possible to convert this string to a movieclip by some sort of function or other means?

View 2 Replies

ActionScript 2.0 :: Tough Related To LoadInit?

Dec 24, 2008

I'm trying to make a slideshow of sorts for a friend of mine in which a php script lists the number of files it's found in a directory as well as the relative links to each file. The slideshow parses these values and is supposed to individually fade between two different pictures after loading the new one... but it works erratically at best.

I've got everything working up to a component related to onLoadInit that honestly is just driving me crazy because I cannot for the life of me figure it out, as it works sometimes, other times not at all, etc. It's also supposed to loop infinitely, but it won't.

If you'd like to see what's going on, go to[URL]../moveit to see how weird it acts. Following is the brunt of the code, which I'm just about 100% sure should work correctly.

[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







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