importing transitions



  • 1. Launch projector limited amount of times
    Launch projector limited amount of times ------------------------------------------------------------------------ Is there a script that counts how many time a projector has been open? I'm looking to make a demo projector that can only open a project 1, 2 or 3 times.
  • 2. Blur MovieClips
    Hey Ive been looking around for some script to make it so i can blur my movieclips to somthing i want but the closest i have found is this: import flash.filters.BlurFilter; my_mc.filters = [new BlurFilter()]; var dir:Number = 1; my_mc.blur = 10; my_mc.onEnterFrame = function() { my_mc.blur += dir; if ((my_mc.blur>=30) || (my_mc.blur<=10)) { dir *= -1; } var filter_array:Array = my_mc.filters; filter_array[0].blurX = my_mc.blur; filter_array[0].blurY = my_mc.blur; my_mc.filters = filter_array; }; But it is way to complexe, I would have thought flash could have made somthing like this: my_mc.blurY = 10 my_mc.blurX = 10 But i cant find anything simple to give me that kind of effect if you see what i mean. Please help me in my search for simple actionscript bluring! Im sure others are confused, we want to use the new flash capablities!!! Thanks for reading/helping Dan
  • 3. preloader with xml
    hi all, i have a problem with ProgressBar component. i am using XML connectors in my files. those files are working fine. but when i load these file in preloader, the xml data is not coming in that file . if anyone knows plz help. myxml.swf is working fine. but this file i loaded into preloader.swf using ProgressBar and Loader components xml data is not loaded. thx, Ramana.
  • 4. checkBox
    I have a check box in a simple form and I want it to send a variable to an email, just like it would if it were an HTML form through, but I can't get it to work. Where do I set the value of a checkbox or a radio button?

importing transitions

Postby rompstar » Tue, 07 Feb 2006 20:17:26 GMT


 I am trying to import transitions into an existing document, e.g.
 import mx.transitions.Tween;
 import mx.transitions.easing.*;
 These are going into the first frame of my document but I am getting syntax 
errors. I understand that this code must go into the first frame on the 
timeline which I am doing but get the errors!!! Can anyone help??? If I create 
a new flash document and repeat the above, I have no problem.
 Makes no sense!

Re: importing transitions

Postby LuigiL » Tue, 07 Feb 2006 20:22:42 GMT

Then your existing document is most likely set to be published for Flash Player 6. Check the Publish Settings.

Re: importing transitions

Postby LuigiL » Tue, 07 Feb 2006 20:27:55 GMT

To be precise: Flash Player 5 with ActionScript 1.0 or higher version Flash Player but ActionScript 1.0
Publish to a higher version Flash Player which supports ActionScript 2.0 

Similar Threads:

1.import images and create a fade transition

Hello Folks,

I would like to use Flash to import 5 images, these images specified in
an XML file and then fade through the images.

Can someone point me in the direction of a tutorial that will do this.



2.Applying transitions to imported symbols

I guess this is just my misunderstanding how Flash Pro 8.0 works....

 I have a new blank document, stage and library. The Layers list shows ?Layer1?.

 I import a .png from Fireworks into the library [using  File / Import to 
Library / Import into new layer in current scene;  Objects ? keep all paths 
editable; Text ? keep all text editable]. The Library panel now shows a list of 
the bitmaps within the .png and the .png file itself (marked as type ?Movie 

 I drag an instance of the .png symbol to the stage.

 My aim is to display the graphic for say 50 frames then fade it, so I insert a 
keyframe at frame 50. So far so good. 

 I select frame 50 (which selects the .png instance).
 I Insert /  Time-line effects   /  Transform/Transition  /   Transition 
 Direction Out;  Fade; 30 frames; OK

 Pressing Update Preview shows nothing at all although it correctly shows a 
wipe-out with Wipe set. (This may be spurious to my problem)

 In the timeline display, I expect  to see a Fade transition covering frames 50 
? 80 but ....
 a. there is nothing in those frames
 b. the level name has changed from Level 1 to Transition <n> 

 In the Library panel, I now also have a ?Transition? symbol and an Effects 
folder with two symbols inside.

 c. If I double-click edit the .png symbol from the library panel, I get Layer 
1 back plus a two-frame ?Fireworks? layer. If I quit editing the .png symbol, I 
get Layer Transition <n> displayed again. 

 Could someone kindly explain to a stupid newbie exactly what is happening in  
a. b. and c. and why I cannot simply get my 30 frame fadeout tagged on to the 
end of the 50 frame static display? And why I cannot any more see Layer 1 
except when editing the .png?

3.slide presentation - transition effects to imported swf


 I am using the Slide Presentation template in CS3 version. I am importing a 
pre-existing swf file into a slide using the contentpath option in parameters. 
However, I notice two things going wrong: 

 1. The resulting slideshow does not respect stop() action in the original swf
 2. Transition effects applied to the slide don't work. 

 Can anyone pls shed some light on this issue?

4.problem with "import mx.transitions......"

When i'm using flash action script, i find out the import function didn't not 
work .When i want to import a class, the output panel display many errors, and 
then everything didn't work .
 Please tell me why!!!

5.Tween/Transition import code gives a syntax error

6. Transition causing colors to be off in transition

7. Flash 8 - Import, Import, Import

8. Importing Sound, Importing Movie with Sound, Newbie

Return to FLASH


Who is online

Users browsing this forum: No registered users and 35 guest