Hello,
as an work assignment, I have to alter old flash app written with actionscript 2 to let users upload image in one movieclip.
Since i have no control over placement of that flash in server, is it possible to do this without any PHP code (yes, flash is on site on LAMP stack), with flash only? I.E. - user uploads image to flash app...
You can upcast or downcast an instance (to a superclass or subclass) using this syntax:
var i:MyClass = MyClass(instance);
But what does the as keyword do?
var i:MyClass = (instance as MyClass);
Are they equivalent? or am I missing something here...
...
Hi,
I want to do a live stream. I am using Flash as the client and FMIS as the server technology. I wanted to know if there is any way to do live video encoding via a web interface?
As-In, now I use Flash Media Live Encoder to encode the video stream and publish, I wanted to know means in which I can use a web based encoder (similar to...
Hi All,
I am using the following code to load my flash file, contact a php script and decide what frame to play based on the results. THat is all working fine, the problem is that when the animation starts from Frame 2 - gotoAndPlay(2) - it seems to repeat a few frames over and over until the whole animation is complete.
I have done so...
I'm wondering how I can make a Flash start playing a video on MouseOver, and stop playing on MouseOut.
...
I'd like to get hold of a wide range of videos to use as test data. I'd ideally need Flash, Quicktime and Windows Media containers with video content at various bitrates and resolutions.
Before I set out gathering or creating such a collection myself, does anyone know if a similar repository of sample video data already exists? Perhaps ...
If I have movieclips called "test1", "test2" and "test3" in the _root, I can use:
for(i = 1; i <= 3; i++){
_root['test'+i]._x = 100;
}
How do i use the "_root['mc']" selection method if all my test mc's are in another mc called layout.
I have tried this but got a syntax error.
for(i = 1; i <= 3; i++){
layout.['test'+i]._x = 10...
I'm storing a variety of variables containing statistics, items weapons, etc in a flash based game. Currently I'm using PHP and AMFPHP as a backend, calling services to pull the data. This is fine for my own machine, even my own website, however if I want to deploy the game to a site such as Kongregate or ArmorGames, what storage metho...
Is there a way to create components compatible with Flex 3.5 by using Flash CS5? I'm stumped. Whenever I run the "Convert Symbol to Flex Component" command and then try to use the resulting .swc file in a Flex 3.5 app, I get multiple instances of the following error:
1046: Type was not found or was not a
compile-time constant: Matr...
I'm wondering, and hoping, if I can access and use a specific instance of an object if I only have the name of the object instance in a string? The code below perhaps explains it a littler better.
public function myFunction(){
var myArbItem:mcArbItem = new mcArbItem();
//mcSomeItem has another movieclip on it called 'itemLogo'
...
Hey there - does anyone know what I need to do to set up variable bit-rate streaming with Amazon Cloudfront. I am not using JWPlayer but have built my own flash player.
What calls to I need to make to Cloudfront and how do I make them? Or is it all handled on the client side?
I am using FMS 3.5.
Any help greatly appreciated.
...
I am working on integrating an air application with a web application and for the most part it works.
The only issue that I am having is that when I attempt to pass variables from my launching badge, the application does not load and I get no errors from my swf.
Here is my current code base:
Launching Badge AS:
package {
import flash...
Any idea about what backend technology might be in use for sites like photofunia.com and loonapix.com for image merging to create the effects? is it flash/flex or Open GL?
...
Hi every one,
im trying to fix the flash overlap using regular expressions. here is an example of markup im trying to convert to my needs
<object width="440" height="300" data=
"http://www.youtube.com/v/dMH0bHeiRNg&amp;color1=0xb1b1b1&amp;color2=0xd0d0d0&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1"
typ...
How is cropping/clipping accomplished on a Sprite in Flex?
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="Init()">
<mx:Script>
<![CDATA[
public function Init():void {
var spr:Sprite=new Sprite();
uic.addChild(spr);
...
hi all,
i got an audio interface(http://www.m-audio.com/products/en_us/MobilePreUSB.html) that have 2 microphone input. and i decided to connect 2 microphone to flash cs4 through audio interface. however i cannot recognize all of them.
however, when i use processing1.1, i can recognize the 2 microphone input as left and right audio cha...
I'm trying to take a game map and put it into say Google Maps or Bing Maps or whatever is best for my Flash app. I've tried the Google Maps API but it has some limitations in Flash and I can't seem to find a tile cutter that doesn't mangle the base tiles with compression.
Thanks!
...
I would like to display all images from a folder in a slideshow without having to specify every file name specifically using CS4 - AS3.
...
Hiya.
I would like to create my own events.
In action script 3 I can just extend the event class and create my own Event Class.
how can I achieve the same results using action script 2?
thanks.
...
Is there a way to overlay other objects on top of fullscreen video in Flash Player?
i want to put a googlemap over a 'full screen' flash video player, is it possible?
...