Assume the main time line is A. On A I've got movie clip Z also On A . I've got movie clip B and inside B I've got a movie clip C (I need it to be this way because it soft of a TAB meanu).My problem is the actionscript written in C makes few objects called planet 1, planet 2, planet 3 on A function well. But when I move planet 1, planet 2, planet 3 to a movie clip (planets_mc) it won't function! How can I put planet 1,2 and 3 in to one mc and still make the actionscript in C work?I've used the _root. command in the script C. Hope my question is clear enough!
I need it to have a rollover in the initial state (which works fine) and then, in another state (represented by the onOff variable & mc),I need it to have a rollover that has a different size than the actual area being displayed (so that it will do the rollOut when the user leaves the area around the first line of text).I thought I had it figured out by putting a hitSpot movieClip inside the box movieClip, but the box rollover function doesn't let the hitArea rollover function through...Here's the code, and the fla is attached with some samples of what I'm trying to do.
Code: var onOff:Number = 0; onOff_mc.onPress = function() {[code]......
I've been trying to embed an entire html page with all the graphics and text into a movieclip.I used a dynamic textfield within the movieclip and used the URLLoader to load html text into the textfield.Also i used the UIScrollBar.Everything works except that the images remain where they are while scrolling.I need the scrolling effect and so haven't used the wordwrap on the textfield.
So I needed to know whether there is any other way of doing this so that i could get most of the layout settings of the html into movieclip so that i can just place the movieclip where ever i want that page to be displayed.
Anywho im trying to add thumnails to a gallery of mine. Everything works fine untill i put all the symbols in a movieclip. When i do that the scroller stops working but everything else works fine!
The tutorial im working from is: [URL]
And the part of code that is relevant is:
function thumbNailScroller() { this.createEmptyMovieClip("tscroller", 1000); scroll_speed = 10;
I used to use flash is AS2. Now in AS3 I can't put any code on a movieclip.I used to for example put code on a movieclip so that onrollover it would simply play what was in it.How can I achieve this without putting code on the movieclip itself?
On the stage, I have a movie clip called mc which contains 20 frames.I have put mc.stop(); on frame1 of the main timeline, this puts a stop action in frame1 of mc.Now I want to put a stop(); action on frame10 of mc using the main time line where all my code is.
The code fl.getDocumentDOM().getTimeline().layers[0].frames[0].actionScript = 'stop();'; does seem to work and I don't know what to import.There also a code method addFrameScript(0, customFunction); but it only crashes flash player.
I am trying to create my first semi-serious flash game. The problem I am having is I want to be able to click a button in the players inventory to equip a different armor to the player, and have that armor work in the game on the same movieclip(Player) without having to re-make all the attacks and moves etc. for each change on another movieclip. My ideas are extremely novice like putting each armor and update on a different frame inside the Player movieclip and then doing a gotoAndStop to the frame. Though that may work I don't know how to goto a frame inside a movieclip. I would like to control this using as much code as possible.I would paste my code but I don't have any code for this part of the game so far. I have tried some simple coding but so far I cannot get the pieces together.
It has around 7 different movie clips in the library. I was originally going to put one clip per frame in the master timeline and have some sort of pause sequence to play them one after another. What I ultimately want to accomplish is to have these clips play one after the other without having to click any buttons, so basically straight through.
I've recently made a website for a friend and she wants a video to play on one of the frames. It is in the library and the video plays when i test the movie on my laptop, however, I have now uploaded the .swf file website to a host along with the video and it isn't playing. Any ideas how to sort this out? Not completely sure myself! Using Flash CS4 with Actionscript 2.0 if that makes any difference to anything.
I'm making a presentation in Flash that needs to be put on a DVD, which we will given to people in my organization to view at home. The presentation will not contain any interactivity. It will have text, music, video, and narration.
The videos will be short and contain sound, should I embed them in the fla file? I planned to break the presentation into scenes to make it easier to manage, and so they'll just play one after another. My computer can burn DVDs, so I was just going to export the swf to DVDS.
Wrong section, moved to actionscript 3 I'm having trouble with my code. I keep getting this error
TypeError: Error #1009: Cannot access a property or method of a null object reference. at Test_fla::MainTimeline/frame1()
I believe it has something to do with the array, considering it works when I remove the array stuff. What i'm trying to do is to be able to move objects through an array with my gravitate() function in the Grav Class.
stage.addEventListener(Event.ENTER_FRAME,onLoop, false, 0, true); for(var i:uint=0; i < numParticles; i++){ var p:Grav = new Grav(5, 0xff0000, Math.random()*250, Math.random()*250); addChild(p);
I have a simple graphic in Scene One which when you mouse over it, it changes to Scene Two where there are several round buttons that people can navigate with. What I want is that when the mouse is dragged away from the stage where the buttons are in Scene Two, you are taken back to Scene one. I can't seem to work this out. I only to want to go back to Scene One when the mouse is completely out of the SWF.
I made another button and made a square hit point that covers the stage and put that on the level above the other round button levels but this then doesn't allow you to activate and click the buttons underneath the square button. I just want a rollOut when the mouse comes completely off the SWF back to Scene One. Am I missing something?
I bought this template, and am trying to make some of the pictures when clicked have hyperlinks that go to other websites, i am turnong the picture into a button and adding this code in the action script [code]
More specifically, I'm just converting a video into FLV using the Adobe Media Encoder. I'm primarily a web designer, not a video guy, I've always just used the built in Insert FLV function in Dreamweaver to put Flash Video in. However, when autoplay is off I need to know how to control what frame shows up on the front of the video before it starts playing.
I've got a question/request concerning my first flash website.If you look at my site you will see 4 .swf's loaded in from the sides. This effect is made possible by Jquery script. But because of lack of compatibility with Opera & Internetexplorer. I have to integrate this all in one swf. But I've got not a clue what kind of code I need to make this effect working.So to be clear what I want is Containing 4 swf's 25% height & 100% width. The slide in function is something I also would like to have (but maybe that's asking for just to much). If you want to see the code of the actionscript from the swf''s you can check it out at the included zip
I'm having trouble with publish my flash file. I have uploaded my flash file (flash.html) and (flash.swf) to my ftp. Then I copy and paste the html code onto the page of my website which is (without the star)
I'm still working on my highscore list but cant get it right. Its posting a player name and score in a textfield out of MYQSL database.
This working but not orginised. If I can put the score and player in a seperate textfield I think it will look a lot better.
This is the code that displays the score and player in the same textbox. (at bottom)
import fl.controls.TextInput;import fl.controls.TextArea;import flash.text.TextFieldType;var variables:URLVariables = new URLVariables();var request:URLRequest = new URLRequest();////insert in the location of the php script
I did a banner for a client and was asked if I could put the banner up on their site when I was done, not realizing the site was done in .aspx. I'm in the control panel of the site, I uploaded the flash files to the correct folder and rather than going into this blind I thoughtThe code for the banner on the site currently is
<script type="text/javascript" src="/home-ads/swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.xmlPath = "/home-ads/powertri-ads.xml"; var params =
So this is the image i want to add bones to so i can animate it... but any way i convert or anything i still cant add the bone,, the bone just dissapears when i drag it.
I'm having trouble with publish my flash file. I have uploaded my flash file (flash.html) and (flash.swf) to my ftp. Then I copy and paste the html code onto the page of my website which is (without the star)
I created an swf and a HTML output. Localy it works when I double click the html except IE.keeps telling me I need to accept the plug in. Verry annoying. But if I put the HTML and the SWF on the website the HTML is blank no movie.I cut the HTML down to a minimum as well. Any ideas what would be missing that is needed. Tried the original generated html as well.[code]
I have two scripts I wish I could make a game with, but can't seem to make them work together.[URL] the objective of the game is for the player to get to the opposite end of the "maze" without being hit by the enemy.
I don't have an incredible amount of experience with flash, but I feel like I'm missing something really obvious here. I have about 10 buttons here (although I only show two in my code), and rather than listing out long lines of code, I figured it should be relatively straightforward to put it in a for loop...but its not working for whatever reason.
I am trying to find a way to add symbols from the library on text, but only when the symbol touches a pixel of a huge text. Example (see picture): On stage is a textfield. it shows "house" in huge letters. I want to put littles houses from the library on thoses letters. getPixel ? or how can i get the valid x, y, coordinates. hitTest?
I'm trying to make a 2d birds eye map for my user to move around it, and the map moves around instead of the user MC because I always want the user to be in the middle.
Problem is I load the map into an instance of a blank movie clip on the stage from a jpeg on the server, but I want to be able to put items on the map that the user can interact with at certain coordinates, after the map has been loaded, from some gifs I imported into the library as bitmaps.
I can't seem to find a function that will let me load the bitmaps into the MC that already has the map in it though, is it possible to do it that way? If not then any recommendations?
I am in the process of creating an info box Object, which displays one of the five organizational informations, dynamically on the user's choice. All the code is in the associated Class.
I am stuck with one issue. It requires to add an image (from a set of 5 small images) on the top-left corner of the movie; appropriate to the contents. I don't know, how to put the image dynamically.
what's the best route to putting together a spectrum slider? Component? (for purchase even, must be re-skinable) Tutorial FLA? Tween Extension Mod? I'm wondering what the best process of approach is. Algorithmic or sampling.