Why loaderInfo.bytesTotal is Zero when run on server but run Test Movie it isn't zero?
My action(Preload)
stop();
addEventListener(Event.ENTER_FRAME,loaderF);
function loaderF(e:Event):void{
var toLoad:Number = loaderInfo.bytesTotal;
var loaded:Number = loaderInfo.bytesLoaded;
var total:Number = loaded/toLoad;
if(lo...
I just started learning ActionScript, so maybe this is obvious. I'm loading in .txt files to generate content for my Flash application. However, I can't seem to find a way to package the .txt files with the .swf when I publish my application. I'd like to be able to run the .swf from anywhere without it depending on the files. Is ther...
Is there any open source, Flash- or Javascript-based media player which can play all video formats (like youtube) and pdf slide presentation (like scribd)? Is there any media player that can do both? Thanks in advance.
...
Since I played around with OpenFire Server, I started to make up my mind to build an IM Client connecting to this Server. So, I quickly do some research on this by looking for any library based on JavaScript with Flash. Unfortunately, I cannot find any. Does anybody know where to get source? Thanks!
...
In flash10 I can easly rotate an image around its center in 3D space.
The flash10 example I have is at http://jsc.sourceforge.net/examples/web/MatrixStuffExample/Application.htm
I want to port this example to WPF.
Is there an example how to do such 3D transformation in WPF within C# without XAML?
In silverlight 3 you'd be using Matr...
I've got a problem with this embed in Safari. It works just fine on all other browsers, Internet Explorer 6 included. The problem is that the embed seems to jump to the very top layer, ignoring all z-index or positioning statements. This is important, because several HTML design features are overlayed on the Flash.
This embed was writte...
For some reason everyone who upgrades their Flash Player to the latest version (10,0,32,18) immediately start having problems with my application. According to my logging, LocalConnection.connect() is failing. The only documented reason for this is that another SWF running on the machine is using that name. However, I know nothing els...
I've been looking for a solution to this for years, but nothing is conclusively documented. There are many Shoutcast Flash players out there (e.g. radio.de) so I know it's possible. However, most of my research leads to this:
s = new Sound();
s.loadSound ("url.of.shoutcaststream:8003",true);
Which works for me in FireFox but not in IE...
Hi,
OK - weird problem which happens each time - and so I'm thinking I must just be missing something very obvious.
If in Flash CS3 I drag a Button component to the stage, and in the Document Class I hide that button with visible = false; - it works fine.
However, if I change the label of that Button from it's default 'Label' to anythin...
I'm sure this is very simple, but it's not readily apparent how to do it.
I created a flash file. Uploaded the file to my server. I'm going to it at blahblah.com/demo.swf , not included in any html or anything.
When I go to the file, the browser loads it in "fullscreen" mode, taking up the entire window size. The size changes as the wi...
Hello,
I'm sure this must be a common question, but I haven't found an answer elsewhere.
I've got a Flash object embedded in a long webpage. I listen for the MOUSE_WHEEL event in Flash, and scroll my Flash content accordingly. However, when I scroll over the Flash object, the webpage also scrolls.
Is there any way to prevent this beha...
Normally when I send information to PHP scripts via URLLoader, I have the PHP return various success codes so I can have my Flash files respond according to whatever success code the PHP returns (0 is a failure, 1 a success, 2 is some other error code, etc.).
Now I'm trying to submit a form with a bunch of data in it (name, email, birth...
I'm creating a game in Flash CS4 and using Actionscrip 3.0
I'm adding all my graphics via my AS3 code. I added my hero (A movie clip instance) in the main game class. In my enemy class (the movieclip) I want to make a generic AI which will check to see how close the hero is to the enemy. I tried various ways but I'm not sure how to p...
I'm trying to build a flash widget which will grab videos stored on my server. How does one do this to allow for maximum scalability?
I want to emulate what YouTube does.
Does it make a SOAP request? What kind of server is it talking to? An application server? A server that only serves videos?
...
file format is wmv, asx,flv, mov, rmv, rmvb, swf, mpg, mpeg.
How to get thumbnail image while video uploading , if: not use ffmpeg.
...
Youtubes flash player has embed links like http://www.youtube.com/v/5oiQdTfMAmo&hl=en&fs=1&
How can I do the same thing, where there is no mention of .swf and the file that the player points to is encoded in the URI.
...
hi i have a website which has a video playing.
what i want is when my browser going into a full screen mode i want to only show my video.
when i press F11 by click on the address bar / click on the browser window and press F11
my browser goes into the full screenmode.But i dont understand that F11 is played.
Is there a event from my ...
Is there any way of applying a ColorMatrixFilter to one rectangular area of a DisplayObject, leaving the rest untouched? The DO is a container, and the user interacts with objects in it, so taking snapshots to change its appearance isn't an option.
...
I am trying to delete some buttons from a XML drive flash template from template monster. After I delete the button from the XML file I can still see the button in flash and it has the title "Undefined".
...
I have a hidden div which is faded in using jquery when the user clicks a button. There is flash movie that is loaded into the div and will show and play in all major browsers except IE.
If the div is not hidden the flash will load and play fine.
Can anyone explain to me the problem?
...