Hi.
I am implementing SWFAddress into a Flash movie, and while my navigation is setting the links correctly, when I type in a specific URL, it doesn't seem to communicate with the browser at all. Am I missing a listener or something?
http://client.deicreative.com/test/TBB/
This class talks to my navigation class:
import SWFAddress.as...
I'm trying to a make a simple class in an actionscript file that handles the reading in and parsing/managing of an xml file. This class takes a movieclip as a parameter and has the movie clip act according to the results of the import. I've tried this:
class FileReader {
var menu:MovieClip;
function FileReader(newMenu) {
...
Hi all,
I'm doing a work project that uses Flash CS3 / AS 2 (and cannot use AS3). I have a rather interesting and hairy problem that is taking up quite a bit of time and sanity.
I'm working on a banner that reveals a new design on rollover, and switches back to the first design on rollout. This part works fine. However, the problem is ...
How does Flash communicate with services / scripts on servers via AMF?
Regarding the AMF libraries for Python / Perl / PHP which are easier to develop than .NET / Java:
do they execute script files, whenever Flash sends an Remote Procedure Call?
or do they communicate via sockets, to script classes that are running as services?
Rega...
I have a client asking me "What are the pros and cons with upgrading from AS2/Flash to AS3/Flex?" He is having performance and maintainability issues with his app.
I sorta hate these questions because I just want to say "AS3/Flex is going to be faster and more maintainable," but I know I should be more specific than that. The applicat...
Is there a way to get the current object(s) under the mouse? There's a function called getObjectsUnderPoint() on AS3, but I need to know if AS2 provides a similar functionality. In case it doesn't, anyone has a good implementation of what I am trying to achieve?
Migrating to AS3 is not an option.
Thanks!
...
How do you load an XML using a constructor, I need to parse it into an array and I use a custom class Menu.
Here is my code:
class Menu {
// XML file's filename
private var xmlFile:String = "menu.xml";
private var menu:XML;
private var menuArray:Array;
private var mainmenu:Array;
function Menu() {
menu = new XML();
menu.igno...
Hi, i have my code to make the stage go to fullscreen but it doesn't seem to work if I use the .swf version of the file, if i export it as a .exe file though it will work, heres my function
function toggleFullScreen() {
Stage.displayState = (Stage.displayState == "normal") ? Stage.displayState = "fullScreen" : Stage.displayState = "...
How to make multiple text span section and highlight in dynamic text field in Flash 8/ action script 2
...
I would like to hide a button.
I'd like to pass a variable thru the url like so:
//test.swf?control=0;
control 1: being on, 0: off
if(_root.control =='1')
{
button._visible = true;
}
Can anyone explain why the button is visible when "test.swf?control=0;" is passed thru the url.
...
How can I z-order the faces of a 3d object just using the 4 vertices of each of its faces? I've tried using a z-buffer where I store the average z value of each face; this works great most of the times, but fails when an object have large and small faces.
I'm building a small 3d-engine in flash, just for the fun of learning, so the only...
Hi there
I have a movieclip which unloads two other movieclips when it is clicked. This bit works fine, but it should also remove itself after this, which particularly does not work. Here is my code, can someone please tell me what I am doing wrong:
close_button.onRelease = function() {
background.unloadMovie();
loading.unloadMovie()...
We are looking for the Flash ActionScript 2.0 code for a 3-D rotating cube to be used to display ads on a website. Any ideas where to start?
...
I've inherited an AS2 app that has a lot of functionality. I need to embed this thing somehow in my AS3 app so I can execute function calls etc and basically control it. Has anyone ever tried something like this? I'm assuming I'll have to URLLoader the AS2 SWF into a MovieClip and take it from there.
...
Our company has a large and complex flash (AS2) application. The application uses a small controller main.swf file that loads in over 100 .swf modules that make up the various parts of the application.
We have been experiencing a periodic problem where some of the loaded modules will contain corrupt data after loading. As this happens...
It's really long to type in all the nesting objects in actionscript
and it makes it difficult to rename objects.
Within Flash if I don't use external actionscript files,
I can type in gunmovie.play(); and it works.
Where gunmovie is the instance name of a MovieClip.
In an external actionscript file I have implemented the class MegaWeap...
I have an .swf that I am embedding into HTML using the jQuery SWF Object plugin (http://jquery.thewikies.com/swfobject). I have a number of functions within the .swf that I need to call from within javascript functions. I've made these actionscript functions accessible to javascript by calling flash.external.ExternalInterface.addCallback...
Hi,
I have written an application that plays 2 audio tracks in Flash.
Now is my problem: how to make so, that after user have pressed a key, second track would be shifted(forwards/back)?
This action and then playing should be without additional caching and delays.
...
Is there a way to do a projector fullscreen in flash but retain the proper size and tile a pattern background? Much like an HTML page with a pattern background and main content area.
Thanks.
...
Flash CS4, AS2
I have made an interactive tour. It can be seen here:
http://www.92YTribeca.org/Tour click on the bottom image
Each of the 4 sections are external swf and loaded on level 1. I want a button on one swf (floorplan) to load another swf (facility rentals) AND pinpoint a specific frame on the swf's timeline.
I have tried m...