Flex :: Find Workspace Location Using ANT?

May 13, 2010

I'm working on a build script in the Flash Builder version of Eclipse. This build script needs to import launch configuration .launch files into the user's workspace. However there doesn't seem to be an available ANT var for determining the workspace location. While stepping through the available vars with intellisense I noticed that ${osgi.instance.area} does point to my current workspace but when I tried to echo it back in a running ant script it just spat out "${osgi.instance.area}" and not the path.

View 3 Replies


Similar Posts:


Professional :: Can't Find In Windows Where Flash CS5 Save Personal Workspace

May 17, 2010

I can't find in Windows where Flash CS5 save personal workspace..Photoshop and Illustrator save it in roaming vista folder but Flash?

View 2 Replies

Actionscript 3 :: Flash Builder 4: Workspace Launcher Keeps Prompting For A Workspace

Feb 4, 2011

I am on a MAC with two (2) user profiles.

When I launch Flash builder, I am getting a "workspace in user" message, and Flash Builder keeps prompting me to choose a workspace and it's pointing to the other user's profile.

I keep pointing it to my workspace under "my documents" and I check the following box:

Use this as the default and do not ask again.

However, every time I open up Flash builder, it's asking me again? Is there any way to stop this? Like, is there some file I have to delete or something?

View 1 Replies

Flash :: Flex Builder "Refreshing Workspace" And "Building Workspace" Over And Over?

Aug 17, 2011

Facing one problem with Flex builder "Refreshing workspace" and "Building workspace" over and over... Am wasting almost 10min on every build. running FB 3 on my win 7 , 64 bit , 3 gig Ram.

View 1 Replies

Javascript :: Access An Local Image (not In App Workspace) From A Local HTML File (in App Workspace)

Mar 12, 2011

I have a HTML box and load a local html file from the project. In this HTML file I use jquery and I want to load an image from my user directory. I see the image from my user directory but jquery doesn't works. I get this error:

[Code]...

But if I load an image from the app workspace, everything works fine (I see the image and Jquery works). Is this a policy problem? The error says that is a "null object reference" problem, but this can't be true...

View 2 Replies

Can't Find Location Of Customized Scrollbar In FLA?

Mar 19, 2009

I had the core of my site down for me, I believe in Flash 8 using AS2. I took over the site and attempted to learn everything that they did, so I could update it myself. The one thing that I can't figure out... is where they put the customized scrollbars they made for my site. There are some scrollPane components in the library, but I can't see where he put the custom scrollbars. The homepage link is here:The blue scrollbars are what I'm trying to find. When I add more content I want to be able to use the same scrollbars. If you need the FLA, I'll send it to you. I am pretty sure there is some default location that they're stored in though, and I'm just not seeing it

View 10 Replies

ActionScript 3.0 :: Find Location Of Image?

Oct 14, 2009

I downloaded a tutorial fla file and it contains 2 images of cars which seem to be under a folder called "bitmap assets" seen in the library panel. Now, since i have not created them, is there a way for me to somehow access them directly?

View 2 Replies

Actionscript 3 :: Find Current Location Of Mc?

Jun 23, 2011

I'm trying to create a drag motion by using mouse_down then the mc = mouseX. Here is an image of the situation

But when I click, the mc always jumps to its registration point, which is the top left corner atm.

I can't work my head around how to grab the current location of the mc. Note that the mc (all_mc) is wider than the stage.

this.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(e:MouseEvent) {
this.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
}

[Code]....

Ok I kind of worked out the x location of the mouse in relation to the registration point of the mc (the registration is at the top left):

Math.abs(stage.x - all_mc.x) + mouseX

But how to I select that point of on the mc?

View 4 Replies

ActionScript 3.0 :: Find Location Of Element In Array?

Nov 4, 2010

given an arrayA = [a, b, c] and
arrayB = [a1,a2,a3]

by using array[0].name, it will return "a", is there any function that i can get the number "0" when i do something to "a" ?

I hope i make it clear here Xp

because i have 2 array here, i wanted to do something when the position of an element in an arrayA is same as the position of another element in arrayB.

for example
trace(array[0].name); -> output = A
trace(array[0].?????); -> output = 0

View 7 Replies

Professional :: Find A Child's Location In Parent's Coordinate Space

Jul 21, 2010

I've created a map of Montana counties. Each county is a seperate MC withing the larger parent clip (allcnt_mc). When a county is clicked on, I'd like to center that county on the stage and zoom to its extent. The challenging part has been telling the parent (allcnt_mc) where to tween to. Since each individual county is a child of the parent, they have their own coordinate space referencing that of the parent.

Is there a way I can query the location (x,y) of a child in the parent's coordinate space? With this number, I could calculate the distanct between the parent's current reg. point and that of the child, indicating the distance that the parent would have to move to be centered on the stage. I was trying to use localToGlobal but could not figure out how to use it.

[Code]....

View 8 Replies

ActionScript 2.0 :: Use The Var ClipName To Find The Location Of Each Movie Clip Found On _root In The Next Line?

Jan 20, 2005

// code to find out all the movieclips on _root
for (var property in _root) {

if (typeof _root[property] == "movieclip") {
var clipName = _root[property]._name;

// I am trying to use the var clipName to find the location of each movie clip found on _root in the next line

//the next line gives me "undefined" why?

clipBounds = [clipName]getBounds(_root);

}
}

View 2 Replies

Flex :: Workspace Switched - Preference Export Not Working

Nov 18, 2010

When I change my workspace I copy my .settings folder to the new .metadata folder:
.metadata/.plugins/org.eclipse.core.runtime/
This is so that I can transfer my font and syntax colouring preferences (preferences export doesn't seem to work). When I relaunch the workspace Flash Builder launches as Standard on the splash screen and Premium features are disabled. The problem is obviously related to my .settings folder.

View 1 Replies

Serialization / Deserialization Process To Save / Load State Of A Workspace In Flex

Jul 15, 2010

I'm trying to use the native flex serialization/deserialization process to save/load state of a workspace in flex. In order to save or load a file I have to use my servlet, which just bounces back the bytes from the input stream to the output stream. Here's a basic outline of my Flex code:[code]So my problem here is not with the saving of the workspace. That works great. My problem is with the loading of a workspace. The event.data that I write to the byte array is not reconstituted into a MyWorkspace object even though it is exactly what I wrote to the file.There has to be a way of making a MyWorkspace object from the data, but I can't figure it out.

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

Professional :: Incorporate "find A Location" Functionality Using The User's Zip Code?

Jan 27, 2010

I'm currently working on a project where I want to incorporate "find a location" functionality using the user's zip code. Basically, the user needs to be able to type in their zip code and once they hit the submit button, they are then taken to a page where it lists all locations available. Mind you, the website is ALL Flash. Currently, it's in ActionScript 2.0, but I could (at least with these pages) convert to ActionScript 3.0 if needed.

View 8 Replies

ActionScript 3.0 :: Memory Monitor That Allows To See The Memory Leaked And Find Its Location?

Sep 26, 2010

I have an FPS monitor running and notice that I am getting choppiness here and there, bringing my game from 40 to 27 fps and back and forth at certain stages. I have an idea of where it is happening, but do not know for sure. I looked up quite a few memory monitors but haven't found anything decent yet. Is there a memory monitor that allows you to see the memory leaked and find its location? If not, how about just he memory leaked?

View 4 Replies

ActionScript 1/2 :: Make An Object Tween From Its Starting Location To The Location Of A Mouse Click?

Apr 27, 2009

I am trying to make an object tween from its starting location to the location of a mouse click. I have a script, but it has a very annoying ease to it.I would LIKE the object to mantain a certain speed during while traveling from its starting location to the mouse click location.

View 16 Replies

Professional :: Button File Opens In Saved Location / But Won't Open In New Location

Aug 21, 2011

I created a simple button that displays an error messeage: "error opening 'url" when I test the movie, but does play and opens in browser after publishing. However, it won't open in the browser in a different location. I pasted the html code in a web page but it doesn't work there nor opens in the browser in a differnet location from where it was originally published and saved. Why is that?

View 13 Replies

Flex :: Actionscript Get Location?

Nov 19, 2010

How can I get the application itself full path in actionscript?

View 3 Replies

Flex :: How To Change Location Of SRC Folder

Sep 23, 2009

How can I change the location of the src folder? Right now I can just move the src folder from the navigator to some other location, but it's not being referenced as the src folder. (it doesn't have the square-ry icon on the folder icon)?

View 1 Replies

Flex :: Finding Component's X,y Location?

Jun 23, 2010

I have a component that changes its location based on other elements. I'm trying to find its x and y position at different intervals, so I tried compname.x and compname.y.

The x position seems to be working, but the y position is always 0. I need to play with localToGlobal or contentToGlobal or one of those conversions.

View 2 Replies

Flex :: Air - Specify The Location For FileReference.browse()?

Mar 30, 2011

I have a requirement to select a file from fileReference.browse(), but I want to browse a file to specific location say D:Dirfile instead of the OS specific (The dialog box is native to the user's operating system).

View 2 Replies

Flex :: Set The Location For A SOAP Service?

Apr 8, 2011

I have successfully generated my web service proxies using the FlexBuilder menus. This particular web service has an internal (or incorrect) "location" specified in its WSDL. This means that when I go to make an actual method call, it fails because the DNS name specified in the location field is wrong. (It shows as "aborted" in fire bug).

How do I set the location attribute on the service object?

update:

The field that needs to be changed is listed below. It is called "WSDL- ndpoint." So the question is: How do I do this programmatically given the generated web service object (the one that extends WebServiceWrapper)?

<annotation name="ServiceConfig">
<item name="DEFAULT_ENTITY_PACKAGE">valueObjects</item>
<item name="WSDL-endpoint">http://eoc7/eoc7/api.asmx</item>
<item name="LINKED_FILE"></item>
</annotation>

View 2 Replies

Flash Resizing Workspace?

Feb 17, 2010

I'm starting to learn flash with AS 3. I can handle flash quite ok at the moment, but now I'm learning AS3.However, sometimes when I start Flash, the workspace "Actions" is larger than my screen. This means that a part of my script is not readable. #$Q^$!! I've tried everything to resize it, but didn't find a solution. I've flash professional for mac. I've tried switching 'workspaces' , try to move the workspace in another position. It doesn't work 'cause I can't drag the space above my screen.

View 3 Replies

Can Export Workspace In Flash CS5

Mar 23, 2011

Can we save or export a workspace in flash CS5, so that in case you reinstall the flash, you can restore your workspace.Or use same workspace for multiple computers.

View 1 Replies

ActionScript 2.0 :: Move MC From One Location (x / Y) To Another Location

Feb 16, 2005

How can I move my MC from one location (x, y) to another location (x1, y1) wirh action script..?.. and I would like to have my motion tween rounded to (x,y) so it will look sharp.

View 8 Replies

Flex :: RemoteObject Inconsistent Channel Location?

Jul 1, 2009

I have a swf which, for some reason, has four RemoteObjects pointing to the same ChannelId, but they are listing that channel as being at two different spots. In four of the five RemoteObjects, everything behaves as expected, but in the fourth (WidgetService), the version on dev is switching from dev.context.root toloc.context.root. To make matters more confusing, it only does this on the dev server (QA and production are fine, as are local builds).The relevant information from the config files follows:

#This is from build.properties, which is used by Ant
#to build the swf on the server
flex.sdk.dir = /path/to/sdk/flex_sdk_3.2.0.3958

[code].....

View 1 Replies

Flex :: AIR: Save Application Location And Size

Feb 25, 2010

I am trying to make it so that when a user launches my air app, it positions itself and sizes itself to whatever it was the last time it was opened.

[Code]....

View 1 Replies

Actionscript :: Flex URLLoader Get Location Header

Oct 6, 2010

I'm sending POST request using URLLoader and URLRequest with XML data. Then API sends response with redirect page(Location header) and i want to get this URL. How do I catch this response?

[Code]...

View 1 Replies

Flex :: Calculate Drop Location Using Dragcompletehandler()

Apr 8, 2011

I have this <s:list> with an itemrenderer and arraycollection as dataprovider. Now my problem is I want to be able to drag and drop to reorder those items. To do so I need to know the dragged item index, and the drop location. I have the selected item index but when I want to calculate my drop location using this code in my dragcompletehandler()...

[Code].....

View 1 Replies







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