flash

How should client Flash(SWF) communicate with server-side .NET?

大憨熊 提交于 2019-12-21 06:06:09
问题 So I have ASP.NET running on the server in IIS7. I think I'm going to use MVC for some static pages and basic dynamic forms - but the majority of the client side is written in Flash/ActionScript. What's the simplest, most succint, most DRY way of building/generating proxies between client and server? Which format should I use? JSON SOAP Binary And which comms protocol should I use? WCF HTTP via MVC Controller actions I'm probably missing some format or protocol, but basically it should be

What is the address of my Flash debugger?

本秂侑毒 提交于 2019-12-21 06:01:00
问题 I packaged my SWF for iPad and exported to debug. I installed the .ipa on my iPad. When I tapped on the icon, nothing happened for a few minutes. Then, I got a UIAlertView asking for the address of my Flash debugger. Does anyone know what that address might be, or what to do with that UIAlertView? 回答1: On Adobe's website, I've found the answer: Debugging the application on the iPhone To debug the application on the iPhone: Compile the application with debug support: In Flash Professional CS5,

Flash: Closest point to MovieClip

北城以北 提交于 2019-12-21 05:47:07
问题 I need to constrain a point inside a DisplayObject given to me by the artist. I got it working but only for the occations where the cursor is still inside bounds . The limited object is called limited . function onSqMouseMove(event:MouseEvent) { if(bounds.hitTestPoint(event.stageX, event.stageY, true)) { limited.x = event.stageX; limited.y = event.stageY; } else { /* Find closest point in the Sprite */ } } limited.addEventListener(MouseEvent.MOUSE_DOWN, function(event:MouseEvent) { stage

Using devise “rememberable” without cookies

删除回忆录丶 提交于 2019-12-21 05:43:22
问题 I have a working Rails site that uses devise to manage users. For session management, I am using devise's rememberable strategy, which stores and retrieves encrypted authentication information from a user's cookie. I'm implementing a multi-photo upload widget that uses flash. Flash does not support sending cookies along with requests. This is a problem with multiple multi-upload flash+javascript libraries, so fixing this shortcoming is probably not feasible. So my question is: can I

Qemu flash boot up does not work

我怕爱的太早我们不能终老 提交于 2019-12-21 05:43:08
问题 I have a rather old (published in 2009) embedded ARM linux book that uses u-boot and qemu . The usage of qemu with the u-boot binary explained in the book is as follows: qemu-system-arm -M connex -pflash u-boot.bin -nographic It uses qemu 0.9.1, and mine is 2.1.0: qemu-system-arm --version QEMU emulator version 2.1.0, Copyright (c) 2003-2008 Fabrice Bellard When I executed the same command, however, I got these error messages. qemu-system-arm: failed to read the initial flash content qemu

How To Convert a SWF / DisplayObject to SVG data?

纵然是瞬间 提交于 2019-12-21 05:38:09
问题 Anything out there that can transform a Swf or DisplayObject into an SVG? Im trying to find a way to generate a large Sized JPG from a swf/vector shape. The current jpg export() from AS3 has limits to jpg size and resolution. so i figured i can just send SVG data to ImageMagick. thanks! artur 回答1: If it's a complex SWF, you might need to decompile it using a proper tool and then import the vector assets and convert/re save them as svg. If it's just shapes (no bitmaps/shapes), you can use the

Why does calling this function with more than 2 parameters in Actionscript 3 cause stack overflow?

做~自己de王妃 提交于 2019-12-21 05:30:13
问题 function testFunc(val1:int, val2:int, val3:int):int { var returnVal:int = 0; return returnVal; } var val:int = testFunc(1, 2, 3); causes locals: Main int int int * 4:dup VerifyError: Error #1023: Stack overflow occurred. 回答1: This page discusses a similar stack overflow issue. It seems adding a trace somewhere in the function will fix it. It's a known bug 回答2: Thank you for pointing this fact out. Anyways here is what I realize. A function in AS3 is defined as function apply(thisArg:*,

zend framework losing session

元气小坏坏 提交于 2019-12-21 05:19:21
问题 I am trying to implement a Flash uploader in my Zend framework application but I am having problems with the session. The Flash does not send any cookie headers and this is why the session is lost. I am trying to send the sessionId as a post param and in my bootstrap file I added a session_id($_POST['session_id]) but this doenst seem to work. I am using a MySQL table as session storage I tryed to debug the error and as far as I see, the session_id is set, and the storage returns the corect

how to Play .flv files in WPF?

六月ゝ 毕业季﹏ 提交于 2019-12-21 05:15:12
问题 How to Play .flv files in WPF? please anyone help me out. 回答1: // Create the interop host control. var host = new WindowsFormsHost(); // Create the ActiveX control. var axShockwaveFlash = new AxShockwaveFlash(); // Assign the ActiveX control as the host control's child. host.Child = axShockwaveFlash; // Add the interop host control to the Grid // control's collection of child controls. this.MainGrid.Children.Add(host); axShockwaveFlash.Location = new System.Drawing.Point(0, 0);

Export a vector shape created in flash to svg

北城余情 提交于 2019-12-21 05:05:26
问题 Is it possible to export a vector shape created in flash to an svg file for example? Or any other vector format? If it is possible - how can I do that? Are there any libraries or examples (or both)? 回答1: Although it's a little late, you may also want to check out flash2svg by David Belias - it's an MXP extension for Flash that can export Flash vectors to SVG natively. It's compatible with Flash CS4 & CS5, although no information is immediately available regarding compatibility with other