Actionscript 3 :: Managing A Core Library In Subversion
Sep 15, 2010
This is giving me major headaches! I'm having trouble even describing the problem in words. Basically, I want to be able to manage a core library (coreLib) of Actionscript classes with the following requirements: latest version is checked out when a new project starts. a dev can make changes to the coreLib and then commit them back into the repo as project is written (maybe bug-fixes, added features, etc.) the project contains a 'snapshot' of the coreLib so that, if returned to months later, it (as automatically as possible) has a copy of the coreLib that has guaranteed compatibility with the project.
I tried using externals but this can break compatibility going backwards. I'm currently exporting the coreLib into the project and its VC'd along with the project. I can't figure out how to get the changes back into the repo though, without just copying over the top and losing history.
View 3 Replies
Similar Posts:
Nov 13, 2010
it is said [URL]You can download the JSON library as part of the core ActionScript 3 library.but when clicking on the link it doesn't work
View 1 Replies
Sep 12, 2009
I would like to use the ActionScript 3 Core Library (in order to use the JPEGEncoder functions it includes) that you can download in here[url]...
but I've seen no information on how to install it. Does anybody know how to integrate this library into Adobe Flash CS3/4?
View 1 Replies
Nov 24, 2009
I'm using as3 core library to do export a a movie clip into a jpeg. I can export the movie clip just fine, but I do come when I add a mask to the movieclip. When the jpeg is exported only the mask is visible. Heres how some of the code looks:
ActionScript Code:
//This is the movie clip created and imported to the Library then called again in AS3
var drawArea:DrawArea = new DrawArea();
[code].....
View 1 Replies
Sep 22, 2011
I'm having problems: I create a new repository in Subclipse that points to a URL. When I check out the code and it creates a Flex Builder project, I am getting errors that relate to issues with the .actionscriptProperties and .flexProperties files. So, I was told to just create a new FB project and point the src folder to where SVN is on my machine.
I'm guessing that until I do something like import my repository....it's nowhere on my machine. But when I imported it, it appeared to try and take every existing FB project I had and add it to SVN. That's not what I want.How do I do this right? What am I missing?
View 1 Replies
May 25, 2011
I use CollabNet's Subversion Edge to manage a repository for a PHP/ActionScript based project I am building in the Eclipse IDE. In my project's root folder, Eclipse included several configuration files that aren't directly related to the project. How can I set up my repository to ignore these files/folders via CollabNet? Would it be through the "Repository Access Rules"?
View 1 Replies
Aug 10, 2010
Have recently started to use Subversion to version control projects. Am a bit unsure how best to structure the storage of projects, internal libraries and 3rd party libraries (eg. greensock).
View 8 Replies
Apr 15, 2011
I recently I followed this great guide to integrate the subversion revision into exe/dll files generated from my c++/c# visual studio projects. Now I can easily right-click on an exe-file to find which revision was used to build the binary (see image below). I love this feature.
Is this possible to do the same in flash/flex when building air/stand-alone applications? I would like to tag both exe file and dlls.
Update with solution: Although the ANT-based solutions provided here aren't as smooth as the one where the svn info is burnt into .exe/.dll files (in my opinion), it has solved my problem and is now implemented in our productions. My setup is based both on Kevin's and frankhermes's answeres but uses SubMCRev.exe instead of svn.exe or jar files. In our implementation we dump the svn revision to the logfile at startup. The output from the SVN target below looks like this: Built with SVN Revision: 1.0.0.1181 (local modifications found)
[Code]...
View 2 Replies
Feb 4, 2012
I recently started working in FDT (used to work with FlashDevelop) and I encountered a very strange problem. When I make a new project everything is fine, I can code without problem in as3 and also using the flixel engine is no problem. However, as soon as I checkout a project from subversion, the code assist breaks. The code still works, the program executes without errors. But instead of giving me a few option when I type "FlxG." it just gives me a lot of options regarding 'metadata'. I have looked at a lot of places but I can not find the answer anywhere.
View 1 Replies
Mar 4, 2009
The searches that I did on this topic aren't providing me with any answers...that I can understand anyway. =*) Here's the situation.In the past, I did computer-based-training using "a different authoring tool." One thing I discovered I could do with that tool--which really opened up new possibilities for me--was to use that scripting language to create a snapshot of the current window and save that image as an object/class. Then I could access that object, resize it, save it to disk, and load it in later. The result--for my training at least--was a visual bookmark of their location in the training should they have to save and come back later.I would now like to do this with Flash.specificially CS4 and AS3.If anyone can point me in the right location to get started,For clarity, the steps are:
1: Take a snapshot of the current Flash window / Stage. I'm not concerned if the snapshot remains "in Flash" or goes to the Clipboard as long as I can get to it in the next step.
2: Access that snapshot from where-ever it's stored.
3: Process the snapshot and reduce it to a thumbnail, etc.
4: Save it to a file that I can bring back into the .swf at a later point. I'm not real concerned about the format of the file as long as I can bring it back in later. How do I save it? I would love to be able to save it to the user's machine but last I checked
Flash won't do that sort of thing. Can I save it as a file on the server that the .swf is running from using perhaps a PHP call /script / page?
5: And, of course, recall the image to be used at a later point. I already have a pretty good handle on this from past experiments.
View 1 Replies
May 31, 2010
I'm doing some newbie tests, so I decided to capture the keyboard events to move a rectangle. But I don't get the desired result. Unless I click on the TextArea box, I'm not able to capture the event key code. After that, all goes pretty well.
[Code]...
View 1 Replies
Jan 5, 2012
Does anyone know the name of the event that is dispatch by the attachCamera(), i would like to take a picture ones the camera is loaded, i try to execute my code after call attachCamera but it takes the VideoDisplay empty, that's why i would like to know if there is an event triggered after the attachcamera() is complete loeaded.
View 1 Replies
Sep 19, 2011
ActionScript Code:
package
{
import flash.display.Stage;
import flash.events.KeyboardEvent;
import flash.ui.Keyboard;
[code]....
View 3 Replies
Mar 5, 2012
I'd like to display a group of squares following a pre-determined path to create rows. Like row 1 to 10 would be Row1(), 11 to 20 Row2() and so on. The main reason for this is to hide the Menu before actually showing/building it. After the Menu is build up, I could remove the squares any way I want to reveal the Menu behind.
View 0 Replies
Sep 10, 2009
In my project I have 3 types of elements that spawn at different times. 1. When I hold the mousebutton down object 1 appears. 2. When I release the mousebutton, object 1 disappears and object 2 spawns3. At regular time intervals yet another object spawns, object 3.These objects might (or will rather) touch eachother at some point. And what I want is this:Object 1 to be under object 3 and object 2Object 3 to be under object 2
View 2 Replies
Aug 15, 2011
I've searched for a free split and join flv files software without success. I intend to play two flv movies on stage, one after another. How can I detect that the first movie finished in order to start the second one? I am working with NetStream objects in AS2.[code]
View 2 Replies
Aug 10, 2009
if someone presses ctrl +alt +delete or any kind of shutdown hook from any os and delete the flex process from task manager then how can i track from that flex process application that killing that flex process was activated so i like to do some processing before killing this process.
View 1 Replies
Sep 6, 2009
var myFile:File = new File("./test.jpg");
var myFileStream1:FileStream = new FileStream();
myFileStream1.open(myFile, FileMode.READ);[code].....
now how can i add byte variable to the canvas ? for example
var canvas:Canvas = new Canvas();
canvas.addChild(byte);
is it possible to add ByteArray to the canvas?
View 2 Replies
May 22, 2010
I tried the code EmbedAssets.as below found in sample here: [URL] I got this error when building with mxmlc.exe and testing the ouput EmbedAssets.swf in Flash Player 9: VerifyError: Error #1014: mx.core::BitmapAsset could not be found
[Code]...
View 2 Replies
May 25, 2011
I'm teaching myself actionScript 3.I'm having some difficulty knowing which packages / classes to import from the flash core.I'm still a little shaky on the terminology but I mean these statements at the start of the main AS file.
import flash.display.Sprite;
Are there any good references / cheatsheets that describe what each flash.example.example provides? At least for commonly used packages.
View 2 Replies
May 8, 2011
I know it is intended for flex ... but what does that mean ... can I use it in flash ... if not, why not ...
but more importantly: all of the mx classes, spark classes, flashx classes ... why are they NOT for flash? pixels are pixels, matrices are matrices, 0's are 0's, 1's are 1's.
View 4 Replies
Apr 12, 2007
Is it possible? If so, what's the preferred way? I'm seeing lots of ArrayUtil and StringUtil AS3 classes, but I don't like using them as it defeats the purpose of an object (StringUtil.trim(str) instead of str.trim()).
View 4 Replies
Jun 14, 2011
way to attach multiple movieclips from the library to the stage is and name them in an appropriate way, then refer to them as if they were an array: fielder[i]. I have tried a few approaches but the closest I have got is this: (this is attached to a movieclip already on the stage).
Code:
onClipEvent (load) {
for (i = 1; i <= 5; i++) {
_root.attachMovie("fielder","fielder" + [i],this.getNextHighestDepth());
[Code]....
View 2 Replies
Dec 28, 2009
I am working with loadVars in an swf file embedded in an html page. The script is written to add a text string to existing textfield. The documentation I have does not address this situation. How do I get the return value from the server to the embedded SWF file in this situation?
View 4 Replies
Aug 4, 2010
I want to manage a username session for lifetime. means for example if u look a website [URL] in this website i have registered and i haven't logged out but whenever i open up this website my username appears there. No need to login again. so i want to do the same for my one of the games website. i have developed my website using php mysql flash.
View 3 Replies
Mar 22, 2011
I'm dealing with the scenario whereby my code might be included in other Flash content either included via import .as commands and then referenced as a Singleton, e.g.
import com.as3.Singleton;
Singleton.birth();
Singleton.getInstance().test();
[code].....
View 2 Replies
Jan 6, 2012
In Flex, how do you best manage child collection property changes, specifically notifying a parent object that a property within the child collection has changed.
package
{
[Bindable]
public class Author
[Code]....
How can I notify the Author when a Book propery has changed and update the dateOfFirstBookPublished method?
View 1 Replies
Jun 9, 2011
I'm having trouble managing the depths of my movie clips.I've got a startDrag() function and a stopDrag() function. Whenever I rollover another MC, I want the depth of that object to change to 1+ the object it rolled over.(I apologize if my English is poor)This is as far as I got, but cIndex returns the depth of the object that is currently being dragged; not the object it's hovering over... Is there a way to get that depth?[code]
View 1 Replies
Nov 9, 2011
I have used AS2 for a long time, and have decided it is time to start working with AS3. When attaching multiple movieclips with instance names I would normally do this (AS2):
Code:
for (i = 1; i <= 6; i++) {
_root.attachMovie("test_mc","test_mc" + i,(300 + i),{_x:fx[i], _y:fy[i]});
_root["test_mc" + i]._width = 26.1;
}
but I am struggling to get the same effect with AS3. here is what I have so far...
Code:
var mcWheel:MovieClip = new wheel();
function attachImages():void {
[code]....
View 0 Replies
Jul 18, 2006
Let's say I have 5 .swfs that I am loading into one movie. Am I better off having each .swf load one after the other? Let's say once the first one is 50% complete, the second one starts etc. This will help bring the individual .swfs on faster but it will probably cause the overall load to take longer. Is this a correct assumption?
View 3 Replies