flash

Web developer moving to Winforms

我是研究僧i 提交于 2020-01-06 07:13:39
问题 I have been doing ASP.NET / C# development for several years now. I have recently been offered a project that will need to be a winforms application (I am assuming .net 2.0). Specs: Winforms applicaton Application will have "testing for understanding questions" Must support flash and camtasia files (these are "lessons") I have done winforms development before, although nothing that is this involved. As there is a potential need for this application to be generic enough to apply to multiple

how to catch an http post file from Flash to ASP.Net page?

余生颓废 提交于 2020-01-06 07:07:44
问题 I'm working on a sample i found on this site: http://kevinmusselman.com/blog/2009/02/access-webcam-with-flash/ it captures the webcam & saves the image then posts it to a page. but it seems that i couldn't catch the saved image, im kinda rusty on AS so I hope someone here could help me. i'm capturing the response in a aspx page and save the image in a file. here's my asp.net code: if (Request.Files.Count == 0) { Response.Write("ERROR: No files were uploaded"); return; } string pt = Path

my object doesn't get removed in array

☆樱花仙子☆ 提交于 2020-01-06 06:57:34
问题 the problem is when i shoot down my enemy he keeps re-spawning. probably something i overlooked. i can shoot it, it gets removed from stage but gets rerenderd because it still exist in my array. thanks private function enemySpawnen():void { for(var i:uint = 0; i < hoeveelheidEnemy;i++){ var enemyShip:SpaceShip = new SpaceShip(); Enemy[i] = enemyShip; } } private function renderEnemy(e:Event):void { for(var i:uint = 0; i < hoeveelheidEnemy;i++){ if(Enemy[i] != null){ viewContainer.addChild

Flash banner advert with html link

本小妞迷上赌 提交于 2020-01-06 06:57:08
问题 I'm working on a website which has advert banners which link to external pages. I've recently added the ability to have flash banners, but am stuck on how to make the banners link without editing the flash file. The idea is that clients wanting to advertise on the site send a flash advert which is then linked to their site through the CMS, however unless the client embeds the link into the flash file, or add a flashvar parameter which can then pull in the info from the database, the flash

Flash banner advert with html link

℡╲_俬逩灬. 提交于 2020-01-06 06:56:27
问题 I'm working on a website which has advert banners which link to external pages. I've recently added the ability to have flash banners, but am stuck on how to make the banners link without editing the flash file. The idea is that clients wanting to advertise on the site send a flash advert which is then linked to their site through the CMS, however unless the client embeds the link into the flash file, or add a flashvar parameter which can then pull in the info from the database, the flash

Points (PTS) in flash game

痴心易碎 提交于 2020-01-06 06:55:07
问题 A friend to me made a flash game for my website. The game makes a request to /game/p00ints.php with the points in $_POST['points']. But, a hacker can easy find out how to get more points I guess, so, how can my friend or I fix this security hole? Best regards, Erik Persson 回答1: The way to fix this is have all the point calculation on the server and have the client send raw input (e.g. hold left arrow key 1 second, enter key press, hold left mouse button 2 seconds, etc.). Even then, attackers

Points (PTS) in flash game

假如想象 提交于 2020-01-06 06:55:05
问题 A friend to me made a flash game for my website. The game makes a request to /game/p00ints.php with the points in $_POST['points']. But, a hacker can easy find out how to get more points I guess, so, how can my friend or I fix this security hole? Best regards, Erik Persson 回答1: The way to fix this is have all the point calculation on the server and have the client send raw input (e.g. hold left arrow key 1 second, enter key press, hold left mouse button 2 seconds, etc.). Even then, attackers

Actionscript 3 - load and library image on increment / counter

两盒软妹~` 提交于 2020-01-06 06:42:09
问题 I have a very simple flash movie. 24 png images in the Library The image properties are set to 'Export for Actionscript' and the class named 'image1', 'image2' etc Single frame in the timeline I need to dynamically load 'image1' on the stage at the start of the movie. I have been able to do this using BitmapData ojects. On clicking the image, I need to increment an internal image and replace the image on screen with image2. When I try to pass the library class as a variable it throws an error

AS4 Flash Importing Custom Classes

China☆狼群 提交于 2020-01-06 06:36:19
问题 I am trying to import classes to no avail. test.fla timeline 1: var main:Main = new Main(); main.as package{ import flash.display.MovieClip; public class Main extends MovieClip{ public function Main() { var _myClass:myClass;//this line will fail trace("Main"); } } } myClassFile.as package{ public class myClass { public function myClass() { trace("myClass"); } } } Error: 1046: Type was not found or was not a compile-time constant: myClass. //lets try this . . . main.as package{ import flash

The text around the center of the circle along the radius

☆樱花仙子☆ 提交于 2020-01-06 05:49:06
问题 Please help to solve the geometric issue. I'm creating multiple sectors of the wheel. Now I need to be placed in every sector the text oriented from the center of the circle to the edge. But somehow, everything goes awry. Here is the class of one sector: package comps { import flash.display.Shape; import flash.display.Sprite; import flash.filters.GlowFilter; import flash.geom.Matrix; import flash.geom.Point; import flash.geom.Vector3D; import flash.net.URLRequest; import flash.text