swf

Calculate width and height of Flv and Swf using C#

Hi, I think the title says it all. I can't work out how to calculate the width and height dimensions of a .flv video or .swf file using C# .NET. Thanks in advance! ...

How to create an .swf file that will simply load a webpage in an iFrame once opened?

Hello, I am very new to flash and actionscript. I simply would like to know is it possible and then what is the code needed to create a simple .swf file that once double-clicked on opens and all it has inside it's window is an iframed website (scrolling and resizing are optional), basically a simple flash mini-browser if you will, with n...

Use JQuery SWF plugin in JSP

I used an example script of how to load an SWF file with the JQuery SWF plugin (http://jquery.thewikies.com/swfobject/examples). I am trying to get the plugin to work in a JSP. It appears to work in FireFox and Chrome but not in IE8. Can anyone see any obvious issues? Thanks in advance. <%@ taglib prefix="c" uri="http://java.sun...

ActionScript 3 Loader - swf disappears as soon as loader.width is set

Hi, I'm using a Loader object to load an external swf: var swfLoader:Loader = new Loader(); stage.addChild(swfLoader); var bgURL:URLRequest = new URLRequest("sometestfile.swf"); swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadProdComplete); swfLoader.x = 240; swfLoader.y = 210; // Resize here? swfLoader.load(bgURL);...

How to SetVariable in jQuery

I have a percent gauge dashboard widget implemented as an SWF movie. I am using jQuery in my JSP to achieve some AJAX update capability. For now, I am simply trying to set the value that displays on the gauge with the SetVariable() function in the code below. This cannot be done as an initial flashvar by design of the creator of the g...

How to constrain loaded swf?

I load swf files continuosly, but if one of the swfs has some defective code such as Mouse.hide() the mouse disappears when the swf is loaded. I want to constrain such malicious code in loaded swfs. There is also another problem related to contraining loaded or loading swfs. When I load a swf which loads another swf to operate, It does...

How do I enable the control bar for an .swf file?

The code below works great except the user has to right click the video and then left click "play". Is there a way to add the control bar via param? <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="360" height="270"> <p...

How to detect Flash events from swfobject

Hi. I've been reading about using ExternalInterface to have Flash communicate with JavaScript. I need to detect and call some code in JavaScript when the user starts playing the video and when the video ends. The swfobject is nifty for embedding a player on the page, but I can't figure out how to add these event handlers to it. Here's my...

best way to embed swf that loads other swf files

Hi, In main.swf I loaded file.swf as: var loader:Loader = new Loader(); var request:URLRequest = new URLRequest(“file.swf”); When main swf loaded in HTML with an absolute link like: "http://domain.com/main.swf" It reports 404 error loading failed of file.swf Because it looks for file.swf at current web host. What's the best way ...

Prototype light box removes swf

Hi, I have a web page which has a swf in it and prototype light box. When you play the swf it works fine, but when I launch the lightbox you can see the swf disappear. Then when the lightbox is closed the swf doesn't work as it should. Anyone come across this before and know of a fix? seems to only affect IE7. Thanks, C ...

Make Uploadify work in a jquery accordion header when wmode=transparent

Hi, I have a jquery accordion, and I want to insert uploadify inside the accordion header. Putting it there worked fine, but when I set the uploadify swf wmode to transparent, it does not work well: -in Chrome clicking the upload swf does nothing -in Firefox it does open the upload window, but also closes/opens the accordion -in Interne...

swf file resize for all monitor screen sizes

i want to use games in popups so that when a person clicks on play button the popup opens, but the problem is that it works fine for 1028 not for other screen sizes how can i make this okay. Please help me i have tried height 100% and width one but its of no use to me. to see sample of what i am talking about please visit this place ht...

How to put Silverlight application inside Flash file(swf - browser independet which run with flash player)

Hi every body, i have created a silverlight application , but i need to embed it to a Flash file(swf) which it runs with Flash Player ( whithout using browser), I had found a solutions to call it using javascript, but it still needs my flash file run inside the browser, dose any one can help me, Either to run js inside swf (without need...

Android Programming - How to display .swf

Is it possible to run a .swf on Android running Froyo 2.2? If so, how do I do it? I am basically trying to do a cool animation and it is done in Flash but I have no idea how to show that animation on the Android. ...

Make swf file a link using Jquery

I've been sent a swf file for a banner that needs to be linked to a url. I am adding this to my client's website and my client has been sent the swf and javascript to add to the page. The problem is that the javascript code is overly complex, and I'm wanting to use Jquery and Unobtrusive Flash Objects (I've not yet updated to swfobject o...

SWF to image in asp.net

Hi, I am working on a greeting card website in ASP.NET. I need to show the thumbnails of .swf files. I was generating jpg image by the IMAGETOSWF. But it didn't work in 64 bit server. I have gone through their help and tried to fix thing accordingly. But nothing worked for me. Is there any way to generate thumbnails from swf files? ...

Loading external SWF file issue.

I am building a SWF player which loads external SWF's. Rite Now. I could call the external SWF using URLRequest. but I am getting 2 problems How to run the SWF with the frame rate of the actual SWF movie. How can I know the frameRate of external SWF dynamically from within AS3. I have set a layer of 450px by 350px. How do I scale the...

Reusing library items across Flash projects

What's the best way to re-use library elements across Flash projects. For instance, I created a loading indicator Movie Clip that I want to re-use- Should I export it as a SWF, and then re-import it into other projects? (For some reason when I try this, the imported clip shows up but does not play in the new project? Why would this b...

Update flashvars and reload flash with jQuery

I would like to update the flashvars value argument to view another video: <param name='flashvars' value='movieId=1002' /> I found out that I can make it work in Firefox by updating the parameter with the extra step of readding the whole flash contents. $("param[name=flashvars]").attr("value", "movieId=33"); $("embed").attr("flashvar...

Jquery. Reload SWF object with new parameter

Hi, i'm assigning new playlist to the SWF object. Then it needs to be reloaded it with new param: sections.change(function(){ var current = $(this).val(); var fextention = ".xml"; //show the loading bar showLoading(); //reloading player with relevant playlist: xmlplaylist.val("xml=playlists/"+current+fextentio...