Pull Down Menus - Weird Things Happening
for some reason, when i try to link any action, other than 'get url' to the menu items in my pulldown menu it will not work.
im trying to advance to a frame and load a movie but nothing is happening.
anyone have any ideas as to why?
thanks.
link to the zipped file: http://www.silverleafbooking.com/help.zip
FlashKit > Flash Help > Flash Newbies
Posted on: 10-17-2002, 04:04 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Weird Things Happening.
Hello everyone, I was making a website with flash, and there is a index page, that will call other page externally with some buttons. Now in one of the external page, I put a news system, that will load .TXT file with LoadValue function. It works well when I go to preview. However, when I exported it, and save it to my server, and when I press the button to load the news, nothin happening. My publish setting is for Flash 6 and Javascript 1.
I got Flash MX 2004.
Thanks in advance.
http://www.sospublicidad.com/sgl/News.swf
Weird Things Happening With Text Box Component
I have in place the generic text area component in my movie. Which displays text via an externally loaded txt file. I have two problems happening...
1) When you click anywhere inside the text box, or use the built in scroll bar on the side of the component, upon releasing the mouse - all of the text will highlight automatically, and stay until you click off again.
2) No matter what I type into the external CSS style sheet (which provided formatting for the external txt files) the font will not display white - only black, red etc. but not white.
... Not sure if these two issues are related or not, but I am stumped.
Thanks in advance,
Nick
Using _root. With Multiple Scenes. Weird Things Happening
I have a button inside a movieclip, with the code _root.gotoAndPlay (x) worked perfectly fine controlling the root timeline when i was using only one scene.
Then I started using more scenes and this button once clicked goes to random places nothing to do with the code inserted.
Any ideas people ?!
What's Happening-sizes And Things.
What's happening I used to be able to able to Modify the movie size to 1200 hieght or something and then publish it and it would go into the browser and it would make side scrollers so that you would have to scroll the move up and down to see the full site?
Now it's just fitting all the swf in the browser real small and making it fit in the browser size just the size of a screen.
Strange Things Happening
First Is there a reason that I would be able to get this code to work:
on(release){
_level0.play();
}
And not this code:
on(release){
_level0.stop();
}
Second For what reason will MX accept this script in one swf but not another one?
_level0.continue.play();
Has anyone had outrageous difficulties with scripting inconsistencies in Flash? Sometimes it depends on the fla file, the computer I'm working on or, my favorite, the mysterious 'it doesn't work one minute and it does the next?'
Wierd Things Are Happening
when u enter our site at www.sixofour.org ull see the logo wich brings u to http://www.rituals-of-life.com/604/index2.html (the site)
when u click it (but www.sixofour.org stays in url bar). if ull go to party section and try to open a flyer in a pop up it wont work. BUT when u go directly to http://www.rituals-of-life.com/604/index2.html in ur browser, it will work :s
its this script i use
on (release) {
getURL ("javascript:NewWindow=window.open('http://www.rituals-of-life.com/604/parties/2003/digital/large/flyer-front. jpg','newWin','width=876,height=630,left=0,top=0,t
oolbar=No,location=No,scrollbars=No,status=No,resi
zable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
does anyone has any idea whats causing this?
grtz&thx
Crazy Things Happening When You Print
I have a flash file in a layer and when I print the Flash is flipping vertically. This is just the visuals, the buttons are where they should be as far as function except the images are now at the bottom. It's easier if you just see what I mean, here is the site:
Macc Website
Just print a page or bring up the print preview. once you come back to the page you'll see what I mean
Strange Things Happening In Photo Gallery
This is going to sound strange but I am at a complete loss for wordsa and cannot figure out what is going on. I have a photo gallery I have created. It has several buttons that a user clicks that uses actionscript to gotoandplay an animation on a frame label. Now, this gallery works properly in development, at my home, and several other seperate computers I have tried. For some reason, when I goto to my work, the gallery buttons do not match the pictures. I click one button and it brings up another animation. I have my website development partner at work and she gets the same problem, but at her home it works properly. Has anyone ever heard of an instance like this. It works everywhere but my work... I AM SO CONFUSED!
Thanks... Bubba
[F8] Alpha And For Loops Strange Things Happening
I have 5 buttons on stage that I want to set the alpha to 0, so the user can not see them. the basic approach of the following works fine:
PHP Code:
error1_btn._alpha = 0;
error2_btn._alpha = 0;
error3_btn._alpha = 0;
error4_btn._alpha = 0;
error5_btn._alpha = 0;
now if I do this:
PHP Code:
for (var i = 0; i<5 ; i++){
['error'+i+'_btn']_alpha = 0;
}
the whole stage becomes invisible, I am sure i am doing something wrong with the [], I am trying not to use eval and just use [] but I am struggling with this, it seems simple enough, but doesn't work for me most of the time
any help would be great.
IMS
[F8] Strange Things Happening In Simple Math Eq.
Here is my issue: I have a series of simple math equations going on in a function. Say I have 30.06 (I'm working with currency numbers here in reg number format) and I want to subtract 20 from it until the number is under 20, then subtract 10 from it until it is under 10, then when I get to the decimals (cents) I want to subtract .25 then .10, then .05, then .01 to populate the proper money value on stage. My issue is when the dollars are depleted, and we enter cents, Flash tends to subtract the number I want to plus a random far out decimal (0.000000001) thus making the next number too low (say, 0.999999999934) and when there should be one penny left, it reads it as 0, so the money gets populated incorrectly.
My question is: Why is flash adding in far out decimals when I clearly tell it to subtract 0.25, or 0.01 etc.?
I can't use Math.floor because i need the decimals.
Does anyone have any suggestions? I would greatly appreciate some help.
Strange Things Happening... Scripted Buttons Within Mc... Not Working...?
Ok...
I have a movie clip... and it has a button inside it.
to the button i have attached this code:
Code:
on(release) {
gotoAndPlay ("main menu","artist");
}
when i test my movie, the buttons rollover fine, but it doesn't recognize the code i attached to it... i don't get any errors in the generator... but it won't take me to the other part in the movie labelled "artist"...
i'm confused!
[F8] Pull Out Menus
Hello again!
I have a sub-menu on my navigation bar, when user roll over a button, a pullout appears, and the when you roll out it disapears...simple...but now when you rollout the main button, the pull out disapears and you cant click on any buttons.
How do I make it stay when they rollover the pullout and not only the main menu?
(and sorry for the bad english here...I feel like I am not that clear..)
Merci!
Pull Down Menus...
Hi...
I wanted to do some pull down menus in Flash and I need some help to start... do, any of you, know where I can find good tutorials in this area?
By the way, I'm also looking for some tutorials in transparency... explaining better what I mean by this… I want to know how I can make a SWF Movie to have transparent parts for the rest of the HTML page.
(I want to merge both of this…. So, if you know any tutorial that explain how to do pull down menus with transparent zones… that’s exactly what the “doctor ordered”)
Thanks in advance for any help…
Something Weird Is Happening...please Help
ok so my website is slowly coming along, and i've run into yet another problem. when you open up index2.swf (the main page), and then click on the Home button, it will load a page identical to that of index2.swf. from there, if you click on Pictures or Videos, it will merely load that file over the news and links (i want the news and links to disappear when this happens). HOWEVER, let's say you are opening index2.swf for the first time. if you click on Pictures or Videos, the news and links will disappear, and then the proper page will load. from here, if you click on the Home button, the news and links will merely load underneath the Pictures or Videos page. how can i fix this???
here is where you can find the .zip file which contains the .fla and .swf files:
http://s39.yousendit.com/d.aspx?id=1...U1JB03CV45G1JR
thanks to whoever can help me out!!!
PS: the link will expire in 7 days, so if you read this 7 days after i posted this, and still wish to help, send me a PM and i will get you a new link.
Something Weird Happening
Something weird shows up on a website I'm working on, strange things show up on the top menu when you rollover it, I have no idea how to get it off. You'll see what I mean. Can anybody help me out here?
http://www.strandedgenius.com/ljngroup/
I've used .pngs on top of eachother 24 bit.
Pull Down Menus In Flash 5
i tried to make a pull down menu in flash but i wanted the pull down buttons to go horizontally and still use the back ground color. i made a button and on the over, i added a block with text and converted to a button. when i tested it, the roll over worked but did not let me use the button i added...
what should i do?
++Weird ****e Happening To My Flash++
something bl**dy irate is going on...for the past day whenever i import/create an image in Flash it squishes the image from what looks like a 300x300 to a 120x300.
i don't understand wat's going on. the image shows it's correct size (300x300) under 'properties' but on the stage it's definitely all warped. It does the same thing to all the fonts it input so regardless of wat font i type in, they all look super condensed.
oh man what is going on??
Weird Publishing Happening
Anyone have a clue as to why this is happening to me...I publish my flash file in MX 2004 and I get a white screen, if I right click and press play, it works. This is only on a PC that it happens, I don't have to do this on a mac. If I publish it on another machine that has MX, it plays right away, the way it should, but it doesn't do my masks correctly. It is a lose lose situation. Any ideas?
MX Tutorial For Drop Down Or Pull Down Menus?
I need to make a button that when you move your mouse over it, several other buttons appear right under it. I'm totally new to this and the visuals in the tutorials really help, but the one I found was for a different version and didn't seem to have the same features. At least not in the same places.
Pull-down Menus: Countries/states
Friends,
Don't know about y'all but I've been using text boxes for countries and states too long.... are there ready-made Flash MX pull-down menus (preferably free) out there for this? Kinda wish McMedia would bundles some more basics....
Thanks for the tip,
J.
How To Make Pull-Down Menus In Flash
I am trying to build a simple flash pull-down menu; found this on another forum and followed the example to a tee:
stop();
function item_Select() {
if (ChooseItems.getValue() == "item1") {
gotoAndStop(2); //Change this line to what you want the dropdown to do
} else if (ChooseItems.getValue() == "item2") {
gotoAndStop(3);
}else if (ChooseItems.getValue() == "item3") {
gotoAndStop(4);
}else if (ChooseItems.getValue() == "item4") {
gotoAndStop(5);
}
}
...although when i test it out i get this back:
Scene=Scene 1, Layer=layer1, Frame=2: Line 20: Statement must appear within on/onClipEvent handler
function item_Select() {
i know the solution is simple but i'm new to flash and still trying to get the hang of the language and scripting. what's wrong?
How To Make Pull-Down Menus In Flash
I am trying to build a simple flash pull-down menu; found this on another forum and followed the example to a tee:
stop();
function item_Select() {
if (ChooseItems.getValue() == "item1") {
gotoAndStop(2); //Change this line to what you want the dropdown to do
} else if (ChooseItems.getValue() == "item2") {
gotoAndStop(3);
}else if (ChooseItems.getValue() == "item3") {
gotoAndStop(4);
}else if (ChooseItems.getValue() == "item4") {
gotoAndStop(5);
}
}
...although when i test it out i get this back:
Scene=Scene 1, Layer=layer1, Frame=2: Line 20: Statement must appear within on/onClipEvent handler
function item_Select() {
i know the solution is simple but i'm new to flash and still trying to get the hang of the language and scripting. what's wrong?
::| How To Make Pull-Down Menus In Flash | ::
I need to build a very simple pull down menu in flash, much like a html pull down menu. I thought this was a very common task, but I cannot find a tutorial or a way to do it. I need it to be just like the "Forum Jump" "Please Select One" pull down menu at the bottom of the forum index here at Devshed. Or just like the "[Font]" "[Size]" and "[Color]" pull down menus above this message if you are writing a reply. I need it to look and function like that, but be done in Flash.
I need the menu to have a few items, for example, Item 1, Item 2, Item 3, Item 4, and then once a user selects an item from the pull down menu and releases the mouse button, they are taken to a specified url which is unique for each item in the pull down menu list.
Is this really all that hard? Why can't I find a simple tutorial for this? I am using Flash MX 2004, but it has been about 2 years since I have been involved in Flash development...I am a good bit rusty. Can someone please help out, or point me to a tutorial.
Something Weird Is Happening In My Scroll Pane
I have created a few scroll panes before and everything turned out fine. Today I created a scroll pane and the image that is in the scroll pane all of a sudden appears on the top left of the scroll pane. All my other images in my other scroll panes appear in the center. I attempted to align center but it just stayed on the left top side of the scroll pane... Any ideas or sugestions?
Weird Thing Happening To My SWF Files.......odd
Hi Everyone,
I keep getting this really weird thing going on with my flash files, very odd.
When you roll over them this wierd border thing comes up first that you have to click before it kind of lets you do what you intended with the file in teh first place. So you have to click a button twice rather than once, which is really frustrating.
Its just a work in process so far but the website is: www.flamingpaws.co.uk
Weird huh, or is it just me that seems to have this problem? Is it a Browser thing or something to do with the exporting of the file? Whatever its frustrating!!!!! I dont get it on other Flash sites, just this one........
Can anyone help?
Mark
Weird Button Thing Happening?
Hey Folks,
Not sure if this is the correct forum for this post so I apologize in advance if this is the case.
I have a Gallery button on the home page of this site, femmefauxtales.com; something I did for a friend, anyway the thing is that when I tested it on my computer the Gallery button worked fine.
Here's the thing: when you click on it it loads the initial movies, as it should, but once you're there if you click on the Gallery button again it fails to load one of the initial movies, and if, from there, I click on the "Go with the Faux button" and then click back on the Gallery button it fails to load the same movie as well.
The contact us button just loads a movie over the whole thing so it doesn't affect it, and the home button works fine.
What's driving me crazy is the fact that EVERYTHING it worked fine on my computer, and of course the fact that I CAN'T FIGURE OUT WHAT THE %@&% IS WRONG.
I don't include a zip cause I don't know what to include??
Any ideas or suggestions as to what could cause something like this?
Peace
Jose Antonio
Flash Movies And Javascript Pull Down Menus?
My website has javascript pull down menus and I added a couple flash movies and I noticed that the javascript menus appear behind the flash movie? Is there any way to add actionscript or do something to make the movie stay "on the bottom?"
p.s. lamens terms please. I know barely any javascript or actionscript, but I'm a very quick learner/copier.
Passing Variables Between Swf, Weird Stuff Happening...
Ok: I'm making a glossary for a school project, the problem that came up is weird:
I have one main swf : glossary.swf and one search swf : search.swf.
I've got one input field "search_string", and on the "go" button it loads search.swf in like this:
Code:
loadMovieNum ("search.swf?s="+search_string, 10);
gotoAndStop ("load_simple_search");
search.swf picks up the "s" variable (I can see it in a text field)
BUT: I then go on and load the search(within search.swf) with :
Code:
loadVariablesNum ("search.php?search=simple&search_string="+ this.s, 10, "POST");
The search class is working perfectly when loaded in the browser. (So the problem is not there)
Let's say that i pass "s=sale", then the search.php returns 0 results (once again I can see this in a text field), but when I put "sale sale sale" into the search_string field, I get back 15 (wich it should do according to if I look it up in search.php)
Now: why would this happen??
I've tried a lot of combinations on this, I even duplicated search_string 3 times and sent it to search.swf, but it still would not work.......
Can you see anything wrong here?? I've been working myself blind on this problem right now.
Thanks!
Asp Database Query Weird Thing Happening
Hi,
I'm trying to create a members area in MX by using 'new loadVars' and 'sendAndLoad to pass username and password values to an ASP page. SQL code then queries a database to see if my MX username matches a database username.
Say I have a username of 'user' and a password of 'pass', my problem is that in the code:
Code:
dim my_username = Request.Form("username")
dim my_password = Request.Form("pwd")
"SELECT * FROM LoginTable WHERE username='" & my_username & "' " _
& "AND password='" & my_password & "';"
For some reason the SQL does not insert the values from the my_username and my_password variables. I have checked the database connection which is working, I have hardcoded the SQL statement to show WHERE username ='user', which also works, and I am able to output the value of my_username using Response.Write at the end of the ASP code.
I can only presume that the ASP page cannot receive the my_username values from Flash in time before the SQL executes, but this doesn't sound right. Please can anyone shed any light on this strange anomaly - I'm fairly new to ASP and am willing to supply the full ASP and Actionscript code if necessary.
Thanks in advance.
Weird Thing Happening With My Flash Calendar
I've been putting together a calendar, and sometimes it displays the previous month. Could anyone check to see if it works correctly for them? click here.
The code is pretty straight forward.
current = new Date();
month = current.getMonth() +1;
day = current.getDate();
gotoAndStop (month);
Love to know if it works correctly for anyone else first time.
Weird Stuff Happening With Buttons Checking Text Inputs
This should have been simple (I thought) but I've been going round in circles. Any ideas, please? Here's what's happening:
checkAnswer1() works OK
checkAnswer2() only outputs 'incorrect' response unless input1 is incorrect first or if input4 is first field to get input
checkAnswer3() works OK
checkAnswer4() only outputs 'correct' reponse & gives NO output if it gets input before the other fields (then input 2 is OK)
Here is the code from frame 1:
ActionScript Code:
//Store & set vars & functions:
//vars -checkInput1;2;3;4 store typed words. Used by checkAnswer1;2;3;4.
//functions - checkAnswer1;2;3;4: use vars checkInput1;2;3;4 check answers, send feedback. Called by buttons.
//go to nextframe
var checkInput1;
var checkInput2;
var checkInput3;
var checkInput4;
function checkAnswer1() {
checkInput1 = input1.text;
if (checkInput1 == "announce") {
feedbackField = "Well done! That is correct.";
} else if (checkInput1 !== "announce") {
feedbackField = "Sorry, that is not correct. Do you want to try again?";
}
}
function checkAnswer2() {
checkInput2 = input2.text;
if (checkInput2 == "facility") {
feedbackField = "Well done! That is correct.";
} else if (checkInput2 !== "facility") {
feedbackField = "Sorry, that is not correct. Do you want to try again?";
}
}
function checkAnswer3() {
checkInput3 = input3.text;
if (checkInput3 == "innovation") {
feedbackField = "Well done! That is correct.";
} else if (checkInput3 !== "innovation") {
feedbackField = "Sorry, that is not correct. Do you want to try again?";
}
}
function checkAnswer2() {
checkInput4 = input4.text;
if (checkInput4 == "ultimate") {
feedbackField = "Well done! That is correct.";
} else if (checkInput4 !== "ultimate") {
feedbackField = "Sorry, that is not correct. Do you want to try again?";
}
}
nextFrame;
And here is a button code (they're all same except for changing values1,2,3,4 as appropriate)
//call function checkAnswer1 (set in frame 1)
on (release) {
checkAnswer1();
}
Thanks for any help .
[AS] More Weird Things
Hi,
another weird behavior... here goes the code:
ActionScript Code:
mc.onRelease = function() {
for (var i = 0; i<links.length; i++) {
this._parent[links[i]].container.colorTo(0x6D0101, 1, "easeOutQuad");
this._parent[links[i]].onRollOut = function() {
this.container.colorTo(0x6D0101, 1, "easeOutQuad");
var tween1 = new Transition(this.container, "_xscale", 100, 0.3, 1);
var tween2 = new Transition(this.container, "_yscale", 100, 0.3, 1);
var tween3 = new Transition(this.container, "_x", 0, 0.3, 1);
};
}
this.container.colorTo(0xFFFFFF, 0.1, "easeOutQuad");
_root.gotoAndPlay(this.id);
this.onRollOut = function() {
var tween1 = new Transition(this.container, "_xscale", 100, 0.3, 1);
var tween2 = new Transition(this.container, "_yscale", 100, 0.3, 1);
var tween3 = new Transition(this.container, "_x", 0, 0.3, 1);
};
};
mc.onRollOver = function() {
this.container.colorTo(0xFFFFFF, 0.1, "easeOutQuad");
var tween1 = new Transition(this.container, "_xscale", 130, 0.2, 1);
var tween2 = new Transition(this.container, "_yscale", 130, 0.2, 1);
var tween3 = new Transition(this.container, "_x", -4, 0.2, 1);
};
mc.onRollOut = function() {
this.container.colorTo(0x6D0101, 1, "easeOutQuad");
var tween1 = new Transition(this.container, "_xscale", 100, 0.3, 1);
var tween2 = new Transition(this.container, "_yscale", 100, 0.3, 1);
var tween3 = new Transition(this.container, "_x", 0, 0.3, 1);
};
these are the actions applied to all of my navigation items (buttons, if better). It works nice the first two or three clicks. Then it the colour transforms do no longer work.
I use the lmc tween class for it. Quite usefull but seemingly buggy. Not sure though. Maybe some AS guru could help me out.
Greetz
GetUrl Does Some Weird Things........
when i have ever done a get url, in the form of a mailto link, eg an email link, before it opens outlook or what ever the email prgram on the persons machine it always seems to open the web browser first , then open the email app, it this a mac bug or am i doing something wrong
Projector Doing Weird Things
ergh!
my projector is working fine on mac (i used a mac to make my file)
somehow though, it freaks out a bit on pc.
the pc version appears and you can open it and basically it all works, but my sound freaks out sometimes.
i have an introduction sequence with music, which is fine, but then when it gets to the main interactive part, there are buttons to turn the sound on and off, and also three buttons each with a new song (they stop the previous song and start playing the new one). i also have videos with play buttons, and when they are pressed they stopallsounds first so the music isnt playing while the video is on. hope this is making sense.
but what happens is this
- the sound off button doesnt work
- if you press a button for a different song, it just plays right over the one thats already on
- and when you play a video, the bg music doesnt stop
what is particularly weird is that this only happens on pc and only happens occasionally.
my boss checked it on his pc- the first time none of the sound stuff worked, the second time it worked fine- a similar thing happened to someone else who tested it for me.
it seems that stopallsounds is somehow not working on pc.
has this happened to anyone else?
does anyone know what this could possibly be?
cheers.
MClip Scroller Doing Some Weird Things
Hey guys and gals, I was wondering if someone could have a quick look at my MClip scroller and tell me whats going on with it.
The up and down buttons work fine, but the center peice when dragged does'nt work. Once you click on the center peice too and then click on either the up or down button the center peice keeps scrolling up/down as does the MC.
The file is attached: http://www.strangeworld.co.nz/scroller.zip
cheers
Rhys
Variables From XML And Functions- Weird Things, Please Help?
I have several variables that I am dynamically loading from XML. Weird things are happening.
The variables are loading just fine and dandy from the XML in the first lines of my AS. I'll try a a trace and it says yes- variablebob= 52
Further down in my AS, I need those variables to use in functions. In a regular function and an onEnterFrame function. suddenly variablebob can't be found. I need to ask it to go back to my XMLdocument and redefine the variable.
Is there something I need to know about variables from XML and functions?
Weird Things On A Mc Timeline Control
I´ve worked on a flash movie on which abnormal things are going on ;
Simple timeline control commands are not recognized (despite of frames being correctly addressed , all with frame labels ).
Then I made up my mind to discard an almost ready mc and start from clicking NEW , remake all the work from nothing and realized that this time I could have more control of the mcs.
Now to my chagrin , , it happens again:
I have placed this : loadMovie("flash/erp_sistms_20.swf",20); on the timeline of another movie loaded on level10; the mc does not load (can assure that the file is placed in the folder flash and when tested alone it runs perfectly);
Maybe some of you have already experienced something like this and could give a hint.
ps.: I am working @ 40 frames/s , as I have never done so I suspected that it could be something related to frame rate , then I reduced to 12 fps and experienced the same trouble
Dynamic Text Doing Weird Things
hi,
i have created a presentation using flash mx 2004 pro on a mac. it makes use of dynamic text and displays just fine. recently i loaded flash 8 on my machine. when i try and play the presentation now, any text field that uses a special character like a registered trademark symbol bolds the line of text that character is in. i have no idea why. could it be a conflict with versions of the flash player? any ideas??
thanks!
Weird Things With Delegate Class
Hi all,
First of all, I'd like to say, I've tryd just everything instead of reinstalling Flash 8,
hopefully not
Heres my Problem:
I'm doing a Class, write it with Sepy, all worked well for me (Delegate too!!),
I wanted to try out Fuse first time so i imported the classes.
After that, I got that error (unknown variable: Delegate), I got nother Delegateclass compatible with MTASC, tryd DONT work.
Now, I cleared ASO
restarted flash, sepy - nothing
removed the Fuse Class off my code - nothing
after all, i tryd Delegate in Flash 8 with a simple test snipped (btn placed on stage):
ActionScript Code:
import mx.utils.Delegate;
function traceup()
{
trace("AAAAH");
}
btn.onPress=function()
{
Delegate.create(this,traceup);
}
It wo'nt trace.. I'm @ the very end,
Please anyone try that simple thing or tell me that it cannot not work..
Regards
Weird Things Start At Frame 15000
Hi guys,
I'm currently working on a huge presentation...
Things go on, and my flash file now has around 16000 frames.
I noticed some very weird things happening when I'm trying to edit anything in the timeline, from frame 16000 and above...
Ex.: I try to insert a keyframe, but it's inserting blank keyframe instead, from the keyboard short cut and from the dropdown menu...
Anybody knows why?
Is there some limitations from the software?
I searched a couple of forums, and I have found no answer...
Does It Make Things Easier To Plan Things Out Before Programming?
I know this may seem like a stupid question, but as a Actionscript beginner i'd like to know if its easier to plan things out before hand. Basically i've got to make a Class that does the following:
- Creates a shape with a size and colour defined by values passed through the constructor
- the initial position of the shape should be passed to the constructor
- the horizontal vertical speed should be passed to the constructor
- the initial direction (up or down) should be passed through to the constructor
- the shape should reverse direction on "impact" with the stage top and bottom.
Now i want to make the thing itself, but i think im going to struggle. unless i make a really decent plan of the class. so can anybody recommend what the best way to plan out this is?
if anyone can help, i'd appreciate it - if not, no worries.
Help: Weird Or Not So Weird Thingy With Dynamic Text Animation
http://www.david.bullaro.com/
there are 3 buttons on the right side education, experience and awards. Each loads an MC that then motion tweens into view from the side. The MC dynamically loads a text file. At the end the text blinks once. I understand the blink because i needed to reload the text for that keyframe but is there anyway around that blink?
TIA.
[F8] How Do I Get Things To Follow Things?
I'm trying to get the enemy follow what you control in an overhead game and my current actionscirpt is...
onClipEvent(enterFrame){
function locate(uuuxe) { //function name is locate()
xd=this._x-_root.uuuxe._x //the difference in-between this symbol's x and the other symbol's
yd=this._y-_root.uuuxe._y
npx=(xd+yd)/Math.pow(2,1/2)
npy=(yd-xd)/Math.pow(2,1/2)
if(npx>=0 && npy>=0) {
this._rotation=0
this._y-=2.5
return 1
} else if(npx>=0 && npy<=0) {
this._rotation=270
this._x-=2.5
return 2
} else if(npx<=0 && npy>=0) {
this._rotation=90
this._x+=2.5
return 4
} else {
this._y+=2.5
this._rotation=180
return 3
}
}
}
What am I doing wrong? Thanks!!
FlashNoobXanthus
Why Is This Happening?
i'm calling a javascript function from a "onClipEvent (mouseUp)" see below:
onClipEvent (mouseUp) {
getURL("javascript:info('test.htm')");
}
here's the javascript:
function info(URL) {
window.open(URL,'test',blah blah etc);
}
it works fine and does what i want BUT... now this is what i do not understand: ALL the other movieClips also call this function when you click on them even whether they have an action assigned to them or not.
What is happening and why, please help, please.
ben
Why Is This Happening?
I have about 5 scenes in my movie and for some reason, when I test it, it automatically jumps to the 2nd scene. I have put a stop action in the first scene, so what gives?
Not Sure Why This Is Happening...
Hey all, I have a movie which is 750 pixels wide. I also have an image which is 1200 pixels wide. I want to have the image be on the stage and then scroll to the left so you can see the rest of the image... But when I preview my movie the and even publish it.. the stage is more than 750 pixels wide... it shows almost the entire picture... Why is it showing stuff that is off the stage? Any idea how to fix this?
|