flash

Building a stick fighting game, Silverlight or Flash?

what are the pros and cons of each? ...

Good or Bad Examples of Flash/Flex Technology Use

I'm a PHP programmer who's learning more about adobe products including flex, and would like to train myself to recognize when flash/flex is the right technology to use for a client/project (and of course when it's not the right technology to use). I guess the best way to get it is by experience, so if you know of any examples (full si...

How do I get YouTube's embed code validate against HTML5 ?

My page validated error free against HTML5 until I added YouTube's embed code. # Line 140, Column 132: Stray end tag param. …O30JM&amp;hl=en_US&amp;fs=1"></param><param name="allowFullScreen" value="tru # Error Line 140, Column 183: Stray end tag param. …llowFullScreen" value="true"></param><param name="allowscriptaccess" val...

Flex PNG/JPG decoder

Hi, Now, I run the following code in Flash to get the raw binary data of one PNG file. var fr:FileReference = new FileReference; fr.browse(); fr.load(...); After loading complete, I think I can access the PNG file binary data from fr.data, now, I want to display this PNG picture in my application, could you please tell me, is there a...

Setting focus to an embedded Flash movie/HTML embed element using Javascript/jQuery

Is there a way to set focus to the embed HTML element using JavaScript? Test case: embedded YouTube videos on a page. I have no control over the embedded Flash element. So, is there a way to set focus on it by using only JavaScript? I read somewhere that calling the element.focus() method works only in IE. I need a browser-independent...

Actionscript 3 array scope / multidimentional array questions

I seem to have an array scope issue. I have a global variable; var itemConnect:Array = new Array(); Which is initialized at the start. I then have a function to populate it as a 2-d array: // Draw connections function initConnections() { for (var i:Number = 0; i < anotherArray.length; i++) { for (var j:Number = 0; j < anotherArray...

Can ActionScript and Flash handle complex dynamically-loaded modules and architectures?

I'm looking to start learning ActionScript and Flash to write a potentially very complex game engine. I come from a background in relatively advanced software architecture and as such am wondering if a few things (which I consider important for my engine) are possible with Flash: First, I want to modularize my game so that it can be bo...

How to highlight cells in datagrid?

How can I toggle cell's background color by clicking on this cell? (Adobe Flash Builder beta 2) ...

How do i display error messages when i have many input fields by using Adobe Flex ?

Hi, I am a beginner to Flex development (so keep it in mind when answering) and i have a Adobe Flex form in which it has many input Field. I use VBox, HBox as container to layout the page. So the question is: How do i display error messages when i have many input fields by using Adobe Flex ? And what should i do to show error message ...

YouTube Videos in Blogger Atom/RSS feeds

I'm trying to view a feed from my blogger account both from a Ruby on Rails app, and Safari's feed reader. All of the simple HTML (like paragraphs and images) is interpreted just fine, but embedding a YouTube video isn't working. For example, when I add this to my post inside of blogger: <p>Before</p> <object width="560" height="340">...

Duplicate mousewheel events in Flash on XP Firefox

In Firefox 3, all the mouseWheel events in my haXe/Flash app are firing twice. This only seems to happen in the Windows version of Firefox; it doesn't happen in IE or Opera, and it doesn't happen in Linux. Is this a known issue, or could I be doing something wrong? Is there a workaround that doesn't involve something crazy like checki...

how to programmatically fill out flash forms ?

Some sites have forms which are Flash. How can I programmatically, fill out these forms ? Is the only solution sending POST via cURL by first monitoring the http headers being sent ? ...

Clickable sIFR inside linked elements

My site in progress has some large graphical buttons that uses sIFR to display their headings. The structure looks like this: <a href="link.to.somewhere"> <div class="topGfx"></div> <div class="content"> <h2>Heading goes here</h2> <p>Content goes here</p> <div class="bottomGfx"></div> </a> I'm replacing the <h2> element ...

Embed a flash movie in Wordpress post

Hi, I am trying to get this flash carousel to show up in a Wordpress post. I can right click on the blank space where it should be and bring up the flash options menu, but no movie is showing. It links to an xml document that pulls in the images and text. Is it an xml issue? Below is what I placed in my wordpress template header to allo...

Adobe AIR: Overwrite standard Command C keyEquivalent?

Hello, I'm currently trying to built a little Air Application where I want to set the normal Command-C key to call a function? Is this even possible to use a standard Menu Command? function createMenu():NativeMenu{ var menu:NativeMenu = new NativeMenu(); var menuOneCommand: NativeMenuItem = menu.addItem(new NativeMenuItem("Menu 1")); m...

Programmatically extracting a frame from a video in Flash

I need to write a small Flash app that will need to extract a video frame from a playing video. It will not need to be saved to the HDD of the user. I just need to get the image data and display it in the Flash movie. The frame to extract will be chosen by the user, which is why I'd like to do this purely on the client side (though I kno...

Save video captured from webcam using Flash

I'd like to use Flash to capure video from the user's webcam and then save it on the same server that hosts the Flash file. The web server will be running ASP.Net technology. Seems easy, right? Lot of searches yielded the same lines of code to start a webcam capture using Flash. I can't find anything that sends that captured video back ...

Which is economical and easy-to-build website(flash & HTML) builder?

We have church website built using moonfruit.com and they have siteMaker website tool that we used to build & design and now we are planning to move to other host to get more space, so it seems like we need to rewrite whole website, so which is the economical and easy-to-build tool which doesn't require much technical expertise. ...

How to show static image when a site hosting Flash is blocked

I'm trying to load a youtube video in a webpage. Not overly difficult, and works fine. <object width="600" height="362"> <param name="movie" value="http://www.youtube.com/v/etc"&gt;&lt;/param&gt; <param name="allowFullScreen" value="true"></param> <embed src="http://www.youtube.com/v/etc" type="application/x-shockwave-flash" width="6...

Loading flash file from memory rather than file loc.

Hi I am using this code to load a flash file from a known location: System.Windows.Forms.Integration.WindowsFormsHost host = new System.Windows.Forms.Integration.WindowsFormsHost(); // 实例化 axShockwaveFlash1 AxShockwaveFlashObjects.AxShockwaveFlash axShockwaveFlash1 = new AxShockwaveFlashObjects.AxShockwaveFlash(); ...