Stupid Qustion....
Hey I dont usualy do much code but I do a lot of animating. Anyways I have a link and I want it to open up uin a new window, I know it's got somthing to do with _target=blank??? or somthing like that....anyways here is the string of code im using now. this one opens in the same window, i need it to open in a new one.
on(press) { getURL("http://store.nokia.ca/home.php?cat=249&sort=orderby&sort_direction=0&page=6","_parent"); }
Ultrashock Forums > Flash > ActionScript
Posted on: 2006-01-03
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Small Qustion
hi everyone iam a new user of flash MX , there is something i want realy to do it but i dont know how. that is i have a text file and its about 700 page for sure its too big to put it all in the project so i want to know the action script which enable me to call or view the text file in aseperate window when i hit the button throw the flash project .. please send me the way or the action script on tantawymaha@yahoo.com .. thats all thanks for your help
maha tntawy
Button Qustion
i need help, I have a button i am making, i want it to have the text to go to a slow transition to another color. So it is slow, it will start as white on a navy blue button and then slowly transition to a green text on a navy bluw back ground.
Thanks
LoadVariables Qustion
Hi all.
My problem is this one.
I have a .txt document that set these values.
&Maxserie1_1=Bilder/3dsmax/BallLek/Mini/BallLek1.jpg&
&Maxserie1_2=Bilder/3dsmax/Racers/Mini/Racers1.jpg&
&Maxserie1_3=Bilder/3dsmax/Hayabusa/Mini/Busa1.jpg&
&Maxserie1_4=Bilder/3dsmax/Mack/Mini/Mack1.jpg&
Is there an easier method than the following:
imagearray[1]=Maxserie1_1;
imagearray[2]=Maxserie1_2;
imagearray[3]=Maxserie1_3;
imagearray[4]=Maxserie1_4;
..
imagearray[100]=Maxserie1_100;
With lot's of images this could become a problem.
I was thinking about a for loop
for(var i=1; i>100; i++) { //an ordinary for loop
imagearray[i]= ?? ;//what I'm I suppose to write instead of the 2 questionsmarks
trace (imagearray[i]);//should write Bilder/3dsmax/BallLek/Mini/BallLek1.jpg
Not 1 or Maxserie1_1.
}
The ["Maxserie1_"+i] don't work here!
Alekssander
Qustion About XML And Actionscript
I try to open a UML in flash using actionscript
There is my code:
var request:URLRequest = new URLRequest("Request.xml");
var loader:URLLoader = new URLLoader();
function loadComplete(event:Event):String {
this.loader = loader;
return loader.data;
}
//output undefined
trace(loader.data);
The problem is my other function can not use loader.data.
And I can not return it as a string
Is there a way to use load.data in other place?
Maybe Unusual Qustion
hi guys!!
i'm heaving a problem with macromedia flash...
i have designed a webpage and in page created a kind of flash photo album.. now what i want is when someone click in the photo to open a movie in Win.MediaPlayer outside of browser, .. i'm planing to use this page in Lan mode like a movies launcher.. so the page is not going to be on internet, all activities are going to be in LAN, but i dont know in which way to do this, link a photo or a button that would open a movie in winMP.. is there a way to help me on this.. i will appreciate very much that!
Help With Dumb Newbie Qustion
i'm having trouble doing something
i want to constrict a dragable object on a line on the y axis, like a scroll bar.
every tutorial i've checked out on this site goes into intricate detail of how to make complicated scrollers but i haven't found that little piece of info.
please someone put me out of my missery
Imported Jpeg Qustion
If I want to import a picture of something that isn't a box or circle shaped object, like a bird for example, how do I get rid of the white box shaped border around the object? I can't lasso the object since it wasn't created by flash...is there a way around this?
[F8] Quick ActionScript Qustion.
Alright so heres what i want to do.
I have a movieclip thats called into another movieclip.
That movieclip contains 4 dynamic textboxes .
and this movie clip is called in multiple times when certain buttons are pressed so I use (+i) when I add a new movieclip.
What I want is for the information in these text boxes to be sent out in a php email.
How would I go about doing that.
Any help would be great.
ButtonMC Qustion For Da Scripterz
Ok, I know I posted something like this the other day, but I figured out the solution. Now I have a question that experienced scripters might be able to answer for me.
When the mouse rolls onto the clip, the animation plays. When it rolls off, it plays. However, if the user moves off before either animation is finished, the results are less than desireable. I'm thinking I need some sort of test or anything like that. I've thrown up the .fla and if anyone can help me out, many thanks to you
peace
ayanami
Payment Qustion... Opinions
hi,
one guy asked me if i can build him a FLV player like www.proxus.com and i think i can... how much should i charge him for this kind of component ?
tell me your opinions. thanks
Basic Html Qustion
i know this is simple... how do i center my swf on my html page vertically... so no matter what resolution the screen is set at, the swf will be exactly in the middle?
thanks
Quick Qustion - Difference In Streaming
Hi, I am new to the back-end work of the websites ( I am a webdesigner). I have been trying to understand exactly what a streaming media server is? so when I am hosting my website on a particular server, is not the same thing? what is the streaming server used for specifically? Thank you
[qustion]rollover Effect Stay On Button
eg. i want my rollover colour to stay when user mouse down on the button... i had ever try to do a stop(); at the down keyframe, but i notice that the button clip unable to put any action script, is there any alternative?
Qustion Embed Flv Movie In Flash Website. HELPPlease
I made a flash site which embed a skinless flv video
(file name play.flv) in FLASH CS3. BTW, i do this coz
Flash can give a skinless flv movie but dreamweaver can not.
After publish, CS3 grenarate 3 files,
A swf file : Play.swf (same name as my flv file) ,
A html file : index.html
A Javascript file: AC_RunActiveContent.js
have no prolem when i preview on my computer
BUT After i upload these 3 files and my original flv file to server, i cant not see my flv movie playing at all. Also not work when i try this in Dreamweaver.
anyone can give me a idea what can i do?
thanks very much for your time!
Stupid Question Coming From Stupid Newb...
Yeah, I know this is probably the stupidest question you're ever going to here, but I'm desperate and I can't find out anywhere, so as embarassing as it is, this is my last resort.
How do you increase or decrease the thickness of lines in Flash MX?
Stupid Workspace Changing After I Save It (Or Stupid Me)
I have a dual-monitor setup and I have my timeline, stage, and properties panel on one monitor. That's all fine.
On the other monitor, I have the actions panel in one group and about 3 panels grouped into another group. The actions panel takes up the left 2/3 of the screen and the other panels take up the right 1/3 of the screen. That works fine.
I want to switch the actions panel with the other group of panels, so that the actions is on the right 2/3 of the screen and the other group of panels are on the left 1/3 of the screen. Problem is when I save my workspace layout, it somehow defaults the actions to the left side of teh screen and the other panels to the right side of the screen! It's driving me crazy. Anyone have any tips? Run into similar problems?
Stupid Question,,, But Feeling Stupid
why wont " ' " show up in my text which is dynamically imported from an html formated text file.
i know that " means " but what is a single quote?
helllppp
Stupid Employer, Stupid Question
hey there. my current employer currently has a header on an html page with a banner inside it. it looks like crap but his "web guys" have told him that the banner must stay in the exact place that it is otherwise it will destroy his flux capacitor or something along those lines. so im stuck trying to design a flash header for this guy with an animated gif banner inside of it. kinda like the gif banner is the hole in the donut. i guess my question is how do i leave the hole in the donut blank for the gif to be tossed into it without having to make 8 "sliced" flash movies that work together? sorry and i know theres an easy way to do this, i just havent touched flash in a few months and im rusty as all tarnation. thanks in advance
Stupid Question Hopefully Not Stupid Answers
I have put a trace on a variable that i use as a counter in a loop.
Everytime the loop in initialized it shows "undefined" before counting.
Can I ignore this or will it have some future impact on my work????
Stupid, Stupid, Stupid Question
But I need to know.
I'm learning actionscript.
How come sometimes the script is placed in ( ) and sometimes in [ ] what does each mean?
ex. (if move ==1)
or _root.Array [_root.arraysize]
thank you
Set Variable Stupid.user="stupid Question";
right... i got a bit of help with this yesterday but i need some more now....
lets say i have 1 button with 10 instances of it in a movie.
when you point to each instance, i want different text to hover over it.
with help from someon on here yesterday, i have now set up a dynamic text field on the 'over' frame of the button, and i have done the set variable lines saying:
button1.text = 1 banana
button2.text = 2 bananas
button3.text = 3 bananas
and so on, but i don't know how to tell each instance of the button what button it is.... so in other words, how do i tell button 1 that it is button 1 and button 2 that it is button2, etc?
Stupid Says As Stupid Does (variables)
I have an actionscript question::
I need to pass variables from html to flash but have run aground......
in the html :
username='ted'
in the flash movie
button action: http://www.happy.com/username
(obviously the username is equal to 'ted')
How do I do this????
please respond w/ a solid answer - 'cause boy it looks easy , but man am I stumped!!
Thanx
Stupid Stupid Preloader
I have a simple preloader animation that is suppossed to loop as my main page loads (take note, this IS NOT a progress bar!!).
As the animation is looping, the percentage of the movie loading is suppossed to be displayed. However the preloader never advances past the first frame in the preload scene (I'm keeping the preloader in its own scene to keep from adding keyframes to every layer in the main scene).
Here is the scripting I'm currently using:
Preload scene>>
frame 01:
percent = Math.floor(getBytesLoaded()/getBytesTotal()*100);
myOutput.text = percent + "% is loaded";
frame 02:
if (percent == 100){
gotoAndStop(3);
}else{
gotoAndPlay(1);
}
frame 03:
gotoAndPlay ("xscene:, 1)
Is there something missing? Something I did wrong? Help!!
Stupid, Stupid Masking.
Im kinda at a loss, and am thinking my problem lies somewhere in the software.
Im trying to animate a mask over a button. The mask works but the button is having issues. Whenever the animated mask hits one of its keyframes, the button stops working for (1) frame; ie, the up state becomes visible for (1) frame. Kinda sucks if you happen to be pressing or rolling over the button at the time.
The mask isnt a gradient or a symbol, just a crappy shape that moves.
Anyhow, when I publish the movie in Flash6 it works just fine but anything less and I get the glitches. Is there a workaround or something?
Stupid Stupid Stupid Stupid Arg
Well, I obviously suck.
In the tutorial for making a scrolling text box in Flash 5, I'm not understanding something. The following code.
onClipEvent (enterFrame){
if( scrolling == "up"){
daTextBox.scroll--;
}
if( scrolling == "down"){
daTextBox.scroll++;
}
}
How on earth do you get the "daTextBox.scroll--;" line? Do I use the Operator "--"? or do i use the Function "scoll"? or something totally different?
My efforts end up looking like this....
onClipEvent (enterFrame){
daTextBox.scroll--"
if(scrolling == "up" scrolling == "down" daTextBox.scroll++{
This no work :-P
Basicly... wht do I use to the get the
daTextBox.scroll--;
and
daTextBox.scroll++;
to appear as it said it should in the tutorial....or does it matter?
Thanks for your help...
Justin
OK, I'm Stupid
I created a file called data.txt with the following:
&test=#test#&eof=1
My flash movie has 3 frames and two dynamic text boxes named First and Second the frames have the following code:
loadVariables ( data.txt, 0); //frame1
if(/:eof=1) {
play();
} //frame2
else {
gotoAndPLay (1);
}
First = _root.test;
Second = "Check3"; //frame3
stop();
The textbox First remains blank!
Please help the idiot
I Am Stupid
I have no clue how to even get started I am a fully licensed pilot so I can be trained in flash tech stuff lol Please help me get started My ICQ is 126212199
Got To Be Something Stupid
I've got a .swf with a preloader on it that is giving me problems. The .swf is composed of 2 scenes. scene 1 = preload and scene 2 = (lol well)scene 2. Here is the code for the preloader. It's a real simple one. Just has the word loading with 5 periods apearing then disapearing.
if (this.getBytesLoaded() != this.getBytesTotal()) {
nextScene ();
}
I also tried putting Scene 2 (1) in the code for the target. But when I test the .swf the preloader well just keeps going and going and going. It's like its not recognizing the target.
By the way i have to keep the movie set up this way, with two scenes i mean.
Any ideas what the problem could be? HELP please.
::::::really Stupid:::::::
I lost my customer support card. To make a long story short
I need the product code. It start with:
FLW-500
if any know the rest please help me!!
I Think I'm Being Stupid Can Someone Help.
I'm trying to make a nodeValue show up in a text box called diaplay. It's so that I can have some xml containing a load of short news articles. I'm falling down at the first hurdle though. I can get it to display the nodeType, but when I put in the bellow code and run it the text bax remains blank.
Here's the actionscript:
news = new XML();
news.onLoad = show;
news.load("buncle.xml");
function show() {
article = new XML();
article = news.firstChild;
text = article.nodeValue;
display = text;
}
and here's the xml
<?xml version="1.0" ?>
<newz>
<article>Display me!!!!!!!!!!</article>
</newz>
I'm sure I'm just being really dumb and the answer is simple, so can anyone tell me what it is?
Because Im Stupid....
i need some help.. i made a banner thing using swish 2.0 for my website. for my website i use geocities so is there anyway to put the banner thing i made onto my website? please help me cause im knowledge impaired...
Really Stupid...i Don't Know How...
Does anybody know how you can position a movie loaded by loadMovie???
I know it will automatically position according to the parent movie but i want to reposition it....but how??
I searched the web but couldn't find the answer. Hopefully somebody can help me.
Thanks!!!
Im I Stupid Or Not?
Please feel free to tell me.....
I have some dynamic text fields in movie clips with names assigned to them (movie clip has an instance name and the text field has a variable name).
When i try to call them from the root (using the correct path and syntax)It doesn't work!!
has anyone had this problem?? Dos anyone know how to do it?
Cheers
I'm New And Stupid
OK. Hi everyone! I'm baby-stepping my way through Flash5 and have run into something that I can't figure out. I'm working on a project in which if you drag and drop something into a specific place, the movie continues. I have the drag and drop button all done, but I have absolutely no idea how to set up the rest. How can I get the movie to recognize when the object is in the right place, and then continue playing the movie?
Hopefully that makes sense as I described it.
Thanks in advance for anyhelp on this matter that I get.
-Sandy
PS - I know absolutely nothing about action scripting yet, but am learning. So if you have an answer, it would be a big help if it can be explained as simply as possible.
I'm New And Stupid
OK. Hi everyone! I'm baby-stepping my way through Flash5 and have run into something that I can't figure out. I'm working on a project in which if you drag and drop something into a specific place, the movie continues. I have the drag and drop button all done, but I have absolutely no idea how to set up the rest. How can I get the movie to recognize when the object is in the right place, and then continue playing the movie?
Hopefully that makes sense as I described it.
Thanks in advance for any help on this matter that I get.
-Sandy
PS - I know absolutely nothing about action scripting yet, but am learning. So if you have an answer, it would be a big help if it can be explained as simply as possible.
Is This A Bug Or Am I Stupid ?
I have to create some textfields with as, using the command:
_root.createTextField (newname,t,110,150+(t*20),180,128);
only instead of "_root" I want to use "this" or whatever the name of my movie clip is.
But this does not work...
it only accepts "_root"
what's the deal ?
Am I This STUPID?
Hi.. had flashMX for a while now, but im just starting to use it.. Im soo comfortable with Flash 5's layout..
anyways, i have this stupid problem..
you know when you extend the frames? I tried to select the excess and delete it.. but it doesnt just delete what i have selected.. also the KEYFRAME itself! SO ANNOYING!!!
if you dont get it, lemme explain..
say I have this cute ball starting at frame 1 - 30
now, I decided to just have the from Frame 1 - 15..
so i select Frame 16 - 30, then press 'delete'.. in flash 5 this works, but in MX, it not only deletes the selected fram, but includes the whole darn unselected frames (1-15)
so, What I did was hit F7 (blank KF) on the 16th. now, I like to get organized, so I usually delete blank keyframes.. so i selected the blank key frame and press 'delete'.. now the Darn thing wont get deleted!!!!! and I cant seem to find a way to get rid of the blank key Frames!!!!
This is freaking annoying me!!!!!!
*hypertenz*
Stupid Me
ok i know it sounds stupid but its verry late and just want to finish this. how do i rotate al line (stupid me). i mean. i need a line to rotate like a airplaine propellor hope u guys know what i mean. alsow it needs to come to a line from 1 point. wonna go to bed
Am I Stupid
I have macromedia flash MX and i need to make an intro for my site but i don't know how the animation process works I need step by step info on making an intro for my site. If maybe you know what to do could you tell me what you know about it. Or if you have any sugguestions about my site it would be most helpful. The URL is: http://www.thelaw.cjb.net
Stupid Mx
for some reason i cant get my custom cursors to work in my... what exactly is that actionscript?
Mouse.hide();
w/ startdrag the cursor instance name?
What Is This Stupid Bug ?
can someone explain this to me ...
i'm doing a small website for a friend where i want to fade photos in and out, now everytime the photo is complete it moves strangely in itself...
check it out at http://www.verklangwelt.de/vio - go to "KOLLEKTION" and choose a picture in the scroll menu and you will see what i mean.
strangely enough when you zoom in it des not happen....
any clues on that one ?
it's driving me up the wall !
I Must Be Stupid
okay, i don't know what i'm doing wrong. i've been working with AS for a little while, but apparently i have not had to approach this problem yet, and it's driving me crazy, because it should be so simple! i'm trying to call a function that is defined inside a movie clip on the main timeline. i know that you can do this, i've seen examples from people on this site discussing calling functions and how to reference them, but i just can't make it work in my movie. but i won't even discuss what i have in my movie that might be acting strangely - i'll just discuss this test file i made to prove to myself that it works (but that sadly failed).
1 frame, 1 layer. in the frame, the function testFunction(); is called. in this frame, there is also a movie clip with the instance name functiontest_mc. in functiontest_mc there is 1 frame, 1 layer and the function is defined in the frame as:
function testNewFunction(){
trace("pleeeease load the function!");
}
i have tried to call the function from frame 1 of the main timeline multiple ways. i tried:
_root.functiontest_mc.testNewFunction();
functiontest_mc.testNewFunction();
i also tried to trace both of these, but they're always undefined. HOWEVER, if i try to trace functiontest_mc._x with or without the _root, i get a value. so it can see the MC, but it can't see the function. can anyone tell me why??? this is driving me nuts! in my other file, i thought maybe it was an issue with frames, but that obviously isn't the case here. is there an issue with how i'm defining, or where i'm placing the function? thanks in advance for ANY help anyone can throw my way!!
I Know This Is Stupid... But PLEASE Help Me
I really need to learn how to load outside SWF's into a main SWF.
I dont know how this is done.
How do you controll where it goes? Whats the command?
How do you give it a transparent backround?
Id REALLY appreciate some help.... thank you EVERYONE!!!!!
eFM
I Must Have Done Something Stupid :(
Well at least that's what I think. I was trying to see the attachment about the Stickman moving (posted in the Newbie forum). Downloaded it but when I double-click on the file, nothing happens. The icon has the blue "E" Internet Explorer symbol on it, if that is of any use.
I might have accidentally asked the computer to "open every file with that extension with IE". If that's what I did, how do I undo that?
Thanks!
Stupid ?
If I have my domain registered under register .com and my site hosting by glyto.com. how does that work . Do I have to enform regisiter .com the deal or do the hosting company take care of this . I'm lost
Thanks for your help
Stupid Stupid Stupid
I dont know why i am having grief with this but I am..
validate an empty input field...
this is the current code
on (release, keyPress "<Right>") {
if (personal.first_name ==""){
_root.validate.play();
}else{
nextFrame();
}
}
The Input text field for first_name(variable name is first_name)is in a movie clip called personal which is contained in ratings.
I have tried
first_name =="", ratings.personal.first_name=="", _root...
In a nutshell all i want it to do is check to see if the field doesn't have/contain blank data if it does then play the fricking error message (movie clip) if not then move onto the next fram...
baffled
rigpig
Stupid...
pretty simple question, no idea while it is not working. i have a button using the code...
on (rollOver) { stanthonys-motion.gotoandplay(2); }
there is another movie clip on a different layer (same scene though) with the instance name "stanthonys-motion"
inside that movie clip are stop actions on frame one and frame 4. The point is that when you mouseover the button, this should change to the 2nd frame and play until it hits that stop frame at 4.
it wont work at all though. any ideas?
russ
|