flash

adobe flash cs4 as3: get current directory of a running project?

£可爱£侵袭症+ 提交于 2019-12-24 08:26:08
问题 is there a way to get the current directory of the project? i'm trying to load images using dynamic paths and it seems that the link is broken. but seeing the current directory of the running project i'll be able to make sure that my picture links are valid. thanks 回答1: Either using AIR on your end, or a server-side script on the internets. There are security measures put in flash to prevent anyone from doing damage to your computer from flash, so you may not be able to do that. But if you're

Mannually connecting Flash Player (debug) to Flex/Flash Builder

眉间皱痕 提交于 2019-12-24 08:21:27
问题 Is it at all possible to connect the Flash Player debug version to the debugger in Flex Builder using source code? I'm running an app which has no right click menu, and I therefore can't right click and select connect to debugger. 回答1: I don't know if you can connect it from code, by this maybe helps you: If you want to run the Flex Builder with the Flash Player Debug you have first to get the Flash Player Debug then copy the Flash Player Debug into [Flex Install Directory]\Player\win , paste

Invalid Argument IE 8 jQuery

荒凉一梦 提交于 2019-12-24 08:09:37
问题 I have this particular script that runs so that the flash elements don't show up on top of my slide out navigation. This redraws that flash element with wmode as opaque and so it shows up under the navigation. Works perfectly with Chrome and FireFox but not with IE. In IE I get an Invalid Argument in jquery.min.js code 0 Line 103 char 460. Can anyone help me as to why? If I comment out the second line of code inside the function then there is no error, but then doesn't work in FireFox. Any

How does Flash and socket connections work on the web?

*爱你&永不变心* 提交于 2019-12-24 08:06:59
问题 I am trying to debug a socket connection issue between flash in a web browser and flash in a client type program. The connection is closing properly in the web, so I would like to understand how the web side of things work. Right now I can load up a remote flash file in a web browser and that triggers a connection ESTABLISHED stat when viewing with netstats -fn. When I close the dialog which runs some javascript to remove the flash from the dom, the connection stats goes to TIME_WAIT. Does

How does Flash and socket connections work on the web?

主宰稳场 提交于 2019-12-24 08:06:08
问题 I am trying to debug a socket connection issue between flash in a web browser and flash in a client type program. The connection is closing properly in the web, so I would like to understand how the web side of things work. Right now I can load up a remote flash file in a web browser and that triggers a connection ESTABLISHED stat when viewing with netstats -fn. When I close the dialog which runs some javascript to remove the flash from the dom, the connection stats goes to TIME_WAIT. Does

Can anyone tell me how to create an stand alone SWF launcher that loads the SWF

半城伤御伤魂 提交于 2019-12-24 07:46:23
问题 As Flash is going to be dead in few days. I want to know how I can create an .EXE file which loads the swf file from the server and plays in that application. Just like this: http://prntscr.com/n91uta 回答1: Option 1: Use Web Browser component (a .NET Control). See page from manual. A good tutorial #1. this.webBrowser1.Navigate("https://yoursite.com/YourFlashFile.swf"); You can set width and height to be 100% of the window size. Option 2: Use Flash component (a COM object). A good tutorial #2.

Can I use JavaScript to do the same what Adobe Flash does?

萝らか妹 提交于 2019-12-24 07:45:54
问题 Is JavaScript capable of doing the same what Flash does? And if it is the case, can it be a good idea to switch from Adobe Flash to JavaScript? 回答1: Hell you can use javascript to "do" flash!! Check this out! Smokescreen On a serious note, flash has its own advantages. Like e.g. games and some very specialized apps like audio video editing etc. Maybe javascript and HTML5 is not there yet, but its getting close! 回答2: No, JavaScript cannot do what Flash does. Maybe HTML5 w/ canvas,JavaScript w/

Multi-pages Flash application

走远了吗. 提交于 2019-12-24 07:37:32
问题 I am very new to Flash and I need help to get started with building multi-pages Flash application. I managed to open another swf file (called Page1) from within the main swf by calling this function private function LoadExternalSwf(): void { var loader:Loader = new Loader(); var urlReq:URLRequest = new URLRequest("page1.swf"); loader.load(urlReq); addChild(loader); } How do you add a sort of "Back" button to Page1 so that it will close itself (so that we are back to the main screen)? If Page1

how to let textfield's width auto fit the text?

放肆的年华 提交于 2019-12-24 07:35:16
问题 recently i was thinking making a component which like html's table tag. html table can auto fit the cell's width with the text or content in it.and the certain column's width is decided by the widest cell on that column. <table> <tr> <td>this could be very long.</td> </tr> <tr> <td>short</td> </tr> </table> but in as3 this is a problem,i don't know the string's actual size unless i set it to a textfield. i don't think it would be a good strategy to use the actual textfield instance try and

Displaying movieclips from an array in sequential order

不打扰是莪最后的温柔 提交于 2019-12-24 07:31:16
问题 Here is what I am trying to do: Establish an array of movie clips in the library Randomize the order within the array On enter frame, display the first movie clip in the randomized array When a "next" button is clicked, the existing clip with unload and the next move clip in the array order will load Once the last movie clip in the array has been displayed and the "next" button has been clicked, the first movie clip in the array will load. this will repeat over and over if the user keeps