Hello,
I am using the frames in the timeline of a .swf as pages in a flash app. The user can advance to the next page by clicking a button that takes her to the next frame. Similarly, it is possible to navigate to the previous frame/page as well.
Most of the content is placed on the stage (i.e. created by dragging an instance of a lib...
Is there a way to make a shared object that can be accessed by two different swf files on two different web pages? It works locally but when not when I upload the files to a server. How else can two swfs share information, without a database? I'm trying to have a settings panel on one page, and have all other flash files access the setti...
We have Bitmap and Bitmapdata objects now. And when using the webcam, we can get raw-pixeldata output from it. But, can we get raw-pixeldata from the "stage" or "swf" object somehow?
I would like to use this to make "small thumbnails" of certain parts of Actionscript applications and these could be complex compositions of dynamic text, ...
This is for a game in a flash AS3 only project.
the player controls a character with a gun. By clicking on the screen the gun fires a missile in an arc to the point clicked.
Whats the best way to calculate the x and y co-ordinates of the missile for each frame?
...
I've loaded a JPG with dimensions 3264x2448 into a Sprite. How can I resize it proprtionally to allow meto draw the Sprite into a BitmapData object (which in CS3/Flash Player 9 is limited to 2880 height or width). My goal is to use the Soulwire [DisplayUtils][1] to create a thumbnail. Here is the code that works fine with other, small...
Hello!
I was programming in php for a while but it was all procedural-oriented. Now I have a project in Flex 3 and I made a simple script which animates (moves) few objects but I think that I am missing the point of object-oriented programming here because I am repeating some stuff over and over... Maybe it is mixed together with all of ...
I'm working on an app which will, like most apps, have a whole boat load of buisness logic, almost all of which will need to be executed both on the server and the Flash-based client… And I'm trying to figure out the best (read: least complex) way to implement the rules engine.
These are the parameters of the problem:
The rules engine...
Hi!
Is it possible to make some kind of 'dynamic' thumbnails for mxml components which I'm using in my application? By 'dynamic' I mean if I change some layout in mxml component, my thumbnail refreshes according to new layout without any screen capturing, photoshoping or similar =)
Thanks!
...
I'm trying to do a simple test to figure out another bug, but I'm getting Access of undefined property tsLogo for addChild(tsLogo);
I don't get it because this is simple timeline code on the first frame:
var tsFont = new TextFormat();
tsFont.font = FranklinGothic;
tsFont.size = 8;
tsFont.color = 0xFFFFFF;
tsFont.align =...
Hi Everyone,
I thought this problem may be due to some strange path issue; however, the path is not relative in this case.
I have an AS3 based rss aggregator. It works in flash when I test the movie clip; however, when I place this on the server it no longer works...
I used "taLog.htmlText = "Start";" and similar strings to test wher...
I've a fairly simple little cs4 project where my desired effect is a clock face rotating in 3d space to match where the mouse is on the stage, but, for some reason, in order for the clock face to seek out the mouse position, I have to click the stage. Is this happening for anyone else? And, if so, why?
import caurina.transitions.Tween...
Is it possible to enable the "show redraw regions" programmatically? From AS3 code, I mean.
Or is it exclusively a feature of the context menu?
Our current C++ hosting app does not pass through right-clicks and I'd like to avoid changing that code. This is all for testing, doesn't have to be pretty.
...
I need to load dynamically a few images (4-6) so that by clicking on particular image user would invoke particular action. Embedding images solves the problem but at the expense of file size. If I load them dynamically, they lose their ID.
<comps:ExercisesScroller id="scroller" x="300" y="100"
ex1="@Embed(source='assets/Exerc_1....
Following on from - http://stackoverflow.com/questions/1591467/deep-nested-xml
I have a checkbox renderer i am placing into my Datagrid. The checkbox needs to do a sql query on the sqllite database and see if the show is marked as watched, if it is then make the checkbox as checked and if not mark the checkbox and not checked.
What i w...
Hi!
I would like to make some kind of thumbnail with capturing BitmapData or ImageSnapshot of some UNINITIALIZED components in my Flex application.
Is it possible?
Thanks in advance!
m.
...
Hi there,
currently I'm translating an app from C# into ActionScript (Silverlight to Flex) and I need to serialize some XML content in ActionScript.
Now, unfortunately I need the variables to have an other name than the nodes in the XML file. I tried a workaround with getters and setters. It worked for setting the variables, but I fail...
My preloading bars work fine on my computer, but get all crazy when put online.. they either stop in the middle and the actual swf doesn't appear, or they don't work at all.
How can i solve this?
...
Hi,
I am creating a Datagrid dynamically in AS3. In MXML it is valid to write:
mx:DataGridColumn dataField="abc" id="testColumn"
in AS3 however, I can not use the property "id", it is not found. Any ideas?
var dgc : DataGridColumn = new DataGridColumn();
dgc.id = "testColumn"; (NOT WORKING)
Thanks,
martin
...
Hi guys, I'm looking for the right textfield parameters or work-around for my latest problem here dealing with Flash fonts & text fields.
I have a textFormat and textField generation some text using the Font: Franklin Gothic Book point size 8. Currently this is how the font will look when I run the movie:
The bottom ®MYLOGO is a jpg ...
I'm still working my way through some pretty basic Actionscript programming (in Flex), and I'm getting a little caught up with events and object properties.
I've got 3 files below, one application and two components. The basic goal is very simple - start out with two location canvases and one player canvas. When clicking in one locati...