flash

Issue with the flash fallback of VideoJs with Firefox

纵然是瞬间 提交于 2020-01-14 14:13:10
问题 I have try to add videoJs to my site to play MP4 files, all works perfectly in Chrome but when I go to Firefox (which doesn't support MP4 files) the flash player stay on a black screen and buttons do nothing. Simple question: why? I don't understand, websites like vine.co or instagram use videoJs with no issue but for me this is not the case. So I tried to change the tech order, now Flash always try to read the video but even on chrome nothing append. This is my test code: <!DOCTYPE html>

Using RemoteObject (AMF) from a Flash or Pure AS3 Project

こ雲淡風輕ζ 提交于 2020-01-14 13:40:48
问题 I recently ported some code from a Flex project over to a new pure AS3 project. When i attempted to make an AMF call, I am getting an error message like this: TypeError: Error #1034: Type Coercion failed: cannot convert Object@5425371 to mx.messaging.messages.ErrorMessage. There was no stack trace associated with the error, so debugging was difficult. I tried all manner of things (checking that all required libraries from the flex framework were included, etc) but nothing worked. 回答1: After

Upload image thumbnail to server, without uploading whole image

折月煮酒 提交于 2020-01-14 12:58:29
问题 As far as I know, what I ask here isn't possible, but I thought I'd ask anyway in case I'm missing something. Suppose you want to let users upload JPG images, and these images are scaled into smaller icons and the original images are always discarded and never required again. Is there any way that would commonly work in most modern browsers that would let the user select a single image on their hard drive, have that LOCALLY turned into a thumbnail and upload the created thumbnail to a server?

Setting proxy settings for Flash Player

天大地大妈咪最大 提交于 2020-01-14 08:55:50
问题 I asked Google. But there is no working answer for it. I checked "right click -> global setings" and found no proxy setting in macromedia.com. Can anyone know how to configure proxy settings for flash player? Thank you. 回答1: Flash Player uses system proxy settings.So you have to change system proxy settings by navigating to : Control Panel=> Network and Internet Connections => Internet Options => Connections => Select your profile and change proxy settings then click ok. 回答2: Flash Player

Change Banner ClickTag Code to AS3?

自闭症网瘾萝莉.ら 提交于 2020-01-14 05:24:06
问题 I have been handed a number of Flash (AS3) banners to add ClickTag codes to them and as the documents have been setup as AS3 it does not allow code added to items! I need help changing the following code to AS3 asap if anyone can help? on (release) { getURL (_level0.clickTag, "_blank"); } I cannot change the document back to AS2 as they have been created through InDesign and the filters don't work if I change them back! Thanks, Thomas. 回答1: In AS3, the on(event) workflow has been replaced

AS3 Passing data between objects/classes

妖精的绣舞 提交于 2020-01-14 05:18:12
问题 So i a building a categorized menu of different foods. I have a class for "categories" (buttons) which essentially will return a string "salads", "drinks", etc. I now have another class "menuItems" for items within categories and this handles sizes such as "small", "med", "large", etc. My problem now is that when i return "salads", i want to invoke an array which contains all the elements of salads, send it to menuItems which will populate the menu. So far i have both the category objects and

Valid Email in ActionScript 3

半世苍凉 提交于 2020-01-14 03:34:09
问题 i am using var emailExpression:RegExp = /^[a-z][\w.-]+@\w[\w.-]+\.[\w.-]*[a-z][a-z]$/i; for validation check in a contact form in ActionScript3. The problem is that if the email submitted starts with a numeric character then it is rejected. for example the email 45yah.yah@yahoo.com is rejected but the mail yah45.yah@yahoo.com is acceptable. what should i change? 回答1: var emailExpression:RegExp = /^[\w.-]+@\w[\w.-]+\.[\w.-]*[a-z][a-z]$/i; BTW, did you try this? 回答2: you might also find http:/

AS3 click sound at the start of recording

自闭症网瘾萝莉.ら 提交于 2020-01-14 03:23:12
问题 I'm currently recording sound and storing the byte array for playback and subsequent encoding to mp3. Unfortunately though I am getting a click sound at the very beginning of the recording. I have attempted a couple of methods to try to eliminate this such as: recording the first .3 seconds with mic.gain = 0; then setting mic.gain = 50; clearing the byteArray after the first .3 seconds then continuing to write the bytearray (in effect deleting the first .3 seconds of the recording.) Neither

Interact with Flash using Python Mechanize

妖精的绣舞 提交于 2020-01-13 19:17:08
问题 I am trying to create an automated program in Python that deals with Flash. Right now I am using Python Mechanize, which is great for filling forms, but when it comes to flash I don't know what to do. Does anyone know how I can interact with flash forms (set and get variables, click buttons, etc.) via Python mechanize or some other python library? 回答1: Nice question but seems unfortunately mechanize can't be used for flash objects 回答2: What you probably want to search for is how to control

Alternatives to swfobject for embedding flashplayer

对着背影说爱祢 提交于 2020-01-13 13:52:31
问题 Does anybody know if there's a better alternative to swfobject? I actually like swfobject, I just wanted to hear if anybody found something better. Or maybe it is the best way. If you do not know swfobject you can find it here: http://code.google.com/p/swfobject/ 回答1: It is the best way I know of, and I have never had a problem with it. Note that you cannot put JS in embed code for posting on some social networking sites such as Facebook. In those cases you will need to use the usual object