flash

Create image based off a SWF (flash) element on the page? PHP/Jquery/Javascript/HTML/FLASH

Is there anyway to take take a "screenshot", "save" or "capture" the active SWF element on a page as an image? I'd like for users to be able to simply click a button on my page, instead of having to need to manually take a screenshot of the entire page and then crop the image to show only the SWF element. I found a Jquery method, althou...

Making a video editor application in Flash

I'm wanting to build a project, it's an online video creation software in Flash so people could upload some music, choose videos from a library, edit the whole thing and export and download a movie in the end. I've seen websites like www.Animoto.com close to what I want to do but I can't find how it's made and I'd like to make it a littl...

how do i say "you need flash installed..." for embedded YouTube clips if the user doesn't have flash or html5

I'm embedding youtube clips on my site with the following code: <object width="259" height="215" style="margin:auto; width:262px; height:217px; position:relative;"> <param name="movie" value="http://www.youtube.com/v/&lt;?php echo $yt_id; ?>&hl=en&fs=1&rel=0&hl=en&fs=1&rel=0&showinfo=0&autoplay=1"></param> <param name="allowFul...

Flash radio button label with in movie not disappearing

Hi all, I have a radio button with a label that is inside a movie-clip. When I hide the movie with an action-script tween to alpha 0, the radio button disappears but the label remains. I am pretty certain this is to do with embedded font, but can't seem to get the answer. When I try: Questions.RBMusic1.setStyle("embedFonts", true); ...

Flash that display:none/$(div).hide; a div

Hi guys I have made a hidden DIV containing a flash-movie, and a button which display the layer. When the Flash is finished, I would like it to hide the DIV again. Flash CS4 AS2.0 I couldn't find any solution on the web that does it. Does any of you know where, or know a solution? Thank you in advance... ...

When should HTML5 video fall back to Flash player?

Hi. I'm working on implementing a fallback mechanism for the HTML5 video player. I've got a way to replace it with the swfobject Flash player, but how should I detect if any issues have developed? In other words, if we use the following list of error events that can be thrown, which one should trigger the Flash player replacement? Or sh...

[Actionscript3] How to specify width and height when loading external swf file??

Hi guys I am trying to load an external swf file. The swf width and height is small and I want to enlarge it when loading it. (My scene has large width and height). My current code could load the file but I am not sure how to enlarge the swf width and height. I would appreciate if anyone can help me about it...Thanks var request:URLR...

Is there any way to suppress Flash's FileReference.upload method from passing "Upload" : "Submit Query" form parameter?

Flash 9 / AS3 question here. For some reason Flash adds a parameter called "Upload" with the value "Submit Query" when you call FileReference.upload. This is causing a problem with an application we are writing. We need Flash not to send form parameters that we don't explicitly tell it to. Can we suppress this somehow? ...

Put webcam flash inside divs

I'm trying to embed some flash code, and I'm using swfobject. When I put it in the parent div, it asks the users for permission on the webcam/audio. However, when I put the flash code into a lower-level div, it doesn't prompt for permission to use the webcam, or anyting. How do I fix this? I.E. I can put the flash into contai...

Save captured still image from webcam in Flash

Hi there, I have written enough code to preview the webcam video in Flash. Now, I want to capture images at 10 second intervals. Here's my code: import flash.display.BitmapData import flash.geom.Matrix import com.adobe.images.JPGEncoder; import flash.net.FileReference; //get the default camera //change your Default camera using the...

Flash file upload issue with Flash player 10.1

Hi, I have a file upload script to upload pictures to a server. It has been working fine in all browsers but when I upgraded the flash player to 10.1 in firefox 3.6.6 yesterday it stop working. I retested with another computer and as soon as i installed the flash player 10.1 it stopped working. I did some debbuging and noticed that the e...

Odd flash script issue

Trying to run a flash file in my page. It appears to work in FF, Chrome, Safari, but not (amazingly) in IE. <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','800','height','800','src','flash/navpage7CS3','quality','high','plug...

Facebook login within Flash without popup or redirect?

Does anybody know how to handle a Facebook login from within Flash using REST API/FB Connect, without the popup or redirect? It doesnt seem very possible as the login method seems to force the popup. Might it be possible by modding the code to have it load in an unseen iframe (i.e. navigateToURL(new URLRequest("http://www.facebook.co...

c# WebBrowser Flash fullscreen - ESC won't exit fullscreen

Hi! I have a big problem! I have a swf inside a html page. If I open it with IE or FF and put it into full screen I can exit full screen with the ESC button. Now if i try this with my WinForms app and WebBrowser (or ShockWave Flash Object) it's not working?? Any ideas? Thanks! ...

Flash size expands in IE8

I received a flash file from the design agency to incorporate on our template (Java/JSP based framework). I specified the width in the javascript flash player we have as those specified by the agency and 963x488, but in IE8 it seems the flash occupies more space than that and even though the flash content area remains small, the overall ...

Types not found while using Vector in AS3

I'm trying to use Vector. in a Flash Professional Project, Person being a custom class. Eclipse keep saying it cannot find the type in brackets, even if I try with basic types like int or String: public interface IRenderer { function init(persons : Vector.<int>) : void; function render() : void; } Type 1046: Type was not fo...

Draw cubic bezier curves in Actionscript?

What's the best way to draw cubic bezier curves programmatically in AS3? The Graphics class only seems to support quadratic curves. :( I want to be able to do something like: var startPoint:Point = new Point(0, 0); var endPoint:Point = new Point(5, 5); var control1:Point = new Point(5, 0); var control2:Point = new Point(0, 5); var myBe...

Options for Interactive 3D models on web

Could anyone tell me what my practical options are for publishing interactive 3D models on the web? I would think either Flash or Silverlight would be the way to go, but even if this is the case, perhaps there are some frameworks already available based on these that will help. Details: Fairly simple models Must support 'bones' a...

In AS3, does URLLoader.close(); cause problems if nothing is being loaded?

I am not sure exactly is happening here but did figure out that URLLoader.close(); is the cause. I have a simple application whereby a user enters info into a textbox, then I send that info to a PHP script and return output. After output is received, you can click a new button that resets the application. The error lies with the functio...

AS 3 functions optional value getting error.

I have a gui class, The functions optional value getting error. If i am not passing the fillcolor and other optional values. Error: ReferenceError: Error #1069: Property fillColor not found on String and there is no default value. AS 3.0 var windowBase:Sprite = UIClip("Sprite"); /* sliderClip = Gui.UIClip("MovieClip",{width...