Hey I've embedded JW flv player in my website. and it works perfect in chrome and firefox. But in all IE version it won't show up :S.
What's wrong with my code ?
<script type="text/javascript" src="/flash/swfobject.js"></script>
<br />
<div id="player" style="margin: 0 0 5px 0;">This text will be replaced</div>
<script type="text/jav...
Is there a way JavaScript can detect clicks (or mousedown, mouseup) that happen on Flash objects?
I have tried:
Attaching the 'mouseup', 'mousedown', and 'click' events to the Flash object using attachEvent/addEventListener
Directly attaching the 'onmouseup', 'onmousedown', 'onclick' events inline on the Flash object
Switching from ev...
I have a simple PHP page for downloading files that contains this code.
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="' . $name . '"');
readfile("$file");
This downloads the current bit of music I am listening to in a simple flash player.
For some reason in the latest Safari 4.0
...
Guys, I am thoroughly surprised that there is no Flash Hidden Features post yet in the Hidden Features series that I've been tracking for a while now.
There is a recent AS3/Flex one but it's not very active and I don't exactly mean just AS3 when I say Flash here.
The Hidden Features series is great for people who are new to a certain l...
Are there any Flash video players, free for commercial use, that are able to playback AVI files? JW Player is out of the question because in the readme it states that use by a corporation is considered commercial use and needs a different license.
...
is there any such web based flash torrent client available either free/commercial?
...
What I really want to do is check if the same file exists before or after uploading the file, is there a efficient way to do it?
Well, that's it!
Edit: Actually it doesn't matter if its after or before, as long as it can detect dups.
...
Hi,
I've got a configuration xml file that I need to parse for values before a flex application laods.
I've created a static class that allows for the values in the xml config file to be retrieved.
I'm initialising this class when the application first loads but as the xml file is loaded with a Loader class that loads a synchronously ...
Let's say I have a slider that can go between 0 and 1. The SoundTransform.volume also ranges between 0 (silent) and 1 (full volume), but if I use a linear function, let's say SoundTransform.volume = slider.volume, the result is rather not pleasing.
I really haven't studied the human ear, but I overheard once that human perception is log...
If I call a JavaScript function from flash like so:
ExternalInterface.call("main");
This is all fine and good, but I want my scope to be a particular prototype, is there any way I can do something like:
ExternalInterface.call("someObj.main()");
So that the keyword this points to someObj? I'm not against somehow passing it as an arg...
I am trying to call an action in a flash object from the javascript:
as:
function testExternalConnection(str:String):Void {
_root.debug.htmlText = "testExternalConnection ok";
}
ExternalInterface.addCallback("testExternalConnection", this, testExternalConnection);
js:
var movie = getFlashMovie("ap1_mod_hidden")
movie.testExterna...
I want to use a flash movie in another movie, so I import the desired swf into the library. Yet, the swf needs some additional configuration that can be passed as flash vars. How can I specify the flash vars?
...
I'm having a real nightmare trying to do what should be a very simple task. If I embed a static or independent SWF file, it shows up fine on our ModX powered website. However, when it comes to a dynamic SWF (one that references an XML file and image files etc) I just can't get the thing to show up at all.
According to the Flash Menu prog...
I would like to compile my flex application with a services-config.xml file. However, I am forced to supply a context.root.
In my setup, the context root (context path) isn't known until my .war file is named and dropped into the webapps directory.
It seems like there has to be a way to do this, but I haven't been able to come up with ...
I am using ASP.NET 3.5 and i am busy setting up a test site for the administrators to see if they can host my ASP.NET site with no problems. I have all ready added some Ajax and Session variables and now i want to add some flash in there as well.
I have NO CLUE how to use it and where to start. Would i be able to just get some flash HTML...
I created a Flash room editor for an online game. The user is able to add items to their room, which the flash loads in and creates an object for each item. For the average user this works great, but I have run across a case where a user has added 8400 items to a room and the flash can't handle it. The XML file loads up fine, but noth...
I have a client who is embedding videos into his WordPress blog. The problem is they have a large CSS dropdown that sneaks behind the flash video. I understand that setting the video's wmode to opaque will fix this, but I obviously need this to apply to every video they upload and not have to go to the HTML to add this tag
Is there any ...
I am using Flex to create a small form. All I have at the moment is a List component, that I want to populate with a list of font names.
I am getting the fonts using Font.enumerateFonts(true);. This returns an array of flash.text.Font objects.
The Font objects have a fontName property that is a String of that fonts name.
My problem is...
I wrote some very simple code to replace the mouse Cursor in a flash application I am writing in AS3/FlexSDK.
The code:
var cursor:MovieClip = new Cursor_addElement();
canvas.addChild(cursor);
cursor.startDrag(true);
It works perfectly fine on XP and 2x Vista machines, but on OSX the cursor does not follow along with the mouse - it j...
I'm working on this Flash project done with AS3 and for some reason the buttons I've created aren't always responding to clicks. Sometimes I need to click two or three times before the actual click comes through.
Has anyone experienced similar issues?
...