flash

How to query an XML File with E4X in AS3?

I need to archive a database-driven flash as3 website. I exported a table to xml so now i have something like this: <RECORDS> <RECORD> <id>home</id> <msg>bodytext</msg> <type>0</type> <lastEditDate>0000/0/0 00:00:00</lastEditDate> <lastAccessDate>2009/6/17 11:37:21</lastAccessDate> <timesAccessed>855</timesAcce...

Guidelines regarding developing a flash web-site (especially loading - order swf, xml, etc...) ?

I would like to know, if you people out there could help me out, regarding the best practices or the a better way for creating a flash website... Actually I would like to know whether we should load the xml first and then the swf and other components or the other way round ? I am bit confused, even if anybody could refer some book to di...

Flash swf sometimes squashed when wmode = transparent or opaque on website

Hi, I have a problem on all browsers when I set wmode = transparent (or opaque) on a flash element on my site. I want to overlay some HTML content on top of the flash element, and this works fine, but for some reason the different components within the flash element are sometimes appearing squashed and not in the correct perspective. Thi...

How to make flash file not downloadable?

Hey friends, I want that my flash file on my website, can't be downloaded by anyone. Is there any way that i can do that? As Firefox and many browser has many add-ones which easily detect out flash content and after they can download the flash file? ...

AS3: Performance question calling an event function with null param

Lately I needed to call a listener function without an actual listener like so: foo(null); private function foo(event:Event):void { //do something } So I was wondering if there is a significant difference regarding performance between this and using the following, in which I can prevent the null in calling the function without the...

Load everything apart from flash videos first, then begin buffering flash videos

I have 2 flash videos on my website which cause the website to load slowly until the videos are buffered. Is there a way to load everything first, then begin loading the flash videos? While the site is loading, show a ajax loader instead of the flash videos. ...

Flex 3 and flash player caching

hi, i pass text strings from a configuration file into my Flex app, one of the strings i pass in is a mailto link which i use to allow users of my app to send me feedback. I recently needed to change this link however when i updated the link in my config file the change did not happen instantly in my Flex app. In fact i had to clear my...

How can I change the language of dynamic text in a SWF using flashvars?

I have a SWF with text embedded from an external .txt file. Is there a way I can have a different file used as the text source through the embedcode (swfObject) depending on the language? Here is my current actionscript: myData = new LoadVars(); myData.onLoad = function() { text_clips.project_title.text = this.projecttitle1; }; myData....

Center the stage in Flash CS4/AS3 on a standalone player

I have a Flash presentation (made in Flash CS4 with AS3) I am working on and running in a standalone Flash player. When I start the presentation the stage is centered in the Flash player, even if I resize it. The presentation contains an FLVPlayback component which, at different frames, plays different content. A navigation menu (made of...

Flash Media Server dynamic file naming

I'm trying to figure out most efficient/safe way to name recorded streams on FMS. The case is to get listing of recorded streams from the server (eg. rec_001, rec_002...) and dynamically add rec_003 filename to the new stream that is being recorded. I'm thinking about either using FMS File Object and put everything in array of files eve...

Free audio players for website streaming

Are there any free audio players that I can use in my website? Are they customizable? I've heard of Soundmanager 2. It's a flash based player with a javascript front-end. Are there any other free players like that? ...

Question on programming YouTube video player controls

Is there any way I can create a slider on my desktop to access some of the controls of the YouTube Video player like volume, pause, play, playback speed? I know it is a flash player, but would this involve accessing the YouTube API or something else? For example, I'd like to program something similar to what's ...

Is there a way to catch a MOUSE_UP Event over a static textfield in Flash?

When the user presses the mouse, and releases it over a static textfield with selectable text, no MOUSE_UP event is fired - not on the stage and also nowhere else. I experienced this when using a scrollbar class on a movieclip with a nested static textfield. When the user drags the scroll handle and releases the mouse over the textfield...

HTML form -> Flash submit button -> Set a PHP variable in flash button -> Submit form

Okay, I'm sorry that this is pretty complicated, but it shouldn't be that hard to solve... Here's what I want to do. I have an HTML form that I want to upload to MySQL with PHP. That part's easy, but the thing is I want the submit button to be a Flash object. Somehow I need the Flash button to submit the form, but I think I can figure t...

receiving error #1009 in flash cs4 actionscript3

I'm having a weird issue where my buttons will work initially and direct me to an appropriate page, but when i go back to that page and try to use the buttons the roll-overs work but none of the buttons direct to a different page. This is the actionscript on the initial page with the buttons. If I choose any of these buttons they wor...

website doesn't use flash so what is it using?

Hey guys just been looking at the Steam website and noticed it doesnt use Flash. What technologies are being used to create the page? For example the slide bar to scroll through the different games, how exactly is that happening? Thanks in advance for any replys. ...

How To Extract .flv Stream from JW Player 5.1?

The problem is I've a slow internet connection, and the video doesn't buffer like in YouTube. Therefore I was wondering weather I can extract the url of the .flv file which is being streamed in JW Player and directly download it. Doing some preliminary research, I've found the following info: Main Video URL: http://ijf10.ilcannocchiale...

Exiting full screen mode in Flash

I am working on a flash game, that will be distributed as and EXE file. I would very much like the game to run full screen, which is not a problem, but I am struggling with replacing flash default behavior when escape is pressed. When escape is pressed I would like to display a custom menu asking the user if they want to exit the game or...

Flash create mini window for HTML

Is there a way to create a mini window in flash that contain an HTML web page? Not open in new window! Thanks a lot! ...

Position: absolute a div over Flash

Is it possible to position: absolute a <div /> over a Flash banner without adding wmode="transparent" to the banner? I have a lightbox that needs to appear above my ads but I can't directly modify the banners as they come from a third party. Edit: The problem mainly occurs in IE where the Flash banner is shown above the lightbox. ...