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.
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();
I would like to know how can I install a library packages to a Flash project. I am using Adobe Flash CS4 and the library I'm trying to include is in AS3. The library can be found on [URL].
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.
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
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.
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.
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()).
First of all I take it it's alright to start developing for 10.1 - is it out of beta? So, core animation used bt iphone/ipad with it's underlying c language etc. How can we use this for AIR android development - any tutorials/blogs - googled it and nothing comes up even on the adobe site. This is supposed to be a revolution so where's the info hiding???
I want to open/convert a class in Flash that has was build for Flex. Now there are includes like StringUtil wich are easy to rewrite and others like bitmapasset which are not found.Is it possible to add the core classes of flex to my classpath?
Why is it that the mx.core.Container uses its contentPane sometimes, but doesn't at other times?Or, in other words, how come the children of Container are only put into the contentPane if some complex logic decides that they should be put there? Why not simply always put all children in the contentPane?
I'm developing a p2p mutliplayer game using adobe rtmfp server on facebook using flex 4. I have box2d for physics engine and the hardware acceleration is on. In 60fps, Average cpu cost for 6 players room is %40 for 1.86mhz intel core 2 duo. But in 8 and more players rooms, the cpu usage increases to %50 and fps drops to 50. I'm guessing that flash player uses only 1 core in full performance and resting the other. However I need all cores for 8+ rooms to simulate 60 fps smooth game. Is there a way to make flash use multiple cores at once?
I'm making changes to this website i didn't build everything was going fine with the xml. I have to make changes to this file called content.swf but i don't know how this file was created, i'm assuming it was created with a file called Main.as When I try to export Main.as a swf i get this mx.core error. I know this is a flex package. I download flex sdk 3 and 4. When I try to export Main.as in flash CS5 it tells me I need to locate the flex path, so i choosed flex sdk3 and flex sdk4 on two different occasions it still wont work.
Here is the window that pop ups:"You have used a feature that requires Flex SDK:"Embed" metadata 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:
I am trying to create a large flex project. This Project consists of a CORE application, and other sub-applications.The CORE application should contain information that will be shared by all other projects (e.g., link to database, data manager which loads data from the database, application information like height width colors fonts... etc.).
The sub-applications each has a certain task. Each sub-application is a large project by itself so I don't think its a good idea to put all code inside one HUGE project.The CORE project should run the main application, and through a navigation menu, I should be able to click and run other sub-applications.Is there a way to created the CORE application to reference those sub-applications so that I can run them inside of the CORE. At the same time, those sub-applications should reference the CORE applications to get the NetConnection to the database and other important information that they might share?
Is mx.core.* something in the flex sdk / framework? I am trying to get the unserializer from [URL] to work with flash CS4, and I am getting the compiler error: 1004: Namespace was not found or is not a compile-time constant. The lines called out in the package are: use namespace mx_internal and mx_internal static var c:uint;
I don't know the first thing about namespaces, but does anyone know how to get this package/class working in CS4 AS3? It might be something simple I am missing. I have attached the .as package file (uploaded as a txt file) if anyone wants a look... I am having to get a lot of lists from a mySQL database and it is becoming a real pain urlencoding them all manually. If I could just urlencode(serialize($result)); in php and send that file to AS3 to be decode it would be so much simpler.
I have failed in generating core.I have added a line "ulimit -c unlimited" in server's start function. I killed the fmsedge process by "killall -6 fmsedge". The process do be killed but no core. file is seen in /opt/adobe/fms finally.
Recently, I want to create four floating balloons which are tied up together with a thin core. Now, I need some AS in order to make them look like floating in air smoothlyand slowly along with a thin core. Also wanna give the ballons random scale motion as well.
I'm trying to load a module into a flex 4 application (the module was compiled using SDK4 as well) but I got this error (I'm migrating this app from Flex 3 to Flex 4):
VerifyError: Error #1014: Class mx.core::LayoutContainer could not be found. at flash.display::MovieClip/nextFrame() at mx.core::FlexModuleFactory/deferredNextFrame() at mx.core::FlexModuleFactory/update() at mx.core::FlexModuleFactory/moduleCompleteHandler()
I would like to read the source of the flash.net.FileReference class. Is this possible?Where can I find the source files, do the come with the Adobe Flash or Flash Builder?
i embedded external swf file with Embed tag and application/octet-stream [Embed(source="myLogo.swf" , mimeType="application/octet-stream")] private var myLogoclass:Class; but when i compile it , this error appear VerifyError: Error #1014: Class mx.core::ByteArrayAsset could not be found. i use FLASH IDE (CS5)
I came across a very strange issue. There was a session in which no fso has been recorded. It was a session of around 110min with more then 10 users as per the logs. Flv have been recorded for the session and I can see the chat text file which has been written from server side script but no fso has been recorded for the whole session. While cross checking the logs access log and Master log i saw that the last message recorded on that particular session was around 14:47 and in master log i see following lines:
2010-04-18 14:52:56 52768 (i)2581223 Core (56012) is no longer active. -2010-04-18 14:52:56 52768 (w)2581256 Core (56012) _defaultRoot_:_defaultVHost_:::_0 experienced 1 failure[s]! 56012 is the core process on which this session was running. So is it somehow related? I mean no fso being recorded on server with core recycling? In access log these are the last 2 messages on this core:disconnect session 2010-04-18 14:52:20 Central Daylight Time 186.24.19.5 56012connect session 2010-04-18 14:52:46 Central Daylight Time 186.24.19.5 56012 FMS server version is:FMS is 3.0.2Windows server 2003.
what I would call "core libraries" of AS3 (yes, that might not be the exact term in this case, but what I mean nevertheless). So for instance, when I type:
[Code]...
what exactly happens in the graphics-object? I assume that it will be calls to a rendering API of the AVM2, but how does this look like? Is there any way to look at it, or are these sources completely closed for anyone outside of Adobe?
We run about 20 FMS servers through Amazon AWS using the Adobe AMI: fms-4.0.1.8011-centos-5.5-ami-1 (ami-6a1deb03)On some of the servers we get fmscore segfaults, which kills the apps instances and make it impossible to launch new app instances. I am having a hard time finding out whether this could be due to errors in our code or if there is some kind of instability in the FMS. It does seems to happen only on the FMSs that are most heavily used.
var/log/message Jan 7 17:09:15 domU-12-31-39-18-08-75 Stream[30456]: Bad network data; terminating connection : chunkstream error:message bytes 128 are more than the specified message length
I have an FMS 3.5 server. It is a new install. No custom configuration.In the core.00.log I have repeated entries stating "Connect failed" such as the following:
#Date: 2009-04-20#Fields: date time x-pid x-status x-ctx x-comment2009-04-20 08:47:46 19582 (i)2581237 Starting admin app on core (19582). -2009-04-20 08:47:46 19582 (i)2581238 Core