flash

how to solve zindex issue with flash

笑着哭i 提交于 2020-01-01 12:24:15
问题 In a webpage I need to show a div layer over the flash banner which is not using wmode=transparent setting. How to solve it? 回答1: From what I remember you can shove the div into an <iframe> (perhaps using Javascript so you don't make a mess of your HTML). Iframes are window objects like flash so they're able to overlay each other. 来源: https://stackoverflow.com/questions/1470166/how-to-solve-zindex-issue-with-flash

How to get the final length on a Sound object that is still loading?

大憨熊 提交于 2020-01-01 10:50:58
问题 I'm creating a basic MP3 player in ActionScript 3. I have a basic progress bar that indicates how much of the song has played. The progress is calculated as a decimal percentage normalized between 0 and 1 as such: var progress:Number = channel.position / sound.length; The problem is, if the audio is still loading/buffering the sound.length is incorrect. This causes my progress bar to skip around and even travel backwards until the sound has completely loaded and the sound.length isn't

Alternative of NPAPI plugins for Flash / Java Applet

☆樱花仙子☆ 提交于 2020-01-01 09:19:32
问题 My question is regarding chrome announcement of Not supporting the NPAPI plugins post December, 2014. Firefox is also following the same. I have a NPAPI based plugin in one of my legacy application and that was doing well till now but after announcements from chrome and Firefox I am looking for alternative. I want to ask from experts that : What could be alternative options for NPAPI ? For new Option, do I need to write some fresh component or Can I make some wrapper around My plugin and use

What is the maximum amount memory Adobe AIR can utilize?

梦想与她 提交于 2020-01-01 08:24:27
问题 I've been doing some rapid prototyping for a game I'm thinking of building. one of the main things i want to do is map generation for a tile type map. While generating the map i end up using large amounts of ram. I'm building the map as an array of random integers for my test. When i try to generate maps of a large scale flash gives me the out of memory error: Error: Error #1000: The system is out of memory. I've already figured i could write to a file instead, to solve that problem. but does

S2C2440 nor-flash的研究

自作多情 提交于 2020-01-01 07:17:35
1.Nor-Flash 接口如RAM一样 引脚很多 地址线和数据线是分开的 2. 容量小 1~32M 3. 读写很简单 不过写命令需要向里面写入特定的命令 比NandFlash慢 4. 价格贵 不过不会产生坏块。 当CPU选择NOR-flash 作为启动的芯片的时候 则nor的0地址就是cpu的0地址 且nor 连接在了CS0上面 所以说nor flash的地址就是0 而且此时nor-flash不需要初始化(其实还有一个原因就是nor-flash的速度很快) LADDR1 连接在 A0上面 所以说数据每次需要左移一位来保持数据正确。 上图的这个表描述了各种命令如何访问nor-flash 比如 读ID 1. 在555H写AAH 2. 在2AAH写0x55H 3. 在555H写90 4. 读0地址得到厂家ID(C2H) 5.读1地址得到设备ID(22DAH或225BH) 6. 往任意地址写0x0F退出读ID模式 进入CFI模式(统一norflash 信息) 1. 在0x55 写入0x98 2. 读10 11 12地址的值得出ID 写操作: 往地址555H写AAH(解锁) 往地址2AAH写55H 往地址555H写A0H 往Addr写Data 等待第六比特数据不变 完成写操作 #include "my_printf.h" #include "string_utils.h" #define

Sending data from flash to node.js server with socket.io

眉间皱痕 提交于 2020-01-01 05:51:31
问题 I have a simple socket.io based server in node.js that listens to a socket in port 81 (for example) I have no problem connecting and passing data between clients written in Javascript But after a lot of tries I can't get my Flash app to connect to the server and pass data to it (I found some examples in the web - but all of them are flex based and use classes that aren't parts of the basic AS3 libraries) when I'm trying to connect to the socket using a XMLSocket - I get Security Sandbox

Saving as Flash in C++

若如初见. 提交于 2020-01-01 05:50:51
问题 How to save an IPLImage of OpenCV as a Flash file? Maybe there is a library that does that? 回答1: If you mean storing your output as a flash video (.flv) just use ffmpeg (libavcodec/libavformat). It is cross platform and supports the .flv format (besides a massive amout of others) and should be quite easy to do. You can embed audio too. As a note: ffmpeg is partially included in opencv (depending on your build) as a video coder/decoder, i don't know though if you can force it to write as .flv

AMF message structure?

♀尐吖头ヾ 提交于 2020-01-01 05:30:14
问题 Adobe's documentation for the AMF format does not seem to actually specify the structure of an entire AMF message. It only specifies the format of individual data types. I've read the damn thing five times and either I'm just totally missing what an actual AMF message should contain, or it's not there. Does anyone know of any documentation of the actual whole-message structure? 回答1: The specification might be described as "terse." The AMF encoding uses bytes which are called "type-markers."

Previewing PDF and PowerPoint files with Silverlight/Flash

旧街凉风 提交于 2020-01-01 05:29:35
问题 I'm looking for code or a good control to preview PDFs and PPTs with Silverlight or Flash. It would be great if it has nice page-curl functionality. We want our customers to be able to have a look at their reports in a spiffy way. 回答1: Some ideas for Silverlight display: PPT Viewer PDF for Silverlight TextGlow Page Curl 回答2: Flash can only display Jpg images, therefore will need to convert each page of the PDF or PPT to a jpg file, then import these into a flash page turner component. PDF

Portable way to determining of printer is physical or virtual

☆樱花仙子☆ 提交于 2020-01-01 05:29:04
问题 I need direct-to-printer functionality for my website, with the ability to distinguish a physical printer from a virtual printer (file). Coupons.com has this functionality via a native binary which must be installed by the user. I'd prefer to avoid that. SmartSource.com does it via Java applet: Does anybody know how this is done? I dug through that Java APIs a bit, and don't see anything that would let you determine physical vs virtual, except looking at the name (that seems prone to