I'm downporting some ActionScript 3 to ActionScript 2 (some ad agencies sadly still refuse to embrace the future) and I've run into the issue that in ActionScript 2 ExternalInterface has no objectID property, as it does in ActionScript 3.
The code I'm working on calls a lot of JavaScript, and some of that code requires the script to kno...
I've got a flash project that due to requirements has to be backward compatible with flash 6. Everything works, except the first 6 (of 17) jpeg images that are loaded by <MovieClip>.loadMovie don't respond to changes to their alpha setting.
If I rearrange the order of the images in the XML file that is used to provide the image urls to ...
I have a new project I'm working on that will require a Flash application to load both AS2 SWF files and AS3 Flash files as well as FLV movies. The new Flash application will control the loaded SWF files by moving to different frames within the main timeline.
I should be able to get the source for all the files that are loaded into the...
The fullscreen functionality for my Flash video player does not work in Flash player versions 9.0.47.0 and 9.0.28.0. It works on all other versions 9.0.115.0 and above. On clicking the fullscreen button, the function gets triggered but the video does not go fullscreen, it stretches inside the video player. Is there any additional handli...
Often I find if my SWF file size is on the large side, when deleting media altogether or perhaps deleting and re-inserting compressed versions of images, sound etc, it has little or no effect on the resulting SWF's file size. I have tried deleting the SWF to allow Flash to recreate it from scratch but it makes no difference. Has anybody ...
I have a nested movie clip instance that I want to access. The path to the movie clip is defined by two variables ( similar to a row and column).
I am already dynamically accessing the parent movie clip like this:
eval("row" + ActiveRow)
Now I want to access one of row(#)'s children called let(#) dynamically.
Here are my best guesse...
I would like to open external URLs from within my Flash project. I typically use something like this:
getURL("javascript:newwin=window.open('http://someurl.com','','');");
But, if Javascript isn't available (in cases where the SWF is not embedded in HTML) then this will fail. How can I detect whether Javascript is available? If it ...
I currently maintain an application that's written in Flash 8 (AS2) which is used to embed and control some auto-generated SWFs. The auto-generated SWFs are also Flash 8 (actually, they work at least in 7, possibly even older), so my current app is able to directly reference variables and functions within the embedded SWF.
We're now wo...
I have 5 movieclips called row1, row2, ..., row5. Inside each row are the movieclips let1, let2, ..., let15. I want to assign all of the letter clips to a 2 dimensional array. This is a followup to an earlier question http://stackoverflow.com/questions/538133/dynamically-accessing-nested-movie-clips-in-flash-actionscript-2 .
I am t...
I'm using Flash CS3 and ActionScript 2. I have a MovieClip symbol (identified as "MySymbol") that contains a dynamic text block with the identifier "innerText". The symbol is marked as "Export for ActionScript" using the following "MySymbol.as" file:
class MySymbol extends MovieClip
{
function SetText(text)
{
...
I'm trying to change the text on several symbols by having a user press one designated symbol ! I don't care if its with flash 2.0 or 3.0 , I did a menu bar and want to change the text on the symbols if on symbol in particular is pressed ! I tried everything I could think of and expected it to be fairly easy ! I must be missing somethin...
I have this AS2 code that does some simple animations when I rollover a mc using TweenLite.
I feel that I have a lot of repeating code.
Is there a way to be able to just specify a function like this
boxLink(a);
and have the rest of the code, with the path to the target movieclip in the function instead of in the function variable?
H...
Check out this code:
import mx.core.View;
var accordianPane = my_acc.createSegment("mcElectrical", "panel0", "Electrical", "payIcon");
accordianPane.comboBox.addItem("test");
This adds an item with label "test" to a combo box in a movie clip. It works perfectly fine. However, when I put the same code in a callback function, it fails.
...
I have a site that's mostly made in flash. And the flash triggers shadowbox. But when shadowbox kicks in, the site isn't visible behind the box.
Any thoughts?
...
I feel like I have done this a million times before just fine, but in this instance it is simply failing:
I am creating a movieclip and loading an external swf file into it, something like the following:
large_poem_clip_display = preview_clip._parent.attachMovie ("cyber poem display window" , "cyber_display" , preview_clip._parent.getN...
Hi
I have a PHP script which parses an rss feed and outputs the top 2 news items. I want to display these two news items in a standalone flash exe.
What is the best way to do it.
Thanks
Vinayak
...
hi
I want to load sound placed in sounds folder.
Code is
var my_sound = new Sound();
my_sound.loadSound("sounds/sound1.mp3");
my_sound.onLoad = function(success:boolean){
if(success){
my_sound.start();
}
}
This plays sound when flash is open and pressing CTRL+ENTER(Test Movie).
but when we plays the swf it won...
Hello,
I am working on a flash step-by-step guide. and i have a problem.
There are 3 layers,
1 is scripts
2 is invisible button
3 is a cover screen(mc)
, inside cover screen. on its own timeline , it has an animation.
, what im trying to do is ; when i roll over the invisible button , i want the cover screen timeline to play and sto...
Hi,
I'm currently working on a Flash project in which an object is moving along a motion guide path. However, the keyframes dictate the speed of that movement. I'm looking for a way to change the movement speed via ActionScript 2 code.
Do you have any hints on how to accomplish this? Could I maybe just change the position of the second...
How can i stop the grid from scrolling while i am dragging outside the DataGrid component.
...