Help in flash.desktop.NativeProcess Flex builder 3
Hi
I am Using Flex Builder 3(older one), working on AIR Application
when used flash.desktop.NativeProcess , it says
flash.desktop.NativeProcess could not be found
Is it available in Flash builder 4 and higher version
Karthik.K
Native Process will be available only for Desktop Applications..And if it Should Work u should change the profile in app.xml...if u change the profile to extended desktop...u will be able to generate only exe file not air
Similar Messages
-
Compiling with Flex 4.0 gives flash.desktop.NativeProcess could not be found
Hello!
I have an ActionScript only Flex project that was written by someone else.
I know it was compiled successfully for Air 2.0
I can compile this project using Flex Hero and with <application xmlns="http://ns.adobe.com/air/application/2.6"> - however, my air file will install only on windows (on mac i get a weird 'installation file is corrupt, contact the author' error message).
So now I want to compile it for Air 2.0 as it was originally written for. So i change the used Flex SDK from Hero to 4.0 and change the target air version to <application xmlns="http://ns.adobe.com/air/application/2.0"> - but then i get three compilation errors:
Description Resource Path Location Type
1061: Call to a possibly undefined method openWithDefaultApplication through a reference with static type flash.filesystem:File.
Description Resource Path Location Type
1172: Definition flash.desktop:NativeProcess could not be found.
Description Resource Path Location Type
1172: Definition flash.desktop:NativeProcessStartupInfo could not be found.
but I read that these features were introduced with AIR 2.0 - so how can't I compile if I change the SDK from Flex Hero to Flex 4.0?Figured it out... Make sure your descriptor file has the following namespace definition!!
"http://ns.adobe.com/air/application/2.0beta" -
I just tried installing the new AIR 2.0 beta SDK according to the Release Notes. When i tried to create a simple application using the NativeProcess class, i got the following error:
Error #1014: Class flash.desktop::NativeProcess could not be found.
Any ideas?Figured it out... Make sure your descriptor file has the following namespace definition!!
"http://ns.adobe.com/air/application/2.0beta" -
Default flash install on flash on adobe flex builder 3?
When I used to go to a flash page and did not have flash
installed, the installl rocked!!!! immediately prompting you to
install....no download/save as or anything, just a simple click the
install button. I remember firefox and IE both were really good.
Now, I used flex builder 3 and the default html file and alll it
does is redirect to a flash adobe site. This is one of the best
ways to LOSE customers and I would like to fix this. In our
customer testing, we noticed some would just skip the site and not
continue to look with the following pattern. In our previous
studies, clicking one install button was not a big deal....but the
redirection to the page(at least in china) is a big barrier to get
people using flash. Also, the only data we found was 80% of users
on flash 9(I don't know how accurate that data is) so this feature
is very important to us(otherwise we would not consider switching
to GWT technology).
thanks for any help,
DeanThanks Bharat Patel,
I have already read this pdf files. but didnt get any solution.
So, the issue is style "direction" conflicts with the swc files.
so, suggest me the correct answer. -
HELP!! Silent Installing Flex Builder 2
I need to silently deploy Flex Builder 2 with HP Radia. Does
anybody know how to do this?Yes I tried that to work around my problem Flex Builder
crashing. My Eclipse 3.3 install works fine, Flex Builder will not
even start. The plug-in installer would not get past that same
screen, I downloaded 3.2 and it installed fine, I assume it checks
the version and 3.3 is not supported. -
What Flash Player for Flex builder 3?
I am just getting started with Flex & hitting a lot of roadblocks. Getting files for Day 1 helped. When I try to "run" a project I get asked for Flash Player 9. I uninstalled Player 10, found Player 9 for developers, installed, but Flex still does not see it. If I tell Flex to use current player I get bounced to a command prompt.
So, what Flash player are you guys using & ...how?
thanksProbably the same one you're using at http://www.adobe.com/support/flashplayer/downloads.html.
Adobe Flash Player 9 — Debugger Versions (aka debug players or content debuggers) for Flex and Flash Developers
On occasion though I have to completely uninstall Flash player first and then install the plug-in and activeX components.
http://kb2.adobe.com/cps/141/tn_14157.html -
PLEASE HELP! Flashing desktop/finder - can't do anything!
Hi,
My mac just went crazy and I have no idea what to do, Please help me!
I've just installed a program called Slideshow Magic (shareware downloaded from download.com) and after making 2 slideshows the finder just started flashing. Basically all the desktop icons and the top bar appear then dissapear about every 2 seconds, the little black arrow next to the Finder icon in the dock appears and dissapears at the same intervals, so I assume the Finder is opening then quiting, opening and quitting over and over.
All other programs can be opened from the dock.
I've tried restarting and shutting down but the same problem occurs everytime I start up.
Can anyone suggest what has gone wrong or more importantly how to fix it, it has all my art college work on and I've got a deadline next monday so I really need to get back on my feet. Any help will be MOST appreciated!
Thanks for your time
George
Power Mac G4 DesktopHello,
Thank you both for your suggestions, however neither have worked.
Dale, I went through Dr Smokes guide and all was fine apart from the Cache Cleaning software. I couldn't install the software as the finder isn't open long enough to allow me to do so.
Niel, I tried booting with Command and S held down and ran the commands you suggested but to no avail.
A couple of things I tried doing myself...
I ran the Hardware Test by booting from the cd and holding the option key. I ran the extended test and everything passed, so I know its not a hardware issue.
I then booted from the cd again and updated the system software, upon restarting the desktop appeared fine, but after about a minute it reverted to it's flashing state. The two files that I created from the slideshow program (that originally caused this problem) are still on the desktop and I assume that they have caused it to go again.
Can you suggest a way that I can delete these files and consequently stop the machine crashing every time I update the software?
Cheers
George -
Flex Builder 3 Flash package changed / incomplete?
Hi,
I have installed
Flexbuilder3_b2,
flex3sdk_b3 &
air_b3_win_sdk. I am having problems with the
flash.desktop package in Flex builder 3.
When I use the Help I can see that in Flex 3 flash.desktop
are package components flash.desktop.NativeDrag* but when I try to
use them in code it appears they are not in my flash.desktop
package. Have flash.desktop.NativeDrag* been replaced by
flash.desktop.Drag*? I refer specifically to
NativeDragManager, NativeDragActions, NativeDragOptions.
Also, I am trying to run an example project which also refers
to flash.desktop.NativeApplication thus:
import flash.desktop.NativeApplication;
NativeApplication.nativeApplication.addEventListener(Event.NETWORK_CHANGE,
checkNetworkConnection);
- but NativeApplication is not referred to in the Help as
part of flash.desktop & not available in the list of
components. Can anyone tell me what this has been replaced with?
Thanks in advance,
ObHi, your Flex Builder beta 2 is out of sync with your SDKs.
You should upgrade to FB beta 3.
NativeApplication is now WindowedApplication, and NativeDrag*
is the current naming for those classes. Perhaps you are looking at
the beta 3 AIR help while compiling with the beta 2 SDK paired with
FB beta 2. Try bringing FB up to date. -
Need Info NativeProcess and Flex Builder
Hi Guys,
I am currently using Flex builder 3.0 and wanted to develop a project with the new Air 2.0 features
I have done following process for Air 2.0
· Downloaded Flex 3.3 sdk.
· Downloaded Air 2.0 sdk
· Updated Air sdk of 3.3 to 2.0
· Changed the namespace to 2.0
· Added “supportedProfiles” tag to –app.xml file
Now when I try to import NativeProcess I am unable to find in package flash.desktop , is there is need to update my Flex Builder, also if not what am I doing wrong please suggest.
Thanks & Regards,
MaheshHI ,
For importing class of native process ,
Download sdk 3.4
Download AIR2.0 SDK
Now update air library of 3.4 with AIR 2.0 SDK - for that just copy of AIR2.0's sdk content and past this into SDK 3.4's content.
Now your library is able to handle native process.
Now you can import native process class.
When u want to call native process at that time u need to add
<supportedProfiles>extendedDesktop desktop</supportedProfiles>
into your project app.xml
Now you can use nativeProcess class of AIR 2.0 -
Flex Builder 3 Beta 3 Debugging not working with latest Flash Player Debug
First to emphasize that never had such issues with Flex
Builder 2 Beta 2 and Flash Player 9.0.47 Debug version.
I downloaded Flex Builder 3 Beta 3 and installed it. Then
trying to debug any Flex app (old or newly created) does not work.
I don’t get any errors, but after some research I saw
it’s nagging up on trying to connect to the Flash Player
debug version.
1. Uninstalled old versions of Flash Player (FP).
2. Downloaded latest debug version of FP 9 (9.0.115) and
installed it both for IE and Opera (Netscape-compatible).
3. Installed Flex Builder 3 Beta 3.
4. Created a simple Flex app.
5. Ran it in debug mode.
6. Showed a small window with title “Progress
Information” and a progress + text: Waiting for Flash Player
to connect to debugger…
7. Two minutes later I got the error: “Failed to
connect; session timed out. Ensure that: 1. You compiled your Flash
application with debugging on. 2. You are running the debugger
version of Flash Player.”
Any idea what is wrong? I tried to download an older debug
version but then FB 3 Beta 3 raises the error it’s expecting
version 9.0.115. I searched to download FB3 Beta 2 (because I
deleted it after downloading Beta 3) but unfortunately Adobe did
their best to wipe it out from their links.
Any help is welcome.
System Specs:
Windows Vista Ultimate
Flex Builder 3 Beta 3 Standalone
JRE 1.6 Update 3
-DimitarHi Dimitar,
Did you close all the browsers (and applications which use
Flash Player) when you install Flex Builder 3 Beta 3 or Flash
Player? You can try manually installing it from <FB install
location>/player/ directory. Here're some
installation/unintallation instructions of Flash Player:
http://labs.adobe.com/wiki/index.php/Flex_3:Release_Notes#Installing_Flex_SDK_3_Beta_3
thanks,
Sharon -
See the picture below: (you will have to click it to see it better, because the Forum doesn't show it properly)
Problem number 1: at Debug Time, I do not see a tooltip with the value of "Credits", even though it is a PUBLIC VARIABLE inside the Player Class. It is NOT even a property! In Flex Builder 3 all accessible members had their values indicated at Debug Time. In Flash Builder 4.5, they broke it and instead of seeing the value of Credits, I see that stupid tooltip which helps at exactly nothing.
Problem number 2: these hover tooltips appear way too fast. As soon as my mouse floats over practically anything in the code, I get that annoying huge tooltip. I tried to find an option which configures the delay with which that hover tooltip should appear, but I found no such configuration option.
I hope somebody can help me with some suggestions.
Thank you in advance.You can disable the asdoc hover by toggling Preferences -> Flash Builder -> Editors -> ActionScript Code -> Show in text hovers.
-Anirudh -
Hi,
I am facing issue with Flash Builder 4.7.
Whenever I am trying to open any mxml or .as file after project setup, flash Builder 4.7 becomes unresponsive without showing any error message or popup.
At the initial project setup, I am able to open file but when I try adding 5-6 source folder under Flex build path->source path, it’s become unresponsive.
Everything works fine in Flash builder 4.6, but I have license key only for flash builder 4.7 and want to use Flash Builder 4.7.
Please help me to solve this issue.Fixed: In Project prefs: Flex Build path: added the similar swc folder called "local" from FB 4.6 eclipse/plugins directory and removed the 4.7 one.
For some reason the 4.7 eclipse/plugins/com.adobe.flexbuilder.project_4.7.0.345990/dcradS wcs/4.5/locale folder has localisation folders in it and not swc's like in FB 4.6.. -
Flash CS3 vs. Flex Builder 2
Here's the $64,000 question: should we be developing in Flash
CS3 or should we shift over to Flex Builder 2? I maintain that AS
3.0 is a pain in the proverbial, but I've been researching and
finding as much help as possible online about it, and I've found
that by and large people are using Flex Builder 2 as the basis of
tutorials about AS 3.0. Does anyone have an official slant on this
question? Should we abandon Flash for Flex? Will it help? Will it
mitigate the difficulties non-programmers are experiencing with AS
3.0 - or as I call it simply ***? Would I be getting more responses
to my *** questions if I post them over in the *** forum under Flex
Builder?
Any thoughts on this matter would be most welcome, thank
you.Beatie3,
>> Help please.
Sorry about that ... some days are crazier than others. :-/
[From an earlier reply ...]
> Thank you very much, that's exactly the sort of answer I
> needed. Hmmm, cheque's in the mail. ;)
Heh, good on ya! :)
> I'm definitely a 'deseloper' and will stick with Flash.
I wish
> I had the luxury of only dipping into AS3.
I don't know that I'd call it a luxury, really. Work is
work. ;) As
you might imagine, though, Flex Builder 2 provides a number
of scripting
improvements over the Actions panel (there's really no
comparison; if you've
tried them both, the Actions panel barely feels useful) and
the Flex
framework offers significantly more UI Components. Ideally,
if the pocket
book allows it, using both applications is the killer setup.
> My problem is that I built a little program that draws
scale bars
> on uploaded images that can then be printed. It did
everything
> it needed to, but in AS2.0 you can't control the quality
of the
> imported jpgs.
When you say imported, you mean dynamically loaded (loaded
at runtime),
right? Otherwise, I'm confused. The Flash IDE itself allows
you to
determine the quality of imported JPGs. In ActionScript 3.0
... are you
talking about the Stage.quality property?
> I'm experimenting with Sprites and I have something
appearing
> as the line is drawn but I can't crack the new way to
express
> coordinates.
Not sure what might be tripping you up, actually. The
coordinate grid
is the same. Horizontally, higher numbers move toward the
right;
vertically, higher numbers move toward the bottom. That's the
same as it's
been.
> I just want a blue hair line with a nice green dot at
each end
> that can be seen while the line is drawn. Once the
mouseUp
> happens the drawing guide should disappear and the black
> line appear.
Having heard what you're after, I just started a quick
experiment from
scratch. Here's my version, below. Note: I've made no effort
to optimize
my code. This is just a first draft to achieve a blue line
segment with
green dots on each end that becomes a black line segment when
the mouse
lifts.
var startX:Number;
var startY:Number;
var canvas:Sprite = new Sprite();
addChild(canvas);
canvas.stage.addEventListener(MouseEvent.MOUSE_DOWN,
mouseDownHandler);
canvas.stage.addEventListener(MouseEvent.MOUSE_UP,
mouseUpHandler);
function mouseDownHandler(evt:MouseEvent):void {
startX = mouseX;
startY = mouseY;
var dot:Sprite = new Sprite();
dot.name = "dotStart";
dot.graphics.beginFill(0x00FF00);
dot.graphics.drawCircle(mouseX, mouseY, 5);
dot.graphics.endFill();
canvas.addChild(dot);
dot = new Sprite();
dot.name = "dotEnd";
dot.graphics.beginFill(0x00FF00);
dot.graphics.drawCircle(0, 0, 5);
dot.graphics.endFill();
canvas.addChild(dot);
canvas.addEventListener(Event.ENTER_FRAME,
enterFrameHandler);
function enterFrameHandler(evt:Event):void {
var dot:DisplayObject = canvas.getChildByName("dotEnd");
dot.x = mouseX;
dot.y = mouseY;
canvas.graphics.clear();
canvas.graphics.lineStyle(1, 0x0000FF);
canvas.graphics.moveTo(startX, startY);
canvas.graphics.lineTo(mouseX, mouseY);
function mouseUpHandler(evt:MouseEvent):void {
canvas.removeEventListener(Event.ENTER_FRAME,
enterFrameHandler);
canvas.removeChild(canvas.getChildByName("dotStart"));
canvas.removeChild(canvas.getChildByName("dotEnd"));
canvas.graphics.clear();
canvas.graphics.lineStyle(2, 0x000000);
canvas.graphics.moveTo(startX, startY);
canvas.graphics.lineTo(mouseX, mouseY);
There's a lot of repeated code there, and this isn't how I'd
leave the
above in an actual project, but by spilling out a rough cut
like this, I'm
hoping it gives you something to work with -- showing the
mechanics of how
this might be done.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
Comunication and events: Flex Builder 2 with Flash CS3
Hey hello...well, my question is: how can i comunicate Flex
Builder 2 with Flash CS3?
this is my code on Flex Builder 2:
<mx:Script>
<![CDATA[
import mx.controls.*;
import mx.events.*;
public function CargaCompleta(e:Event):void
try
e.target.content.objeto_salida.addEventListener(Event.COMPLETE,uno);
catch(er:Error) { Alert.show(er.message,"Error"); }
public function uno(e:Event):void
try
s1.content["objeto_salida"].removeEventListener(MouseEvent.CLICK,s1.content["Finaliza"]);
s1.source = null;
s1.source = "recursos/reactivos/208M-1R.swf";
catch(er:Error) { Alert.show(er.message,"Error"); }
]]>
</mx:Script>
<mx:SWFLoader id="s1" width="278" height="251"
complete="CargaCompleta(event)"
source="recursos/interactivos/208M-1I.swf">
</mx:SWFLoader>
and when it change from one file to another, on the event
"Complete" for the SWFLodar, an error happend
TypeError: Error #1009: No se puede acceder a una propiedad o
a un método de una referencia a un objeto nulo.
at 208M_fla::MainTimeline/frame1()
Hope somebody can help me...for your time thanks..."Jorge EdOardo" <[email protected]> wrote in
message
news:gfcfcr$9s2$[email protected]..
> Hey hello...well, my question is: how can i comunicate
Flex Builder 2 with
> Flash CS3?
>
> this is my code on Flex Builder 2:
> <mx:Script>
> <![CDATA[
> import mx.controls.*;
> import mx.events.*;
> public function CargaCompleta(e:Event):void
> {
> try
> {
>
e.target.content.objeto_salida.addEventListener(Event.COMPLETE,uno);
> }
> catch(er:Error) { Alert.show(er.message,"Error"); }
> }
> public function uno(e:Event):void
> {
> try
> {
>
>
s1.content["objeto_salida"].removeEventListener(MouseEvent.CLICK,s1.content["Fin
> aliza"]);
> s1.source = null;
> s1.source = "recursos/reactivos/208M-1R.swf";
> }
> catch(er:Error) { Alert.show(er.message,"Error"); }
> }
> ]]>
> </mx:Script>
> <mx:SWFLoader id="s1" width="278" height="251"
> complete="CargaCompleta(event)"
> source="recursos/interactivos/208M-1I.swf">
> </mx:SWFLoader>
>
> and when it change from one file to another, on the
event "Complete" for
> the
> SWFLodar, an error happend
>
> TypeError: Error #1009: No se puede acceder a una
propiedad o a un m?todo
> de
> una referencia a un objeto nulo.
> at 208M_fla::MainTimeline/frame1()
>
> Hope somebody can help me...for your time thanks...
http://weblogs.macromedia.com/pent/archives/2007/04/using_actionscr_1.html -
Any official Update for Flex Builder 3 to use Flash Player 10 Api?
Any official Update for Flex Builder 3 to use Flash Player 10
Api?
How can i use flash player's 10 features in flex builder 3?
ThanksI was able to solve my problem by modifying the solution
offered in
this
technote.
The technote identifies a permissions problem with the
components directory of non-Safari browsers. In my case the
permissions problem appears to have been in the main
/Library/Internet Plug-Ins directory. What tipped me off to the
solution was the fact that after manually removing Flash
Player.plugin and flashplayer.xpt from the /Library/Internet
Plug-Ins directory, subsequent attempts to install Flash Player
resulted in the "Creating file: 1008:5, -5000 Access Denied Error"
I remembered seeing in the technote. Before removing these files,
the installer would just fail silently, perhaps because it saw
files it was going to install already living in the right place,
and furthermore had no permissions to alter the directory.
In any case, by making the permissions change recommended in
the technote to the /Library/Internet Plug-Ins directory, I was
able to install the plug-in, which gave me back access to Flash
content in all my browsers.
Hope this is helpful to someone else...
-Erik
Maybe you are looking for
-
Hi, I have an application in SWING where thumbnail images are being created at runtime and displayed in a ListCellRenderer. This is mainly used as a history feature where the user can click on that image and retrieve back the information. The problem
-
I recently got motion 4 and I have a motion 3 tutorial video. When I tried to do some basic moves by exactly (at least I think I did) following the tutorial step by step on the other laptop I found that hardly any of the Icons I clicked on responded.
-
Hello, I am confused. I just popped a brand new 500GB drive in my MDD for storage, but Disk Utility saw it as a 31GB drive, so i put it in a FireWire enclosure and formatted it at 500GB on my MBP, then popped it back in the MDD and the Finder now see
-
Selections on DataSource with a Function Module
Hello Experts, I need your help, we have a DataSource with FM and this does not filter the records by the values that we select. For example: we select 01 to 03 in field Period (PERAF) in the result the extractor show all values whitout consider the
-
Uploading Photos - Error Message
I'm trying to upload pics to my ipod and it is coming up with an error message "file not found". How do i fix that problem. It was working fine to begin with but then a few weeks later I went to upload more pics to my ipod and the message appeared an