ActionScript 3.0 :: Find Path To Flex SDK?
Nov 2, 2010
Where can I find the path to the Flex SDK? Last time I embeded metadata, Flash CS5 automatically found it for me. This time its not working. I get this message in the output window:You have used a feature that requires the Flex SDK:"Embed" metadata Please set the Flex SDK path if necessary and add it to the library path for this file. The Flex SDK folder contains the bin, frameworks, lib and other folders.
View 3 Replies
Similar Posts:
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
Mar 14, 2012
Is there a way to get the path to the movieClip I'm clicking?
e.g. event.currentTarget.path? (This doesn't work but I'd like something like it!)
View 2 Replies
Feb 3, 2010
I am trying to build a .xml image scroller using the scroll pane component in CS4.I choose Actionscript3. Drag the component to the stage. Give it an instance name.Then I look for the Parameters that used to be in the properties panel in CS3. Not there anymore.I find that the Components Inspector has Parameters in there now.OK.I need to use ContentPath to tell the component where the .xml file is so it can find the images for the scroller.Can't find 'ContentPath'.How can I point the component to a .xml file?Is there a way of getting Parameters back in with properties - it was so much easier.
View 5 Replies
Jan 12, 2011
How to find out targetpath of a movieclip or a textfield.? i need to get full path of a movieclip like Object(root).moviclip1.movieclip2.textfield
View 4 Replies
Jan 13, 2011
get the target path of an object.So that i can give properties/methods to that object.Actually i need the target path when an event occurs.like on click/keyup/enterframe..and so on.
var curinstance:Object = ev.target.valueOf();
In the above code i get the instance name of the particular object i cant give properties and methods to it.
View 1 Replies
Nov 18, 2011
I am currently looking at a way of visualising data and a part of the algorithm needs something 99% the same as A* Path Finding but I cannot wrap my head round it fully. I know it will be a fairly simple modification. (specific cost instead of least cost)
Basically I need to plot a path (2D Grid, no Diagonals) from point A to point B in X number of steps.
E.g. If the start and end points were right next to each other and I needed the path to be 3 steps it would have a tiny loop. (moves: up, right, down). Is there a known name for this algorithm or is the use of this so rare it's uncommon? I am currently looking at this AS3 Librbay for modification as it is apparently very fast and seems clean and simple to me:[URL]..
View 3 Replies
Jul 4, 2011
I have a path drawn in the flash IDE, accessible as a MovieClip.
With AS3 I need to find the closest point lying on this path to another point.
View 1 Replies
Feb 22, 2009
i want to find the windows path on hard! it may be c:windowsor e:folderwindowshow can i find this path with AS2?
View 1 Replies
Mar 17, 2010
How can I find the path to the user's temp folder (e.g. C:UserslisnilAppDataLocalTemp) from Flash/AS3? It needs to work on any version of Windows, at least XP, Vista and 7.
View 1 Replies
Sep 20, 2006
who wants to build a flash application to find the shortest path using ant algorithm. but i have not the refferrence about that?
View 5 Replies
May 7, 2009
I am trying to get the flash buttons for my website to work, but every time I do the getURL thing it keeps saying 'Cannot find(directory)'. The website is offline and I'm using Macromedia Flash MX 2004, I also might be able to use Flash 8 but these are the only two versions I have access to.The action script for the button is:
on(release){getURL("..********(Website directory)(sub directory)(Website page).html")}
I am making the website in Dreamweaver 8 and this is really holding me back as it's nearly finished but the buttons still don't work.
View 4 Replies
Apr 24, 2011
I just installed flashdevelop and downloaded a sample project source at the bottom of this link. I open it up in flashdevelop and when I go to run it, I get an error saying I have to set the field: path to Flash IDE. I'm confused, why is the IDE asking me for the path to the IDE?
View 1 Replies
Oct 15, 2009
OK, I've spent a few very frustrating hours trying to figure out a solution that's probably staring me in the face. I have one movie (Intro.swf) that loads a second movie (ncjhs_Menus.swf) with drop down menus. Intro has a movie clip with the following script in it:
var myLoader:Loader = new Loader(); addChild(myLoader);
var url:URLRequest = new URLRequest("ncjhs_Menus.swf"); myLoader.load(url);
Both the Intro .swf and the ncjhs_menus.swf files are saved in a subdirectory called Flash off the root. The html file generated by flash is saved in the root. When done that way the Intro file runs but does not manage to get the menus file to load. If however I save the html file into the same Flash diretcory as the two .swf files then everything works fine and Intro can call the menu .swf file.
View 4 Replies
Jul 18, 2010
So I've created a script where a mc is clicked on and the player can draw a path using the mouse. I'm trying to figure out how I can get the mc to follow the path drawn out by the player's mouse and when the player clicks again, it erases all of the path.my code is below
Code:
import flash.display.Sprite;
import flash.events.MouseEvent;[code].....
View 14 Replies
Feb 9, 2011
I'm trying to build a flex project, linking it to some RLSs. When setting up the project in Flex Builder, the corresponding "build configuration" (that I got by adding -dump-config to the compiler options) generates (among other things) a tag like this :
<runtime-shared-libraries>
<url>some-lib.swf</url>
<url>some-other-lib.swf</url>
[Code]....
View 2 Replies
Mar 5, 2009
I hope this is the right place to post this I am working on a flex project in AS3 (no mxml).. I unchecked the "Generate Html wrapper file" and when I compile for debug it works fine in my target deployment path (which is called WWW).
my problem is: if my document class is on the root of the sources folder, the generated SWF will be on the root of the Deployment folder (WWW/main.swf) .... but if my document class is inside a package like com.projectName.main.as for example, the generated swf file will be:
[Code]...
View 1 Replies
Mar 16, 2012
I have a Flex 4.6 web game which displays 2 Lists with virtual layouts with 2 custom item renderers. The renderers consist mainly of BitmapImages displaying user avatars + few Labels.
The Lists are being updated often over TCP socket with gzipped JSON data. I merge that data into 2 ArrayCollections serving as dataProviders for the Lists. This seems to work well, the Lists do not flicker and are updated correctly (I've monitored debug traces a lot to get it right).
[Code]...
View 1 Replies
Nov 9, 2011
the same class is passed to the mxmlc compiler in SWF library as a symbol linkage class and again in a source-path. But the compiler uses the definition from the source-path so creating new instance of that class won't create new instance of the library symbol. How do I tell the compiler to prefer the definition linked to the symbol (the one dfrom SWC)?
I have my design assets in an FLA file and they are linked to classes (e.g. [URL]. Then I export those assets to a SWC library and pass it to the compiler. Now when I create an instance of the class (new MyAsset();) it will be a new instance of the library object.
But there are other classes too in the source folder (e.g. "com.myproject.model.*" so I need to pass the source folder to the compiler too. And that is the problem, now the compiler will use the MyAsset.as definition from the source path, not from the SWC where it is assigned to the library object so if I create new instance of MyAsset now it won't duplicate the library object.
View 1 Replies
Nov 24, 2004
Here's what i'm trying to do: Hide a MC depending on the path variable as:
[Code]...
Well that doesn't work, for some reason, i can't use a string as a multiple level path..
View 5 Replies
Feb 15, 2010
I was wondering if it possible to write up some AS that will take line paths that you have drawn and convert them into a Path object? For example say you drew a jagged line from left to write, would there be a way to have AS convert that into a Path object.
View 11 Replies
Aug 31, 2011
Is it possible to draw out a path in the flash editor, set its visibility to hidden, and use this path data to animate objects in AS3?
View 1 Replies
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
Nov 9, 2011
This is a head scratcher. Why would a root relative path cause a Security Sandbox error.. but an absolute path to the exact same path work fine..
[Code]...
View 0 Replies
Feb 21, 2011
I am working on a project that is primarily ASP.NET based. The main project is meant to be deployed to multiple locations for different clients, so one client might be located at website.com/client1 and another at website.com/client2. Within the application, we regularly use the application root operator ~ to get the path to a resource.
We also have a bunch of Flex applications that get deployed in there, and many rely on web services within the ASP.NET application. What I'm after is a way to reference the services relative to the application root. Here's an example of the location of some files for two client deployments:
[URL]
FlexApplication and webService are both exactly the same, so what I want to do is something like this in the Flex code:
var myService:CustomService = new CustomService(~/services/webService.asmx);
myService.callMethod("Test");
I would like to avoid using relative paths for the usual reasons. Is there a good way to do this or a good way to pass the root url to the flex application from ASP.NET?
View 3 Replies
Apr 8, 2011
I am displaying some flash content on a fairly standard page. This works really well when the flash, xml file and html page are sitting together in the same directory.url...However, I want to display that same content in another page which is deeper inside the site but outside of the directory that houses the .swf and .xml files as well as the assets.[code]The js files are loading properly but the flash content is not, so I could use a little help getting that sorted out.
View 1 Replies
Apr 30, 2011
What does _level0,_parent and _root mean in flash?What's the difference between absolute path and relative path?
View 1 Replies
Oct 9, 2010
I looked around, and the latest reference I saw was from 2008 stating that the standard FileReference browser does not support retrieving the user's file's absolute local path unless it's an AIR app, and indeed there's nothing in the docs suggesting otherwise. The reasoning behind this is apparently some misguided security concern... I get it's not a great idea to let any Flash app know your directory structure, but if the user actually grants your app a file, I think it doesn't invalidate the security model to know just that file's absolute path.
I'm wondering if the state of things has changed at all with Flex 4 and there's a method of getting the local filename of anything. I need it because I'm making an application that when distributed runs locally in 99% of cases, so doing a full file upload just to save it somewhere else on the local machine seems silly. (Plus the standard file uploading method doesn't support SOAP, which is what I'm using for all my other services...)
View 2 Replies
Apr 26, 2011
Imagine we have an object dispatching some event and this object should perform some action on this event. What's the right way of catching this event? May I listen to this event directly in my object or should I let this event travel through EventMap? Example: I have a popup window with form. On submitting form, I'm going to send a request to remote server and close this popup. Is it ideologically correct to perform popup close on click without dispatching custom event to EventMap?
View 2 Replies
Jul 29, 2009
i'm new in flex.Here is my problem [code]i want to make source path dynamic.i mean i collected userName and albumName from php and i could print in flex.But when i use in source like this this way source="../../user/{userName}/{albumName}/album/{data}".
View 1 Replies