I have a simple block of code to demonstrate an issue:
package
{
import flash.display.Sprite;
import flash.events.Event;
[SWF(width="400", height="400", frameRate="24", backgroundColor="#FFFFFF")]
public class sandbox extends Sprite
{
public function sandbox()
{
graphics.beginFill(0xFF0000);
graphics.dra...
I'm trying to play multiple video streams simultaneously. However, I cannot synchronize these videos to play at the same rate.
---- details --------
I have three 45-second videos in FLV format and I use flash.net.NetStream to play these videos. I call netstream.play() of these netstream at the same time (by using a for-loop). However, ...
I'm working on a project built in Flash AS2.
One of the things I need to do is load JSON data.
In the past, I've had no problem with this - LoadVars works just fine.
However, on this project, the JSON service that I'm calling requires the http request to include an ACCEPT header with "application/json".
LoadVars has an addRequestHea...
Hello,
I would like to create an Options Menu in my Flash AIR application for Android.
I've figured out already, that this ActionScript code could be used for capturing the hardware Menu button press event:
stage.addEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);
function onKeyDown(event:KeyboardEvent):void {
if(event.keyCode ...
I have this embed code for a flash project:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="333" height="380" id="RallyHorseRace">
But it is not showing up in Chrome. Any suggestions why it is not showing up in Chro...
I have a flash movie loaded into my browser.Is there any way that i can pause it and then resume it.I tryed SuspendThread() for all the browser threads but the movie won't freeze
...
If I have a designer make the necessary graphics, what do I need to learn to make a flash based game?
Is it action script only?
I already understand the backend server work that would need to talk to the 'front end' part of the game i.e. how the flash game will make requests to the backend servers for storing/retrieving data in xml/jso...
Do you have actual experience with users establishing Adobe Flash RTMFP P2P connections in the real world?
I've heard a couple of people say only 50% succeed, but that sounds suspiciously low and the people saying that are probably all repeating the same rumor. My own very limited tests with various friends & colleagues work 100% of the...
I'm a bit curious..
I'm working on an application that loads dynamic data externally - this can take from one second up to several minutes depending on the user's connection speed. Should I make a preloader at the start of the application and load in every data or make X preloaders and show them for every page/part of the application w...
We have a swf banner with buttons/links on our site header.
When our customers DO NOT enter the "www" before our URL
the banner links do not work - do not forward to the page.
When our customers enter the "www" in the URL
It works.
First Thoughts,
Is it a security setting in the browsers? I tried the latest version of firefox, chro...
Is there any way to disable the "Download This Video" button from RealPlayer. It seems that when users have RealPlayer installed on their machines, it automatically adds a "Download This Video" button to any SWF that loads an FLV.
Edit: My intention isn't to prevent someone from downloading the SWF or FLV, I would just like to remove th...
Hello, I'm looking to make a library that can be either merged into a swf at compile time or loaded into a swf at runtime. The way I understand it, .swc files are generally merged into a swf at compile time, and .swf files are generally loaded into a swf at runtime. Is there a way I can have one file that can do both?
...
Hello,
I'm using an embed flash player in a web page and I want to scale it to browser window.
When I put "height: 100%" in the flash parameters, I get a blank page.
This is the code of the page :
SlideShowPro({
target: "slideshow",
xmlFilePath: "galeries/images.php?album=1",
width: "100%",
height: ...
In ActionScript 3 (and IIRC 2), the x and y properties on a display object are always stored as multiples of 0.05.
so something like obj.x = 66.6666 is the same as obj.x = 66.65
Most of the time, this doesn't matter. But sometimes I can end up with really slow-moving objects, eg 1 pixel per second. 1/60 (fps) = 0.017 pixels per frame. ...
is it possible to add ASDoc documentation to Adobe Help application?
i've configured Adobe Help to show documentation off-line only, so there is a store of the official AS3 docs on my computer somewhere, but all i can find is a helpmap.txt (800+ kb).
it would be very convenient to have access to all documentation via right-click > view...
Hello you all ,
I have a flash banner in my website and it has some navigation links on it .
Because I have several different folders in my website I need address them from the root .
At the moment i use getUrl like this :
getURL("ArticleList/Default.aspx");
But it doesn't work .
Thanks in advance
...
I wrote this repel function (below) for 2 movieclips and I call it from a timer instead of an enter_frame listener (speed), but it has the tendency to jerk and not be very smooth. How can I smooth the movements? I was thinking maybe adding some sort of padding or something, but idk...Any help would be greatly appreciated.
Thanx :)
func...
Hey, i was wondering what do the AS3 experts would do to detect a color with the webcam (red) and draw a sprite on those color boundaries.
Thanks in advance.
...
Is there a workaround for the Flash 10 clipboard restriction that will only activate the clipboard if interacting with the flash movie? More info here: http://www.adobe.com/devnet/flashplayer/articles/fplayer10_uia_requirements.html This basically will stop you from automatically assigning the clipboard from Javascript.
Is there a way p...
Hi to all,
I am working on flash action script.
In this flash i have a 7 animated buttons. each of them i give a instance name which is "item1", "item2", "item3", "item4", "item5", "item6", "item7",.
on each button i use this this script.
on (rollOver) {
if (_root.link<>1) {
this.gotoAndPlay("s1");
}
}
on (releaseOuts...