flash-cs5

Photoshop CS5 not recognising activeDocument

假装没事ソ 提交于 2019-12-02 05:57:12
问题 I wrote a quite big script for Photoshop CS5.1 on my 64bit Vista machine. Now when I run the very same script on my new 64bit Windows 7 machine, Adobe ExtendScript Tool complains about activeDocument (no such element) in this simple script: #target photoshop var pDoc = app.activeDocument; alert("Done!"); I have tried both and without #target and choosing the target in the ExtendedScript Tool. Is there something I have missed, or do I need to install something more. I only installed the 64bit

Which Flash/Actionscript IDE to use — if one should be used at all?

心不动则不痛 提交于 2019-12-01 23:38:49
I've always used the built-in IDE, but I've been gone from Flash since ActionScript 2.0 in Flash MX... I'm coming back to Flash, and I notice there's a number of IDE's (some of which cost more than the Flash upgrade). So... question for Flash/Actionscript 3 developers -- which IDE to use, if at all? Hands down, definitely use an IDE for ActionScript. We use (and I recommend) Flash Builder 4. ActionScript 2 In older versions of ActionScript (like Flash MX that you're familiar with), an IDE was not as important. You could get away with most coding in the Flash Development Environment. In those

Is Flash or Flex better to build a user interactive ordering “wizard” website?

余生颓废 提交于 2019-12-01 19:01:49
i want to see if these "build a . . ." flash sites (to support a user customized ordering process) are done using regular flash or Flex? Site 1 Site 2 Site 3 Site 4 All of these "walk a user" through a customized ordering process and capture all of their selection and showing them all of their customizations (and ultimately bring them to a final ordering screen). What's going on under the hood on these sites and are built in flash or flex? Is the person creating a separate image for every combination that you could possibly select or is something else happening here? I still can't figure out

Flash AS3 Getting Security sandbox violation when trying fetch an external swf

本秂侑毒 提交于 2019-12-01 18:01:57
Hii, I'm tring to load swf file to my flash application from a different server. When i try to load it on flash IDE (crl+enter) everything is working fine, but when i run the swf as an independent swf file or by debugging it, i'm getting this error: SecurityError: Error #2121: Security sandbox violation: LoaderInfo.content: file:///C|/Users/something/Desktop/blablabla/myplayer.swf cannot access http://www.somedomain.com/blablabla/lalalala/abc.swf. This may be worked around by calling Security.allowDomain. at flash.display::LoaderInfo/get content() at wallplayer_fla::MainTimeline/swfLoaded()

AS3 Setting width and height of a Sprite Container

倾然丶 夕夏残阳落幕 提交于 2019-12-01 15:57:23
Ok, my mind is boggling over this issue im having. I know this might seem like such an easy issue and I can't understand why I cant figure it out but none the less I can't and I've just about given up. Here's the issue: I have a sprite container which is supposed to hold a bunch of thumbnails to videos. I am able to populate the container with all the videos and the whole works but obviously if I add a bunch of videos its going to exceed the size of the flash document so I need to add a UIScrollBar (which I did) now the scrollbars target is set to the container but isnt allowing me to scroll

Hide all children of CS5 object in AS3 code

匆匆过客 提交于 2019-12-01 12:23:57
问题 I have MovieClip, created with CS5. Is there a way to hide (set visible = false) all it's children (objects which lie on movie clip) within AS3 code? 回答1: for (var i:int = clip.numChildren - 1; i >= 0; i--) { clip.getChildAt(i).visible = false; } 来源: https://stackoverflow.com/questions/4995421/hide-all-children-of-cs5-object-in-as3-code

Converting SWFs to EXEs

孤街浪徒 提交于 2019-12-01 12:05:42
I'm building a program in Actionscript 3 and would like to convert the .SWF file to an EXE without using Flash Pro CS5. I found http://swf-to-exe.com/ and it works well, but I'm wondering if there is another way to do this. In the long run we'll need Mac executables, too, and if I can avoid putting it all in Flash I'd like to do that. Adobe AIR is the standard solution for packaging SWF applications natively. The AIR SDK is freely available and includes the mxmlc compiler which will compile .as to .swf, and the adt packager will package your SWF and assets for Android, iOS, Windows, and OSX.

Converting SWFs to EXEs

一个人想着一个人 提交于 2019-12-01 10:55:45
问题 I'm building a program in Actionscript 3 and would like to convert the .SWF file to an EXE without using Flash Pro CS5. I found http://swf-to-exe.com/ and it works well, but I'm wondering if there is another way to do this. In the long run we'll need Mac executables, too, and if I can avoid putting it all in Flash I'd like to do that. 回答1: Adobe AIR is the standard solution for packaging SWF applications natively. The AIR SDK is freely available and includes the mxmlc compiler which will

MovieClip disappear after changing width and height in AS3

匆匆过客 提交于 2019-12-01 08:51:46
问题 I am trying to load an image from an url in as3, as follows: var myImageLoader:Loader = new Loader(); private var mcImage: MovieClip = new MovieClip(); var myImageLocation:URLRequest = new URLRequest("http://example.com/xyz.jpg"); myImageLoader.load(myImageLocation); mcImage.addChild(myImageLoader); mcImage.x = 100; mcImage.y = 100; //mcImage.width = 50; //mcImage.height = 50; addChild(mcImage); The code above works fine, but since my desire image has a different size comparing to the