Hi Everyone,
I am currently working on a nice little 2D game engine in AS3. You can even load in different flash movie clips through XML for the different animations. One of the features also allows you to flip an animation when you perform a certain action. That way you could have 1 animation for both left and right (as usual). I have t...
I need to build a file uploader in AS3 that is capable of uploading files into an authenticated django view which contains a form with a file upload input.
I have been working on this for an entire 7 days, all day.
After much digging, I have discovered that Adobe, in their infinite wisdom has disabled cookie headers from being sent...
Hi there,
I'v made this question before, but I think it was to confuse. I gonna try again, as I can't change or make visible comments to that. Let's go!
I'm working on a photo portfolio to a friend of mine.
I have a main swf with a main class (SEE DIRECTORY STRUCTURE AT THE END). This class i use to create site layout and menu.
Th...
Hello, I have a map of the US with icons over a number of cities (about 12). When the user hovers their mouse over one of these icons a movieclip with two dynamic text fields pop-up over the icon.
Each city's icon movieclip is named after it's home state: state_(abbreviation) ie: state_TX
The pop-up text balloon is named: cityTag_mc
In...
I'm about to start using LocalConnections in a couple SWF's to let them talk to each other. But before I head down this road, I need to make sure it's not going to cause any popups and confirmation dialogs to appear from the system.
If I use a local socket server, that causes the Windows firewall and many others to flag it and require c...
In Flex I want to create XML variable like this but parser complains about CDATA in publisher tag:
<mx:Script>
<![CDATA[
private var myXML:XML = <book>
<name>AatII</name>
<author>gacgtc</author>
<pages>0</pages>
<publisher><![CDATA[Journal name]]></publisher>
</book>;
]]>
</mx:Script>
But this works fine:
<mx:X...
Hello! I'm building a website in Flash CS3 and I'm having a problem. Yo give you a basic idea, the website itself is static, and when you click a button the only thing that changes is the content in the box. The first problem I'm having is that I can't stop the content from looping. Its set up so that a short animation plays and then the...
Hello!
I have some images I would like to display in TileList in Flex. My TileList dimensions are 2 columns by n rows. What I want to do is to display the first item (row 1, column 1) empty and not clickable, and to start displaying my items from row 1, column 2. Is that possible?
I also wonder when I create click event for the same Til...
I'm trying to get the youtube as3 chromeless player to work. I have followed the youtube as3 API examples and this is what i got so far:
public class Main extends Sprite
{
Security.allowDomain("*");
private var player:Sprite;
private var loader:Loader;
public function Main():void
{
if (stage) init();
el...
I was doing a tutorial, and i notice that if i put the name of a text area with a _txt ending i end up with this error
TypeError: Error #1034: Type Coercion failed: cannot convert fl.controls::TextArea@1ef0221 to fl.controls.TextInput.
anybody knows why ?
...
I have a custom item renderer that displays images:
<mx:DataGrid dataProvider="{friends.friend}" id="friendsGrid" width="240"
rowCount="3" variableRowHeight="true" headerHeight="0"
horizontalCenter="true" backgroundAlpha="0" borderThickness="0"
useRollOver="false" selectable="false">
<mx:columns>
<mx:DataGri...
can anybody tell me where can i find some tutorials/ sample code on how to stream a webcam using ActionScript 3
...
Okay so I've probably watched and read every tutorial available on this subject, and none of them have worked for me, so I'm going to the pros(thats you guys :D) I'm trying to make a custom scroll button/ textfield setup. I have the dynamic textbox, the buttons, here's the code :
Down.on(click) = function() {
scrolltext.scroll--;};Up.on...
Hello all!
I have been making a simple aplication and i have a problem i cannot find the solution (neither why it is happening)
The thing i want to do is to dynamically add a canvas containing a button to the application and then i want the canvas to be moved from the left side of screen to the right.
So i have made the following code...
so I have a lot of classes in actionscript 2. But I need to modify my application to use the soundchannel object for audio monitoring. as far as i know this is only in actionscript 3. so it it possible to write one class in AS3 and leave the rest in AS2?
if not is there a conversion tool which can make the process easier?
...
I am building a scheduling system. The current system is just using excel, and they type in times like 9:3-5 (meaning 9:30am-5pm). I haven't set up the format for how these times are going to be stored yet, I think I may have to use military time in order to be able to calculate the hours, but I would like to avoid that if possible. But ...
Is there any equivalent of C#'s Assembly.GetExecutingAssembly() in ActionScript 3? I am attempting to iterate over each class in a namespace that implements a specific interface.
...
I have an AdvancedDataGrid that has a couple AdvancedDataGridColumnGroup's I would like each group to have an extra column, that shows the total of all the other columns in the group. I also need to use my own calc function to calculate the totals. Is there anyway to do this? I hope I explained this well.
Thanks!!
...
The issue I am having is creating an application with nearly every component skinned using CSS. The majority of the components are skinned using:
Embed(source="file.png");
method. The problem I am running into, is flex trying to compile all of the embedded assets into the final swf. As it stands now, my compiled swf stands around 16mb!@@...
I'm looking for a way to extend a TextField that's allready on the stage in Flash (AS3)
something like this:
public class ChildTextField extends TextField
{
//code for childTextField comes here
}
I've placed a TextField with instance name 'thetextfield' on the stage. Now I would like to tell flash this textfield is of type Child...