flash

Possible to make Flash cache large sound assets?

I have written a game in Flash (AS3/Flex SDK/MXMLC) that streams music and sound files from my server. I'm concerned about bandwidth - the audio components are nearly 3MB, and if the game becomes popular it will really rack up the bandwidth charges. Is there any way to make Flash cache the audio components once they've been downloaded,...

How to get the click event on sIFR embedded tag in IE?

I have implemented Scalable Inman Flash Replacement (sIFR) to convert text. The issue is, I'm unable to do onClick event over the iSFR embed tags. $(function() { $("embed").click(function(){ alert('clicked over embed'); }); }); This works in Firefox but not in Internet Explorer. Can anybody help me? ...

leading and trailing whitespace stripped from content of a text node when loading an XML file

In actionscript 3, when trying to load an XML file like <Element><Property> a </Property></Element> the value in the node "property" will be just "a", trailing and leading whitespaces are removed. I did what http://bugs.adobe.com/jira/browse/ASC-3125 recomends, with no success. Any ideas? ...

How to insert the image on right top corner of panel header using flex?

Anybody help me How to insert the image on right top corner of panel using flex or action script . i used -<mx:Panel x="38.5" y="28" titleIcon="@Embed('image/logo.png')" id="register" width="375" height="534" layout="absolute" title="Registration Form "> titleIcon attributs but not use . so how to insert ? ...

FLV Playback - scaling and smoothing vs. hi-res?

Hi guys, I'm building a flash site (as3) with large videos that act as transitions from section to section. The videos don't scale; in order to accommodate users with large monitors, we're planning on playing back HD video and only showing users the center of the frame (depending on their screen size). That is, there will be a central...

Using Numpad with Modifier Keys exhibits curious behavior

I have a keyboard event listener, and I am listening for the number pad key codes (1 through 9) for when number lock is activated; this works fine. However, in my app I also want to allow usage of a modifier key (CTRL) along with the number pad keys. The strange thing is that when holding CTRL, pressing 1 or 3 does not generate any key...

Is there a "Browser Control" to host a website inside Flash/Silverlight?

I'm looking for something similar to the VB6 / .Net Winforms "Browser Control", that let's you show a browser inside your application. I don't want to just render a page, I want it to be a fully-functional browser, in which people can click links, will run Javascript, etc. In essence, what I want is an IFrame, only that it runs inside a...

How do you recompile a Flash project?

Firstly, thanks for your help. Here's my situation: I'm trying to edit the code for a flash mp3 player, specifically the xspf music player located here http://musicplayer.sourceforge.net/ (I'm using the slim version). I downloaded the latest release and got a compressed file containing a .as file, a .fla file, and a .swf file. I've got ...

Is there a workaround to the Flash bug where selection doesn't stop?

Is there any workaround to the issue with Adobe Flash where a Flash Movie does not receive a mouse up event if the mouse is dragged outside of the movie? EDIT: This issue seems to affect Firefox only See: http://bugs.adobe.com/jira/browse/FP-234 Basically the issue is, I have a Flash movie which contains a text box, and if the user c...

Is it possible to call external movieclips' function or passing data

Assume I have 2 swf. first one I have a method on the first frame function methodA():void { } Second one will use the loader class to load the first one and use that to call the methodA. I wonder is it possible to do that... What about passing data.... I am abit too poor in AS 3.0 , I can pass the variable and call function from ...

Create server-side DVR application to be able to record DVR in FMS

Hi I want to be able to use the DVR compability in FMS3. But to do that I need to implement a server-side DVR application it says in the documentation. The problem is I cannot find any example on this. "You need to add server-side ActionScript to handle the recording and the correct client-side ActionScript to your media player." http...

Getting U+fffd/65533 instead of special character from Query String

Hi, I have a C# .net web project that have a globalization tag set to: <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="nb-no" uiCulture="no"/> When this URL a Flash application (you get the same problem when you enter the URL manually in a browser): c_product_search.aspx?search=kjøkken (alternatively: c_prod...

A way to programatically generating background with ActionScript 3.0?

I am connecting to an XML back-end to create different "pages" for a flash website. (I know.) And I'm wondering if there is a way to programatically generate a background that will automatically be the correct height for the content within each "page". My background is in the form of a seamless tiled graphic. Is this even possible? ...

Magento 1.3 - Image upload issues with Flash

hey, The image upload functional within magento 1.3.0 fails for the majority of cases. We're running our magento instance on a windows server. I've tried to switch the version of the plash plugin used by the browser, with no luck. What other work arounds have people tried to get this working consistently?. Regards, P ...

Is it possible to open a JqModal pop-up iframe from flash

I have a link in flash that I want to open with a JqModal popup. I tried passing the string in the flash varaible but that didn't work. var flashvars = { testURL: "contact-us.html?q=jqmodal&go=&form=QBLH&width=781&height=400" }; Any ideas?? ...

create dynamic navigation from xml file in flash cs3

action script newbie here :-) What I want to do is this, hand an xml file to a swf and have the swf generate a dynamic text box and button for each of the links in the xml file a rudimentary navigation here's the xml <?xml version="1.0" encoding="UTF-8"?> <page> <page name="Page Name 1" url="/page-1/" /> <page name="Page ...

Can you make http client connections from a web app(flash, java)?

Before I jump both feet in and waste my time learning something that I can't use for my needs, I have to ask: Can I make a http connection to another website from within a java applet or a flash file? Say I have a java applet that wants to load results from google. Will the JVM give me access to such a call? What about Flash? I've read...

Streaming live audio with Flash

I've been approached to set up an internet radio station that is focused on the local music scene in El Paso, TX. I've looked at various options, but it seems most solutions out there are for streaming pre-recorded audio. While I might need to fall back on this, I was wondering if anyone had done a similar project and might be able to po...

Enable load movie button event on other flash movie

In my flash movie I load another flash movie with button on it. The problem is when I trigger the button the event on the load flash not function. When I check the button it trigger event trough root function on the parent clip. How I can enable the button event on the load movie when I load it on my flash movie? ...

Flex :: <mx:transitions> not working Properly in my flex project ?

i used <mx:transitions> <mx:Transition fromState="*" toState=""> //universal_title name for TitleWindow id another stage .loginform is panel id another winidow <mx:Sequence targets="{[Universal_title,loginform]}"> <mx:Sequence id="sequence1" filter="show" > ...