I'm currently developing the backend of a flex application using Zend_Amf_Server and the decision has been made to to move a lot of the textual assets from the db and into some xml config files. The application is being rolled out to a 10k+ intranet user base, so in my eyes, the less db interaction going on the better, however one of the...
Hi there
I am busy updating a Flash application from a previous developer, but it was written for Windows. I am busy developing on Mac and there is this segment of code:
_global.localSO = SharedObject.getLocal("personalCookie", "/");
_global.localSO.data.name = textFileContent;
_global.localSO.flush();
fscommand("exec", "fscommand/save...
Ok, i have asked something similar before, but never go to the solution i need. So am starting a new stack to not confuse my issues, and to make a little clearer.
What i need to do
I have multiple flash objects on a html page, they are all identical, and all of them need to be sync'd with the correct time. In its current state, each on...
In Flash/ActionScript2, is it possible to capture the mousemove, buttonup and down event but only within one MovieClip?
At present, i can capture mousemove etc. via a listener, but only for the entire stage...
I need to draw a rectangle for selecten, and then press a save button. The problem is i save the coordinates on mousedown and up...
Hi,
I'm doing a AS3 project in Eclipse and trace alot of values.
I though it would be nice to have a toString() function in every class, at the bottom of each class as the last function, but i dont want to do this by hand for 500+ files.
Is there a quick and good way of doing this automated?
How would you go about this?
Thanks in adv...
What I have:
A swf exports a function via ExternalInterface
Javascript creates new embed object and adds it to the document
Calling flash functions works fine in other browsers
Calling flash functions will fail in IE 8
Example of exporting functions in swf:
flash.external.ExternalInterface.addCallback("isActive", ...
Example of c...
Hi,
I need to use DataProvider class and i cannot find the package that contains it. In all examples I saw they use fl.data, but I'm using flex builder sdk 3.4 beta and it doesn't have such a package. Any clue?
Thanks,
Nava
...
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
...
How would one go about adding fl.controls.* to AS3 projects developed under Linux?
Apparently it is not part of Flex 3SDK for Linux (which is what I am using to compile) or maybe it is and I am not importing it correctly..I downloaded this SDK last March, maybe time for update?
Looking at Adobe Official Docs for fl.controls does not me...
Background:
I have an inherited web application that uses Flash AS2 and PHP 5.x on IIS (Windows 2008 R2) with MySQL. There is a setting for a timeout that does not work - no code was ever written but the client has the radio button to turn it on and off. The setting is saved in the MySQL database.
Requirement:
The timeout should give ...
Question: I need to load a swf file from inside my flash.
Now, normally I would use loadClip, but I need to pass a parameter (filename) to this swf.
How can I pass a parameter there?
...
I'm building a video player here: http://leongaban.com/stackoverflow/RTMP/
It's streaming RTMP, and I'm trying to get my video to seek correctly if the user clicks on the groove bar (gray bar under the green progress bar) Currently it does not seek and gives me a NaN on my duration variable and an error on my progress bar width variable...
My animation is 100 frames total. I want to set a range of frames. Is is there a command to play only frames 50 to 75? I want begin-and-end frame to be in an object I can call on later. There must be a "best" way of doing this!
100 frame total
<==play 50 to 75==>
SAMPLE
These commands work, but I would end up adding labels and st...
How do I resolve the error of duplicate variable definitions? There has to be
separate namespaces and use for each definition, but I'm just not seeing it.
CODE
I didn't write this, but I've been trying to unpackage it and change the classes and seem to have broken it. I want to use this for time-scaling the playback of my movies.There'...
Since the Flash Player (or, more exactly, the URLLoader class) will not let you read HTTP response headers or cookies set by the server, and if you get hold of a session cookie through some workaround like reaching out to the browser and run JS, you can't send it to the server, because, among others, the Cookie header will be blocked.
N...
There are a lot of flash effects that can be achieved with jQuery.So when do you really need to use Flash instead of javascript?
...
I just started to use Zend_Amf and thus far I'm really happy with it for sending objects from Flash to the server.
Sending my objects from the server back to my Flash environment is causing me a slight headache. My PHP objects mostly contain private properties that have a custom getter and setter method.
How do I make Zend_Amf aware of t...
I've tried a few ways but nothing seems to work. What I'd like to do is have my users post video's with the given embed code (example):
<object id="cnbcplayer" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="380" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">...
I've written some fancy Flex app, which doesn't really require any server side integration.
Now if someone took that SWF and put it in their server then it will very well run.
What code can recognize that the SWF is not under my domain and stop from execution during startup? I don't mind making some server side calls just to do a che...
I want to move all objects in an array producing a stadium wave effect, how do i do that?
I want to move the objects based on their y-value on the stage... all my squares are of 50x50 in size. I want to move them up then move them down.
Below is my code, please give me advice. Thanks!
import fl.transitions.Tween;
import fl.transitions....