Hi,
I have developed a player in AS3. It is working if i provide the IP of the website. But, it is not working when i provide the full domain name. Even, i provide the crossdomain.xml for global access.
Please suggest.
...
I have a flash application, some kind of a play-list that loads external SWF video player (I don't have code access to that external file), so users can watch the video or skip to another one. When user switches to another video new SWF file is being loaded.
The problem: If user didn't finish watching the video and skips to the next th...
Hi I have a need to create a Ternary Plot graph from 3 different variables.
http://en.wikipedia.org/wiki/Ternary_plot
I basically need to come up with the x/y coordinates of the point within the triangle, from the ratio of the 3 variables.
Is there any function / algorithm that anyone is using to create this? The language I am using b...
What is the significance of the $ prefix on some properties of Flex Objects?
e.g. item.$width
...
Hi,
I'm trying to create a MXML component based on the spark Panel and I would like to add an image on the right end of the title bar, so that the panel will have a text on the title bar and a small image at the right end. I'm using a skin to define the colors, background fill etc. But how do I add this image at the right end of the tit...
Are there tools for AS-3, like iContract for Java,
which can help in Design by Contract(DBC)?
(Drawing inspiration from The Pragmattic Programmer).
...
I am trying to use JSON decoded as a dataProvider, but no matter what I try I get errors such as the following:
Error #1034: Type Coercion failed: cannot convert
mx.collections::ArrayCollection@2a88ae01 to fl.data.DataProvider.
I am only returning a simple JSON object array of 3 elements with 3 properties each.
I am currently doi...
I created an flv video player using Flash Builder 4. This "BasicVideoPlayer" project is compiled into a SWC that will be eventually be used to create other video players that extend the functionality. One of the features is a view that appears when the video has finished playing that displays a "Play Again" button. This "Play Again" view...
I have a web project that I've been asked to make into a DVD. All seems to work well except for the fullscreen.
When I hit my "fullscreen" button in my .app (or even go fullscreen from the menu), all of my buttons stop working (including the ability to go back to my normal-sized screen).
Is there a way to get around this??
...
I am trying to extract nodes from an XMLList as follows:
this.txtDebug.appendText("\n\ntmpData Dump:\n");
this.txtDebug.appendText(tmpData.user);
var XMLUsers:XMLList = tmpData.user;
this.txtDebug.appendText("\n\nprinted thorugh for loop:\n");
for (var i:int = 0; i < XMLUsers.length(); i++)
{
this.txtDebug.appendText(XMLUsers[i] +...
I've got a flex app with a DataGrid with several columns (defined in the MXML file), and I need to "introspect" the grid columns. That is, I need to write some ActionScript code which, given the DataGrid object, can determine various things about the grid (and more specifically, the columns of the grid).
In particular, if a column is ju...
Hello, i got a question.
I have a fully working flash application, made in as3. Now i dynamicly added a movieclip and i would like to be able to erase that movieclip with a eraser of some sort, my goal is to be able pick up a sponge with the mouse and then start dragging over the movieclip and erasing the parts where i dragged over it.
...
I'm an experienced AS3 developer doing AIR development for the first time in order to create an iPhone app. I'm trying to account for variable device orientations using the StageOrientationEvent and related classes, and I'm getting a VerifyError when trying to test on a desktop machine, presumably because orientation-related classes are...
Tutorial: http://pushbuttonengine.com/docs/Lesson-01-FlashCS4.html
When I get to hello world, It gives me the error "Packages cannot be nested but, when I remove the { and } it gets mad at me.
Code:
package
{
import flash.display.Sprite;
import com.pblabs.engine.PBE;
import com.pblabs.engine.debug.Logger;
public class...
I had created the script below but the cordinate is not working right. please see my scripts and let me know what is wrong with my scripts.
thanks
/*mcc is the Instance name*/
var myMovieClip:Sprite = new Sprite();
trace("x" + mcc.x + "y" + mcc.y + "width" + mcc.width);
myMovieClip.graphics.lineStyle( 1, 0xFF0000 );
myMovieClip.graphic...
I'm trying to learn how to build interactive data visualizations, and I think I want to go the Flash/Flex/ActionScript route instead of using Processing.
The problem is, I've never understood what the difference between all three is, so I don't know which one I should be learning.
It sounds like Flash is more for designers/non-programm...
I have this catcher game, where soda bottles falls on to the stage, and we use a character as a cursor to catch it. But all the actionscript is built in already into the file internally. But I was asked to put the two classes I use (the cursor and the falling soda bottles) in an external classfile.
And since I'm really new to OOP I real...
Hello,
I have a slider wich should slide diagonally, i have set the boundaries with a rectanglethe height is 202pixels and the width = 34pixels.
My goal is when i slide down, the slider should mover right so when i start to slide from top left and when i com to the bottom it should be right. Anyone who can help me?
...
Hey i'm trying to erase a movieclip but it doesnt want to work. My code is:
private function setupErase():void{
var toolsize = 20;// size used for tools (width = height)
var tooloffset = toolsize/2;//
var bitmap:Bitmap=new Bitmap();
var bd:BitmapData=new BitmapData(filth.width,filth.height,true,0x...
Hi all,
I have been working on a subtitles engine for flash/flv video player. On my Mac everything is great, nice aliased glyphs, displaying all the characters, etc. Switch to windows, it all goes out the window. Some machines with Eastern Characters enabled display fine, but I can't guarantee all users will have this option selected.
...