Hi, Im working on a Dynamic Flash file loading content from a File, there are some dynamic textboxes that need to set their position depending on how many lines the dynamic textbox on top of it had, Im setting _x and _y with no problems but the text on it goes white, it doesnt lose the size or font but it loses the color.
looks like th...
I am working on a short animated story, which has a scrubbable timeline and chapter headings. I used TimelineMax for sequencing it. For the most part, it is working fine. I am seeing some strange behavior that pop up, though: sprites disappear, functions stop responding to user input, seams of the sprites become transparent -- all small ...
Hi Stackers! My question today is dealing with a dynamically generated button with a textField.
I have the button copy in XML and I need to add a buffer of 10 pixels to either side of the textField. I tried to CENTER my textFormat, but then I could not see my text because the button is for some strange reason 545.45 instead of 88 like i...
I want users to be able to upload audio files to my server (say, over HTTP.. mechanism doesn't matter much), and then I'd like to assemble those files into a playlist and stream them out over a live RTMP stream to a Flash widget.
The catch is: I'd like to begin streaming the audio files before they completely finish uploading. For examp...
For my current project I am working on a home page that has a series of tabs above a content box that each execute an ajax script to load new content into the content box. However, some of these pages contain a flash object called with SWFObject and when the ajax script calls the page, the SWFObject javascript is not executed and I am l...
Has anyone got any alternatives to what Colin Moock has coded to GET VISIBLE WIDTH/HEIGHT OF A DISPLAY OBJECT in ActionScript 3? That esp. in perspective of DisplayObjects that have 3D transforms applied and visible dimensions of which you need to consider for a calculation.
Any leads would be appreciated.
...
The company I work for has their own Flash based video player and the question I get from our execs is "Can we tell what website our player is embedded on?"
At first, I hypothesized I could use Apache mod_rewrite, extract the HTTP_REFFER, and append it to the end of the requested URL. So as the browser gets http://.../viewer.swf, I coul...
I'm having a hell of a time trying to get a custom mask to work on a project I'm creating.
The mask I'm trying to use is applied as a pixel mask on a layer in the photoshop doc I'm working off, but I can't seem to figure out the proper way to get that layer mask imported into flash, to then compile into my .swc and be called from action...
I can show a swf into flash simply with this code
var request:URLRequest = new URLRequest("myswf.swf");
var loader:Loader = new Loader()
loader.load(request);
addChild(loader);
But with import > import to stage there is no any swf when ctrl+enter.
There is only 5-6 empty frame in timeline. How can I solve this problem??
Another quest...
Is there a way to get a list of the exposed functions from a Flash object? For example, you could get a list of all methods in an object by executing:
for (var i in object) {
if (typeof object[i] == "function") {
console.log(i);
}
}
The only issue is that this won't expose any methods registered through the ExternalInterfaces...
I have a parent SWF (Parent) that handles user navigation between multiple children SWFs (Child_1, Child_2, Child_3).
How do I add event listeners to the navigation buttons on the children SWFs so that the user can move laterally between Child_1, Child_2 and Child_3?
I can think of two options but can't get either one to work:
1) The...
Sounds fun right?
Here's my as2 code. Which I think is the only thing worth looking at because I'm pretty sure that's where my error is. Right now, this code draws no errors, but nothing is shown on screen.
I have a New Video instant on stage labeled as videoPlayer
AS2:
import mx.transitions.Tween;
import mx.transitions.easing.*;
va...
How To Embed SWF In HTML?
...
[Embed(source="data/fire.swf")] static public var movieFire:Class;
I have some multiframe swf file and I want to have control of them. For example, I can use gotoandplay and gotoandstop functionality.
I tried something like:
var m:MovieClip = new movieFire() as MovieClip; but it turns out when I tried to get totalFrames, m.totalFrames,...
I am looking for an Java API to extract and control content from an flash (.swf) file. Are there any existing open source APIs which can help me do that?
Thanks in advance..
...
I need to serialize and unserialize (is that even a word?) an array in AS3, so it can be sent as a string.
The only problem is that it doesnt just contain text, it contains objects.
Is it possible to serialize and unserialize arrays in AS3 like you can in PHP? How can I do so?
Once this bug is fixed, all will be well with my program.
...
I have a Flash movie that is embedded in an HTML page that has a DIV in a layer over the top of the movie. The Flash movie scrolls based on the mouse position over the movie. The client wants the scrolling to stop when the mouse is over the DIV. I've tried using the mouseLeave event, but that is not triggered by the DIV.
Is there a wa...
I'm quite new with as3 via cs4 so please bear with me.
I'm trying to make a phone book type list that displays the users name, cellnumber and possible a delete button.
---
Bob
09XXXXXXXXX delete
---
Sussie
09XXXXXXXXX delete
---
Johnny
09XXXXXXXXX delete
---
I've tried making a list and added to it a XML dataprovider
<prof...
Maybe I am asking the wrong questions, because I don't see any sample projects out there. I know Flash developers have done Kiosks and renovated arcade games. "Come on, we see Flash everywhere." Is there a sample project I could be pointed towards, it would be an ass-saver.
Can I prepare my swf files like an image gallery and receive XM...
As the site will be totally in flash, there is no use of JavaScript required. So, what is the best way to embed a SWF file into a web page without using JavaScript. And why do you consider it to be the best one?
...