flash

Is there way for force a browser to load swf files before other elements in the page.

Hi there, Is there way to get the browser to always load any swf files before everything else on a page (exept the external css and swfobject.js). Using Firebug's Net statistics I can see the swf files generally load last. We have all our external js files inserted at the bottom of the page to help loading times. If this is a little v...

Live video streaming website

Hi All, we are looking forward towards developing a very interesting community portal that would help the user to broadcast their live videos across the community. I've been checking over sites like ustream.tv, justin.tv and wondering what/how Technology they been using to do so. I am doing a lot of research over the last few days che...

Resizing street view object

Hello StackOverflow'ers, I have a (flex) app that, on the click of a button, resize a div (in javascript) at the bottom of the page and shows your position in google street view in it. The things is that if I open the browser at 80% of width, click on the button and then maximize the window, the div won't take 100% of width. I have a f...

Force wmode on flash content with javascript

Hello there. I'm using a modal window on a client's site where we have no access to the content. The problem is that he has some flash on the page and the wmode for these is not set to transparent. Is there a possibility to force their flash from our javascript to have this parameter added? Thanks ...

Actionscript 3 Scrollbar

I am very new to ActionScript and Flash development so excuse any incorrect terminology that I may use. I'm just playing around in some spare time. I'm developing on Ubuntu, using AS3, and compiling with the flex sdk using the ANT tasks (flexTasks-4.0.0.10485). I am looking for a way to scroll content within a sprite. So, say I...

Flash: BitmapData.draw(Video) ignores video height.

Hi there...I'm pretty much the rookiest rookie when it comes to Flash. Here's the actionscript (3): // Here's the dumb-dumb: /*****************************************************************/ /*****************************************************************/ function captureImage(e:MouseEvent):void { // The video still-image is c...

Accessing Uza's global object from an loaded external swf

I am using the 1.2 version of Uza's Global singleton (http://www.uza.lt/codex/as3-global-object/). The container swf stores some data and a link to a function in the "global" object. Then another swf is loaded inside the container, it gets it's global instance with Global.getInstance();, and i suppose i can access the data and function...

"one frog jumps" arrays and displayList AS3

I've got an array of 10 frogs, and only one jumps. I want them all to jump together or sequentially. Anything is better than one frog jumping. How do I get all the frogs in my array to jump? WHAT I WANT Selectable frogs I can control //Creates 10 frogs var enemyArray:Array = new Array(); for (var i:int = 0; i < 10; i++) { var no...

tweak CSS to expand header

for this site: http://yoursdproperty.com/ do you see how there some extra white space all the way at the top? how would i expand that image to get rid of that space? The weird thing is that the flash file that runs the header images has already been changed by me to be the width of the page. Something in the CSS though makes it the o...

Flash FLVPlayback CuePoint problem

Hello I have a flash app that plays movies. It loads subtitles and subtitle times from an xml file. Now the problem is this: in one or two of the films the first subtitle disappears after only one second even though it's in and out times are correct and it should be displayed for 5 s. I have no idea why this is happening since all the ...

Flash Components with Flex SDK

I am using the flex SDK to compile actionscript 3 classes into an swf. Some components are not included with the SDK like the fl.controls components. What options do I have for getting access to the flash components? I've seen others mention that I can export them to a swc file within Flash Pro, but I would rather not have to purcha...

"multiply frog enemy" timer and array AS3

How can I use the counter value to multiply the frogs in the array? My counter goes from 0-100. I want to prove that I can increment the enemies using a counter. EXPLAINED BETTER I have 10 frogs in an array. I want to use a timer to add 10 more frogs on each iteration of the TimerEvent.TIMER firing. //currentCount var timer:Timer = n...

Setting dynamic TextField.text from a parent MovieClip in ActionScript 3

Hi, folks! Easy question, that I can't quickly find an answer to online - it seems this would be in tutorials everywhere - and probably is... I have a MovieClip that has a Dynamic TextField: let's call the instance of the field txtName. I want to set the text field on the fly for txtName, so I add a little ActionScript (3!) that does ...

Can we use compiled HAXE swf's swc's in Actionscript as normal libs?

Can we use compiled HAXE swf's swc's in Actionscript as normal libs? I have a swf compiled from haxe code (I can try to compile it into something else SWC for ex) I want to use it as lib in AS3. Is it possible? If yes how to do it? ...

Flash movie that reads html values and rotates them every 10 seconds

I was wondering if it is possible to create a flash movie that rotates values that are stored in HTML. For example if i have these 3 containers: <div style="display:none"> <img src="someimage1" /> <span class="text1">text1</span> <span class="text2">text2</span> </div> <div style="display:none"> <img src="someimage2" /> ...

How to get flash player to display under content on a PC?

Long story short, I'm developing a theme template for a blog that enables you to view the posts in blocks. The main part of the post is displayed at first, then the secondary content is displayed over that when you hover over the post block. Everything works fine on a Mac Versions of all major browsers, but start browsing on a PC, and a...

<table> <table> in Flex Apps

I am learning flex and have written a little app with a TextArea that had data getting populated dynamically by embedding simple HTML (mostly for font styles) I ran into a weird issue when I wanted to include images, the images in this case are small arrows as in reddit.com. My desired aligmnent is, ------------- o | foo bar | ffdf...

How do I allow smoothing in externally loaded images?

In Flash, I can go into the properties of an image in the library and check 'allow smoothing' to enable resampling when the image is scaled or rotated. How can I achieve the same effect for images loaded dynamically by the SWF from an external URL? ...

ActionScript 3 instance path issue

Hi, I'm using Flash CS4 and the following ActionScript 3 code: import fl.containers.ScrollPane; // var sp:ScrollPane = new ScrollPane(); sp.name="scroller"; // sp.setSize(320, 240); sp.move(10, 10); addChild(sp); // var mcCount:int=10; // var nextY:int=0; // var i:int=0; // var holder:MovieClip = new MovieClip(); holder.name="contain...

Capture all playing audio from Flash AS3 for later playback

Is there any way to capture all playing sounds into one ByteArray on playback. I´m about to build a soundmixer where the user can start and stop sounds when they want to and play it later. Does anyone have a clue how to do this? ...