Below I have an array that works but it is far too long and I am thinking there is a far easier way to generate the same result using a loop but I just can't get my head around it at the moment. The array is as follows:
var CardDeck = new Array();
CardDeck[0] = new C1();
CardDeck[1] = new C2();
CardDeck[2] = new C3();
CardDeck[3] = new ...
Consider this (psuedo-code):
var country = new Country();
addChild(country);
var state = new State();
country.addChild(state);
var city = new City();
state.addChild(city);
I can dispatch events from the city up to the country like this (in the City class):
dispatchEvent(new CustomEvent(CustomEvent.WHATEVER));
Because events bubbl...
I would like to do the following:
Have a few objects (e.g. 20 of them), each time I mouse over any one of them, it moves up and each time my mouse leaves, it moves down.
obj1.addEventListener(MouseEvent.MOUSE_OVER, moveMyself1);
obj1.addEventListener(MouseEvent.MOUSE_OUT, moveMyself2);
obj2.addEventListener(MouseEvent.MOUSE_OVER, moveMy...
Adobe are launching Flash Player 10.1 in the first quarter of 2010, this will provide consistent runtime across desktops and mobile devices (so I assume if it was built for the web it will work on the mobile).
I am about to start developing an flash based application for mobile phones, should I look at using FLash Lite 3 or wait until F...
I am currently wondering if it is possible to load a swf that is sitting on another file server. I.e. I currently have a custom play bar swf which is embedded on a website (behind the company's firewall) which then loads swf content (currently in the same folder on the website server).
The problem I have is bandwidth between remote site...
I want to display a simple .SWF file on my WPF Form. It's a simple animation on loop.
Is there a control "box" type element I can place on my form and just load the .swf file to it so it can play?
Thank you for the help. :D
...
I am adding "layer" objects to the stage with a depth value.
I have then created my own camera class. When I tell the camera to move to the right what Im actually doing is telling each layer object to move to the left.
The distance that the layer moved to the left is based on the value of its depth variable...
var fCameraDepth = 1;
va...
Hi, I'm looking for a effects library for flex or flash, I used one in a project but I cant remember the name. It doesnt matter if it's not free or open-source. Thanks.
...
All,
I'm working on a Flash application that's supposed to send XML data to a Java Servlet.
I'm responsible for the Flash app; another team is responsible for the Java Servlet.
The problem we're having is that I'm familiar with Flash but not Java and Servlets; the other team is expert in Java and Servlets, but unfamiliar with Flash.
...
We're trying to get our company website to be better indexed by Google and other search engines, and at this point I'm not quite sure what's missing. All of our text content is loaded in by our flash application via XML files.
In summer, we wrote a PHP script that reads out all the XML files, and generates google friendly index.html fil...
No matter what values of z-index I try, I cannot overlay my html div (or img) element on top of this flash animation (see top left corner):
http://www.resident.co.il/aspx/places.aspx?t=4&a=1
Any ideas ?
...
I'm having issue to init a menu item inside of CustomEvent. It's weird I can handle any mouseEvents (click, over or out) without any problem. But NOT with Event.INIT or Event.COMPLETE.
For some reason, It doesn't fire...
Does anyone know is there a better way to do that?
My code:
private function handleMenu(event:CustomEventCenter):vo...
Hi,
I want to develop a zooming effect like this gallery: http://www.monoslideshow.com/
Can anyone give me a hint? I'm not sure about the math that i have to do for getting something similar
Thanks in advance
...
Hi, We have a requirement to show documents (if we have URL for a document) within Flash. We have a need use embedded document viewer for MS Office and PDF documents. Are there any Flash controls available to acheive this?
Thanks.
...
I need to build an "interactive floorplan" for a shopping centre (or two).
Many shopping centre websites already have this (eg Bluewater in the UK)
Traditionally, the way to build such a floorplan / map is to do it in Flash. The actual floorplan is a Flash asset and the data that describes which retailer is in each location is fetched ...
Am working in a player and when am trying to make it to fullscreen the scrubber and volume bar everything become too big in size.
why i cant make it as mormal?
please some one tell me the solution
...
Is there any way to change a context menu that already has been personalized. I have an small application that I purchased to learn with and also to save some time.
When I right click the context menu appears with the other person's information in it. I want to change that information if it is possible to do so. I tried
var my_me...
How do I accept multiple arguments in a custom method? Like:
Proxy(101, 2.02, "303");
function Proxy(args:Arguments){
Task(args);
}
function Task(var1:int, var2:Number, var3:String){
// work with vars
}
...
Hi all -
I need to take a .swf Flash file, ideally from a URL (but I can read the file from disk also) and create an image preview of it (png, gif or jpeg is fine).
I am using Adobe Coldfusion 8 so I'm looking for a Java solution. I need to get the first frame of the Flash movie only.
Many thanks in advance.
EDIT: I need to do th...
hi friends,
i want to display swf document via Adobe Flash Paper software in our asp.net web page.
can any one describe how i embed flash paper API in .net?
...