ActionScript 2.0 :: MC Property Value Fails To Update
Sep 28, 2004
I'm trying to output a table like structure where i attachMovie() 5 MC's in a row then change the _y and set the _x back to zero for a new row, and print another five. and so on, and so on.
The problem is that after setting the _x to zero the next clip i attach on the 2nd row goes on from it's old _x and _y position. I do the following in a loop[code]...
'm trying to output a table like structure where i attachMovie() 5 MC's in a row then change the _y and set the _x back to zero for a new row, and print another five. and so on, and so on.The problem is that after setting the _x to zero the next clip i attach on the 2nd row goes on from it's old _x and _y position. I do the following in a loop:
Just updated from FMS 3.5.2 to 3.5.4. After this I'm not able to login onto the server.I've tired to check the fms.ini file without any luck. I've tried to login using both localhost and domain/url. I've tried to use a backup of the conf-folder but all responses from the installation is: "login attemt to the server below failed".It worked PERFECT before the update. There has been no changes in firewall etc. during updateinstallation.
I have the CS4 Creative Suite, I just got done checking for updates msg and downloaded all.
Dreamweaver, Acrobat and all others were installed but for some reason Flash is still at 10.0 I downloaded manually as well and still I'm on build 10.0.0.544
I'm have Flash CS5 trial on windows 7, I want to install the updates but I get "Install Failed" without any other information.First I tried to install 11.02 which failed, so I tried to install 11.01 which finished with message "Done with errors"
I have a dynamic TextField in one of my movie clilps called artistBox.bottomFrameForScrollPanel.artistsFound_t xt and when I trace out the artistsFound_txt.text, it shows the current value that I set which is "1 artists found". I ran the following code below to trace out the contents[CODE]...
Would that be as simple as updating a class's static property value? Or would you have to regenerate all the instances to receive and utilize the new value (assuming some instances had already been created)?
well, I have a combobox which I have bind his selectedItem property to a value object object, like this
<fx:Binding source="styles_cb.selectedItem.toString()" destination="_uniform.style"/> <fx:Declarations> <fx:XML id="config_xml" xmlns="" source="config.xml" /> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations>
the value object is a custom class with some setters and getters, and I want to set a property based of the value of the selectedItem of the combo, so inside the value object I have something like this
[Bindable] public function set style(value:String):void { _style = value; trace(value); }
my problem is that each time I change the combobox selection which in fact change the style property of the value object it does it 3 times, if I trace the value of the setter it actually do the trace 3 times, why?? how can I avoid this? I'm doing something wrong? or there is a better way to do it,
I am deploying Updates via SCUP and SCCM to hundreds of Computers. Fortunately Adobe provides an SCCM Update Catalog for both Adobe Flash ActiveX and Adobe Flash Plugin. But now my Problem: After publishing the Update via SCCM, the client is not supposed to be interfered with the Update Progress (which is working) I figured the Updater works like this: First SCCM checks if a Update needs to be deployed, if this is the case, The Flash Updater begins. First the old Flash Version is beeing uninstalled. But now: if the Client has a Browser Window (IE, or Firefox) open, the Updater is not able to install the new Flash Version and quits with an Error. This leaves the Client PC without any Flash (because its being uninstalled before) How can I prevent Flash being uninstalled due to the Update progress not working while a Browser window is open?
I've got a movieclip, which has got a dynamic text element.The movieclip uses a package for its codeThe package if obviously derived from the MovieClip classI've got a timer, that updates the dynamic text field every second.When debugging the code, I see that the timer works well. Its updates the value of the dynamic text field.
Setting the text property of a flex DateField makes the selectedDate property of that DateField go to null.I need to set the text property so that I can use a particular format (DD-MMM-YYYY).
Lately i discovered MATE (for Flex development) and was wondering: how do i bind a property in a view (actually a navigatorcontent component) to another property in a class so that they stay in synchronization (meaning that whenever the property in the class changes the property in the view also changes).
So if we have a view called Target.mxml and a property targertProp how do we bind it to the class called SourceClass with property SourceProp?
What's the difference between selectedChild property and selectedIndex property? I read the documentation, both seems to be setting currect active accordion. selectedChild can be only used in actionscript, but other than this, what's the difference?
In my application, when I have got an modal window with tab navigation enabled for all the fields. When I am working with chrome, the navigation works fine but when i try it in IE, when i press on tab from the last field, instead of going to the first field, the control goes to the address bar. Does anyone know how to rectify this issue? Is it possible to set next-navigable-item on items?
Can we put [Bindable] on functions/methods? I know that bindable is used to change the value of the source property to destination property. But not sure if we can use that for methods. why we cannot put/ if we can then what will be the outcome?
I have a class Inhabitant with a property skin which is of type DisplayObject.
Within Inhabitant I need to access the x and y properties of skin using this method:
this["someProperty"]; Rather than: this.someProperty;
This is fine with properties defined within Inhabitant but I'm not sure how I could do this for a property of skin. This obviously doesn't work but it might give you an idea of what I'm trying to do:
this["skin.x"];
The reason behind requiring this notation is that I have a function which I can parse a String though that will represent a property:
public function addTokenable(property:String):void { if(!isTokenable(property)) _tokenables[property] = true; }
And then a related getter that will return a representation of this instance of Inhabitant as a String:
public function get token():String { _token = "class:" + getQualifiedClassName(this).split("::").join(".");
I have a large FLA (about 13 MB) which used to compile fine.
Recently, when I try to publish it, the AS 3.0 files are not getting compiled (Generated size report says 10 bytes for AS3 code) and the swf just keeps blinking (due to the unavailability of the class code for the components). When I tweak around a bit with the class path (and finally restoring it to where it was), sometimes it works
Is there any reason, why the compiler would silently fail. Does flash have any cyclic dependency problems (like in old include statements in C). I somehow see this as a compiler crash. I know there might something wrong with my code but it doesnt show any error.
Tried to upgrade to FMS 3.5.2 on CentOS 5. No dice. Listener doesn't start. No other (as far as I know) services running on :1935. Admin server works, but not Streaming Server.
I use Flash primarily for animation. The project I'm working on currently is a hefty 1920 X 1080 square pixel file and currently weighs in at 187mb because of all the sounds and jpg images.It's 2 minutes long.
The problem occuring is new to me as I've never worked with projects this long or in this resolution. Or with this much data (sound effects, jpgs, etc).
The problem is this: I'm trying to import a high resolution photograph (3500x2500) onto the stage or even just in the library. I'm using the photos to get an idea on where the final animation will be placed (photo backgrounds, flash animation, composited in After Effects, think Roger Rabbit).
I''m currently working on a school project, but I'm having issues with getting the flash loaded with loadMovie. I've read on several forums how to use the command, If I use the command, it loads the flash file. But all variables are undefined and the movieclip in which I loaded the swf file also remains empty.
I've tested the situation with a random jpg and this works.
I'm getting kinda desperate, since I've first tried to use scenes without succes..
I've bought the new Adobe Web Premium CS5 and I have big problems with the Flash Professional CS5.
First time the application started correctly, but didn't start next time. I always had to remove all application settings in "Documents and Settings/user/Local Settings/Application Data/Flash CS5", what is already not very good.
I have a .swf containing a FLVPlayback components that includes a FLV movie.I'm loading this .swf in a main flash project using a Loader(). When I try to unload the .swf using myLoader. unloadAndStop() the FLV inside the FLVPlayback still playing (I can't see it, but I'm still listening his audio).How could I unload nicely a .swf that inside it has a FLVPlayback component?
Here is the thing: I use a URLLoader to load a PHP script, and receive an answer. Ok, fine, but the problem is: sometimes it does'nt work...Yeah, my big problem is the SOMETIMES. I can't figure out why would it only be sometimes, it's killing me. Anyway, it doesn't generate any error, it just stop in the middle of the scriptHere is some code (in french mostly,):
var enveloppe:URLLoader = new URLLoader; function envoyerCode(event){ //Sending PHP Script to database var variablesLocales:URLVariables = new URLVariables(); var scriptPromo:URLRequest = new
I have some proLoader code that works on one FLA file and I am trying to reuse the code on another file to pull in the exact same .swf in the same location and I am getting this error.. What do you reckon is going on?
Is there a way to clear a textfield when all else fails? This is from a very long document I can't post. The textfield is on stage and worked fine until this call. There's no error, I just can change text
public function cx(e:MouseEvent):void{ //VARIABLE THAT EFFECT THESE TEXTFIELDS V1 = 0; V2 = 0;
I am having an issue with a playbook app I am working on. This is the first one i've done using Flex Burrito Hero, and on the simulator I noticed that the app fails to minimize gracefully (when multi-tasking etc). Are there any resources for handling minimization or anything that could help guide me to debug whats going on with that?
Update: I've also since uninstalled and reinstalled Flash Builder (and therefore, the AIR SDK), and it still doesn't work. I think this adds weight to the port conflict, but still leaves me unsure of where / how to proceed
Further update Compiling exactly the same codebase to a AIR installer, installing, and running the application works fine. (Ie., a production release). However, the codebase fails to launch with adl. This pretty much confirms the issue as a local machine config problem somewhere with adl, and not an issue with the codebase.
I have a flash file that loads 3 straight XML files, one after other.And in every single code I have the sucess condition, like this:
ActionScript Code: if (success){ doRightStuff();[code].........
Later, I added a function and an Interval to do the verifying:
ActionScript Code: goBack = function () { gotoAndPlay("untilItWork1");[code]..............
Didn't work also. Las try was a completely stupid addition: a variable counter that increased it's value 100 times (doing the XML calling and loading everytime), to check if the problem was some delay issue. 5 minutes later, it didn't work also.The second time I load the f**king page, it works like a charm.