Все вопросы: [actionscript]

755 вопросов

1
голосов
1ответов
5322 просмотров

Flex RemoteObject timeouts?

I've been tinkering around with Flex RemoteObjects, and I've found that they aren't very well behaved with respect to timing out. First, I can't figure out how to set a timeout on "connect". I know I can set requstTimeout, which will correctly timeout after an initial handshake… But if the serve...

3
голосов
1ответов
1189 просмотров

Create and build pure "ActionScript project" with Flex SDK under Linux

Before all: excuse my english :) Ok, here we go - im developing mostly java things, so my IDE - Intellij IDEA. For a few last weeks im playing with Flex and AS3. So, im using Flex SDK 3 with IDEA plugin. Everything was just fine, but now i want to create pure actionscript project without any fl...

0
голосов
1ответов
251 просмотров

Is there a program that uses static analysis to look for bugs in actionscript code?

Is thre any program which uses static analysis to look for bugs in actionscript code?

1
голосов
2ответов
1108 просмотров

Can Flex wrap Java applets?

I'm just learning about Flex and I'm loving it. Unfortunatly I still have to make the decision on which RIA technology to use and its dependent on, among other things, from the following case: How can we wrap a java applet around a Flex application? More specifically, I would like to wrap/integr...

6
голосов
6ответов
3693 просмотров

Disadvantages of a Flex project vs an Actionscript project?

I've recently started making a game in FlexBuilder. The game is currently a Flex project. Is there any downside to using Flex as opposed to just Actionscript? A friend of a friend told me that Flex is slower than an Actionscript project. I've been unable to validate this on the internet; is the...

1
голосов
2ответов
2103 просмотров

Flex: Long polling (ie, server push) without BlazeDS?

Apart from using BlazeDS, are there any pre-existing libraries that implement long polling (or server push) in Flex? Note: I've read I like to implement Flex to Server comet / long polling for games, but he's only asking if it's possible to implement… Not if implementations exist.

4
голосов
1ответов
7415 просмотров

Horizontal align components inside HBox from Action Script

Is there any way to set horizontalAlign from Action Script not from mxml?

1
голосов
1ответов
153 просмотров

Fail-safe way of round-tripping Flash swf files to text-representation and back

I'm looking for a fail-safe way to round-trip between a Flash swf file and a text representation and back again. One strict requirement is that the resulting round-tripped Flash swf file is exactly functionally equivalent to the original Flash swf file as long as the text representation is left ...

0
голосов
3ответов
3623 просмотров

start motion on click?

I'm having a problem with a small animation for a form I'm creating in flash. Basically I want the motion to happen when I click it, and then stop where its told to. It plays and stops just fine, however I cannot figure out how to make it wait for the click to play. This is the current code I hav...

0
голосов
1ответов
1249 просмотров

How to deploy SWF file?

I have a SWF file I created using Adobe Flex and I cannot seem to properly embed it inside an HTML page. If I take another SWF file and use it instead, it works all the time. My SWF file is pretty big (1 MB) while the other one is tiny (25 KB). However, I can wait 5-10 minutes and the server c...

1
голосов
2ответов
1686 просмотров

Problem using flex to read XML in e4x format from SOAP webservice

UPDATE: The problem was not to do with namespaces or flex at all. My webservice was returning the wrapped xml. I was blaming the language I had least experience with before questioning the java... I have a basic soap webservice that I am having trouble reading the result from in flex. ...

1
голосов
1ответов
931 просмотров

achieve effect similar to jibjab cards

I have a good understanding of everything up until the actual embedding in the video. Anyone know the best way of doing this? http://sendables.jibjab.com/ecards

0
голосов
1ответов
543 просмотров

movie does not start in full screen in flash video player

We have this legacy code of a flash video player that functions well enough but still has some loose ends I need to tighten up. It can do the basic "switch to full screen and back to normal size" stunts, however with one exception. On the first fresh load of the app, if I switch to full screen ...

0
голосов
2ответов
1972 просмотров

column resize in flex 3

look at this code (couldn't paste it here it doesn't fit)it represent my real app structure: mxml source code EDIT: the relevant part of the code: <mx:VBox width="100%" height="100%"> <mx:HBox width="100%" horizontalScrollPolicy="off" height="100%"> <mx:VBox ...

0
голосов
1ответов
3102 просмотров

understanding rtmp buffer size

When streaming an flv to flash, I am not sure I understand the feedback from the NetStream buffer events listed here. This article from Adobe suggests that the files are never cached to disk: "When RTMP-based video streams into the Flash Player, the audio and video data is only stored in...

0
голосов
2ответов
356 просмотров

Converting MovieClips in an fla to bmp

I have a game that I made in flash, and now I want to take all the movieclips I have and export the images into something that I can use outside of flash. What would be the easiest way to do this? I would rather not use screenshots, plus, I need to keep the transparency.

0
голосов
1ответов
713 просмотров

How to achieve volume slider effect like on vimeo in flash?

The video player (aka moogaloop) on vimeo.com has a neat visual effect for the audio volume slider. There are a number of sound bars that rise and fall when the mouse hovers over them. The volume level is shown by a blue filled area under the bars with pixel precision. This puzzles me, how can...

1
голосов
2ответов
356 просмотров

Context menu for loaded SWF

I have a Flex app with a viewport that loads a series of other swfs. I would like to place a context menu over top of the SWFs when the user right-clicks. To that end, I have set up a fairly standard context menu where each item has a ContextMenuEvent.MENU_ITEM_SELECT event handler. One proble...

5
голосов
4ответов
2987 просмотров

Any Resources for Pure Actionscript 3 Games?

What resources (books or website/tutorials) are available, that cover game development using pure Actionscript 3 code? By pure, I mean not using Flash CS4 and its timeline, and not using Flex MXML components. Everything done using only Actionscript code. In another question, I asked about using ...

0
голосов
4ответов
705 просмотров

SWF file not reliably loading from server

I have created an application using Adobe Flex. I took all the files from the 'bin-release' folder and put it on the server. Then when someone connected to the server through http it is forwarded to the "index.htm". The "index.htm" page is the HTML page created automagically by Adobe Flex duri...

5
голосов
7ответов
35386 просмотров

How to find an ArrayCollection item with a specific property value?

I have some XML structures like this: var struct:XML = <mh> <mi id="1" stuff="whatever"/> <mi id="2" stuff="whatever"/> <mi id="3" stuff="whatever"/> </mh>; I know I can access a subnode by "id", in this way: var stuff:Object = struct.(hasOwnProperty('@id')...

6
голосов
4ответов
10298 просмотров

RegEx to match comma separated numbers with optional decimal part

I've a regex that matches comma separated numbers with an optional two digit decimal part in a given multiline text. /(?<=\s|^)\d{1,3}(,\d{3})*(\.\d{2})?(?=\s|$)/m It matches strings like 1, 12, 12.34, 12,345.67 etc successfully. How can I modify it to match a number with only the decimal p...

0
голосов
4ответов
510 просмотров

Custom (simple) AS3 Class code not executing entirely

This problem is probably very simple to solve but it is not clear to me. It may simply be that I am doing something incorrectly. I have studied OOP and AS3 for quite a few hours so I am familiar with the concepts but not the flow. This is a project that I put together in order to reinforce what I...

2
голосов
4ответов
680 просмотров

Do Events break Interfaces?

Note: in this question, I am talking about formal Interfaces (e.g. public interface IButton {...} ). I'm an Actionscript developer, but I suspect my question will resonate in many languages that allow both formal Interfaces and Events. I love Interfaces. I love the separation between interfac...

1
голосов
2ответов
1367 просмотров

Flash and Flex workflow using a SWC

Ill try to explain the best i can :) I want to use the strengths of both Flex and Flash in an upcoming project. Doing the graphical related stuff in Flash and all the coding in Flex. What i want to do is create a layout in flash making classes as you would normally by creating symbols and expor...

0
голосов
1ответов
2101 просмотров

get the index of first element to mach a condition in an XMLListCollection Object

I have an XMLListCollection object that contains items with an ID property. I want to find one particular item by id and then get it's index in the collection. This is done to be able to tell the comboBox (whose dataProvider is the XMLListCollection) the index of the item to display.

0
голосов
1ответов
121 просмотров

Flash button/symbol

I've created a button (symbol), and added a OVER state, which covers a bigger boundary than the UP state. However when I add the symbol/button to my stage, the roll over activates on any area covered by the over state, where I only really need it covering the UP state boundary. Does anyone know...

1
голосов
6ответов
870 просмотров

Flex: Binding to an MXML-esque "binding string" in action script?

Is it possible to specify MXML-esque "binding strings" in ActionScript? For example, I want to be able to do something like: MXMLBinding(this, "first_item", this, "{myArrayCollection.getItemAt(0)"); MXMLBinding(this, ["nameLbl", "text"], this, "Name: {somePerson.first} {...

0
голосов
2ответов
1813 просмотров

Main Flash swf won't work once uploaded to server

I have a 1 frame main SWF. In the first frame I include codeAS2.as like so: #include "codeAS2.as" (sorry, might sound primitive) When I test the movie in Flash CS4, everything works fine, it loads all the data from the XML file menu.xml which is in the same folder. Using the Simulate Download f...

0
голосов
3ответов
708 просмотров

Flash loads xml differently on Windows and Mac

I am loading an xml file using AS2.0. On Mac, all the elements load completely, but as soon as I run it on Windows, only the first element of type item loads. When I run it on Mac, the elements are loaded in and all item's are separate buttons. When I run it on Windows, only one button appears an...