Hey all,
Im fairly new to the forums, but have been on the site quite a while,
hope someone can help.
I want to create a space, that people can write in, i guess you would use input text, But, i want it to have a save and load feature, and also, how would you put in a button that cleared all text from the box, how would you make an exit button, how and lastly how would you make a change of font button.
I know that people will probably get angry with me, but i hope someone can help.
Thanks,
Ben
Welcome to kirupaforum=)
Now we’re all very angry:lol:
Not sure what you meant with the saving and loading, but have a look here
http://www.kirupa.com/developer/mx/sharedobjects.htm
For the clearance of the text
on(release){
yourTextfield.text = "";//yourTextfield is the instancename of your textfield
}
The exit button depends on your setup and for the font button look up new Textformat() in AS dictionary;)
scotty(-:
Hey there scotty,
thanks for the welcome,
i wasnt implying anything with the anger comment, just that alot of people on forums get angry at “noobs”.
thanks alot and i will get to this as soon as possible, but (as if right on que) my mouse broke about 5 mins ago.
thanks alot,
Ben
time to enjoy the benefits of the TAB key then eh?
Prophet.
Oh yes prophet, oh yes.
luckily i was able to bargain my local computer dealer into selling me a mouse, that would have cost $50(AUD), down to $25(aud), for a scratch in the side:azn:
To clear things up for anyone, i am making almost like a Notepad simulator, or similar, at the moment i have the basic design, and the maximize button ( i only started this morning) but with the maximize button, im uising the code:
on (release) {
fscommand(“fullscreen”, “true”);
}
and this makes it go full-screen, i was just wondering two things,
is there a way to make it so that it just goes to its maximized size, like the max in IE (not F11 max though)
and also, is there a way to make a minimize button,
thanks in advance,
Ben
Edit: Also, at the moment i’ve just got a stop(); frame at the beginning, and a play button, but is there some code to put on that frame to say when loaded, play the movie??
look up preloaders
Prophet.
in response to your implication about people getting angry at newbs - it annoys me when people start appologising for something that may never come about, that they have not yet done.
… something to think about.
for minimize ,something like this might be what youu want
mybutton.onPress = function() {
getURL(“javascript:window.self.blur();voide(0);”);
};
cyberathlete, your not getting angry are you?? lol!
Prophet.
I think he is but I appologise if I`m wrong> :lol:
Hey all,
thanks for all your responses, sorry abou the comment before, just that its happened to me before, guess the people here are actually nice, guess i shouldnt have said it. :beam:,
anyway back on topic,
i figured out the preloader- i used -
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(5);
}
seems to work fine, and unfortunatly stringy, the command you gave me didnt work,
thanks anyway
BeN (flashy22)