flash

Using Adobe Animate CC in HTML5 canvas mode with external JavaScript files

对着背影说爱祢 提交于 2020-01-01 19:04:57
问题 I'm transitioning a large FLA AS3 project into Canvas/JS. I have a large external folder structure of AS files and many library objects associated with classes. I've converted FLA into a canvas mode but I can't find a way to associate JS files to the objects. I've seen online examples about including JS in frame scripts but I really hope to find a way to do it with external files and library objects association. I'd appreciate any direction or example of how it can be done. Thank you 回答1:

Using Adobe Animate CC in HTML5 canvas mode with external JavaScript files

…衆ロ難τιáo~ 提交于 2020-01-01 19:04:17
问题 I'm transitioning a large FLA AS3 project into Canvas/JS. I have a large external folder structure of AS files and many library objects associated with classes. I've converted FLA into a canvas mode but I can't find a way to associate JS files to the objects. I've seen online examples about including JS in frame scripts but I really hope to find a way to do it with external files and library objects association. I'd appreciate any direction or example of how it can be done. Thank you 回答1:

Every flash uploader giving bad progress values

亡梦爱人 提交于 2020-01-01 16:57:10
问题 The file upload script I wrote early last year for an internal website has been misbehaving oddly on a number of machines. On some machines it consistently works fine, on others it consistently misbehaves. I am having exactly the same problem with YUI Uploader, SWFUpload (2.2 and 2.5a), and Uploadify. On the misbehaving machines, the progress event (or callback as the case may be) is reporting the upload going far too quickly. It is progressing around 9 or 10MB/s, instead of the 50 or 60kb/s

Experience using Strobe Media Playback (OSMF)?

谁都会走 提交于 2020-01-01 16:38:08
问题 Does anyone have an experience of using Strobe Media Playback (OSMF) in a real project? How is it compared to JW Player and Flowplayer ? Any answers are kindly accepted. Thank you! 回答1: OSMF helps in standardizing and streamlining development for media delivery and will , as a framework , hide all the details from you the developer and give you a set of tools to simplify your task. Also , OSMF aim at using the same tools whether you're dealing with video, audio & images. So on one hand , you

AS3 Using a Loader to load a file protected by htaccess

不问归期 提交于 2020-01-01 15:56:06
问题 I'm attempting to load an external SWF that's hosted on a site into a local SWF file. The external SWF is in a password-protected directory using htaccess. Here is the code I'm currently trying to use: var loaderUrlRequest:URLRequest = new URLRequest("http://www.my-website.com/externalFlashFile.swf"); loaderUrlRequest.requestHeaders.push(new URLRequestHeader("Authorization", "Basic " + $Base64.encode("username:password"))); loaderUrlRequest.method = URLRequestMethod.POST; loaderUrlRequest

How to make a scrollable UI In Touch Flash CS5 for Mobile Devices (Primarily iOS)

橙三吉。 提交于 2020-01-01 15:07:16
问题 I wanted to know how I would make a whole symbol (an image) scrollable? I have found out how to do the multi-touch pinch to zoom but I can't find any code samples that will let me make the image scroll vertically only with one finger. So all I want to do is make an image scroll up and down with a single finger input. Are there any simple methods or sample code anyone could give me? 回答1: There are two ways to make an image scrollable in an AS3 mobile project: using the Pan gesture (two fingers

How do I produce a screenshot of a flash swf on the server?

我们两清 提交于 2020-01-01 15:07:07
问题 I'm writing a flash app using the open source tools. I would like to load a data file in to the app and capture a screenshot of the stage on the server. The only part that seems mysterious is running the app on the server. In fact, I don't even care if it's the same app running on the server and in the browser--if I can use the flash stage and drawing routines to produce an image server-side, I'm happy. If I have to delve in to flex, fine. Right now I'm having problems finding any starting

How do I produce a screenshot of a flash swf on the server?

笑着哭i 提交于 2020-01-01 15:05:59
问题 I'm writing a flash app using the open source tools. I would like to load a data file in to the app and capture a screenshot of the stage on the server. The only part that seems mysterious is running the app on the server. In fact, I don't even care if it's the same app running on the server and in the browser--if I can use the flash stage and drawing routines to produce an image server-side, I'm happy. If I have to delve in to flex, fine. Right now I'm having problems finding any starting

Optionally use Flash 10.2 cursors, while still being compatible with Flash 10.0?

随声附和 提交于 2020-01-01 14:34:39
问题 I have a Flash application that requires Flash version 10.0 to run. I want to add native mouse cursors, which were introduced in Flash 10.2, but I don't want to require all my users to upgrade, and I don't want to have to compile two separate versions of my app. Is there any way at runtime I can detect if the cursors are available, and then use them? It seems like if you only compile for Flash 10.0, it marks the SWF version header "10", and you have no access to the new APIs. And if you

How to disable sound on flashplayer in my custom application?

给你一囗甜甜゛ 提交于 2020-01-01 14:24:36
问题 I use Qt QWebView component which uses flash-player for video playback. How to disable sound on flashplayer executed inside of my QWebView? One approach that I consider is to execute some javascript code for disabling sound on player, but when to execute it? For example next code disable sound if run it on 1 second after call "load": page.mainFrame().evaluateJavaScript(""" var mute_all_tags=function(tag){ var elems = document.getElementsByTagName(tag); for(var i = 0; i < elems.length; i++){