Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




WHAT R THE RULES . . .



what are the rules about adding footers?



FlashKit > Flash Help > Flash Newbies
Posted on: 03-22-2002, 03:34 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Pop Up Rules
I've been using the same process for pop up windows in Flash for a while now and it isn't very consistent among the browsers. Could someone tell me if there's a better way than this:

<head>
<script>
var WinNum=0;
function WindowOpen(Url,x,y)
{
var String;
String = "toolbar=0,location=0,directories=0,status=0,menub ar=0,scrollbars=0,resizable=0,copyhistory=0,top=0, left=120";
String += ",width=";
String += x;
String += ",height=";
String += y;

WinPic=window.open(Url,WinNum++,String);
}
//--->
</script>
</head>

In the flash link:
Javascript:WindowOpen('bannersample.html',450,130)

Please Help
-Thanks-

The For..i Rules?
Hi,

In my flash document I have a draggable movieclip (instance name Calc)
When this movieclip enters the area of buttons I want to disable the buttons.
This is done by the following script:

onEnterFrame = function() {
if (Calc.hitTest(button1)) {
button1.enabled = false;
} else {
button1.enabled = true;
}
if (Calc.hitTest(button2)) {
button2.enabled = false;
} else {
button2.enabled = true;
}
if (Calc.hitTest(button3)) {
button3.enabled = false;
} else {
button3.enabled = true;
}
if (Calc.hitTest(button4)) {
button4.enabled = false;
} else {
button4.enabled = true;
}
};

I have got over 7 buttons per frame.
This script is becomming too long already, let alone when I complete the script for all the buttons.
What are the rules of an for..i statement so I can shorten this script.

Thanks,

Bart

Gimme Some Rules
Has anyone come across some material covering how to build up a site with lots of code?

What I'm thinking about is issues like global varialbles -Should they be used or not?

Where to place classes?

How to structure movieclips?

How to make it 100% OO?

Masking Rules
Does anybody know if it is possible to have more than one (motion tween) movie clip object running on a mask layer?

I have tried a few experiments but cannot seem to get this to work.

Is is best to have separate layers for each masking object?

thank you,
ET

Just When You Thought The Rules Applied...
Help me, please!

I thought everything was working, but of course it's not. If you've got access to a dial-up connection look at this page (even if you don't look at it anyway):

http://www.samuelnau.com/intromusic.swf

What you should see (I'm pretty sure of it) is a standard "percent loaded" textbox and a big "SN" filling up as the loading progresses, followed by my soundtrack playing. That seems to work fine both off and online. You'll see what I mean best if you are on a slower connection.

Now go to this address:

http://www.samuelnau.com/intro.htm

What you <should> see is the same animation from the last address, except that afterwards a bit of text fading in and out in time with the music should appear. This file loads "intromusic.swf" into it's timeline into a targeted MC called "soundtrack".

But what I get is that "intromusic.swf" is loaded into "intro.swf" into "soundtrack", but none of the nifty preloading animation ever happens. The sound plays after it loads and the animation starts when the sound plays, but "intro.swf" acts like the loading progress for "intromusic.swf" is already at 100%. Is something happening to my Actionscript's target paths in "intromusic.swf"?

The confusing part is that this only happens online. Test it in Flash, both parts work like they should.

Even more confusing would be if my target paths are modified when I load "intromusic.swf" into "intro.swf" then why does one part of "intromusic.swf's" Actionscript seem to work but not another? "Intromusic.swf" has a preloader frame loop that waits until the movie is fully loaded before the sound plays and when the sound plays it sets a varible to a certain value. Meanwhile, "intro.swf" keeps looking for this certain value and starts it's animation when it sees it. Any ideas?

Here's the script I'm using in "intromusic.swf" to get the big "SN" to act like a preloader bar:

bytesLoaded = _root.getBytesLoaded();
bytesTotal = _root.getBytesTotal();
progress = (bytesLoaded/bytesTotal)*100;
loadblock._yscale = progress;

That works when I test it in intromusic and intro. And this script is for the "percent loaded" text box:

bytesLoaded = _root.getBytesLoaded();
bytesTotal = _root.getBytesTotal();
evenprogress = Math.round((bytesLoaded/bytesTotal)*100);
percent = evenprogress+"%"+" "+"loaded";

And this is the script that preloads intromusic:

bytesLoaded = _root.getBytesLoaded();
bytesTotal = _root.getBytesTotal();
if (bytesLoaded == bytesTotal) {
gotoAndPlay ("music");
}

Those also work when I test intromusic and intro. But try it online with a dial-up connection and the only part that works is the preload script (the 3rd one I listed). It will wait until the sound is loaded set a variable to "play" and intro sees that and plays its animation. The preload animation stuff gets ignored.

I hope someone is reading this, because I really need to figure this out. I'll be your best friend if you can solve my problem!

Do I need to change my target paths to get this to work? Or do I just have some wierd problem on my hands?

Thanks to anyone who can help.

-Sam

Am I Breaking The Tween Rules?
I am developing a Flash that is an animated flow diagram containing several flows. I will use buttons that a user clicks to select one of these flows. Upon a user click, a symbol makes its way through several points in the flow, moving and turning until it reaches its final destination. I want the symbol to stop at each of these points for a second before proceeding to the next point and I need some advice about the easiest way to do this:
In the same layer that contains the moving symbol, I tried using multiple motion guide tweens between the points, but it doesn't seem to work. I can set up one motion guide tween OK, or I can set up a series of just "regular" motion tweens, but it seems to mess up wheneve I use more than one motion guide tween in the same laye or if I combine motion guide tweens in the same layer as "regular" tweens. What are the tween rules:
1. Can you only use one motion guide tween per symbol per layer?
2. Can you combine regular tweens in the same layer as motion guide tweens?
3. Are you limited to using only one symbol per layer for motion tweens?
Alternatively, is there a command in Actionscript or some way to have the movie pause at these points in the flow so that I can just use one motion guide tween for the entire path for the symbol? That may be the easiest solution of all if such exists. Thanks for your help. Sorry for being so wordy.

Why Doesn't This Work I Followed All The Rules
Quote:





Originally Posted by dudeqwerty


acually i just saw this on another board http://www.amarasoftware.com/flash-problem.htm




I got this to work finally! But i have rendered out the file as version 5 as older people will be using the site and don't want to all be updating to version 8... But now when it plays it adds 2 files! any ideas?

http://www.australianairtours.com.au/testflash5.htm

Flash Not Following IE Proxy Rules?
We are tyring to use a flash client to connect to our server from a client's machine. We areusing flash media server 2... The client is able to connect using RTMPT but not using RTMPS; They said this is happening becuase the flash client is not connecting thru the proxy and is connecting directly instead.

This confused me becuase as far as my knowledge goes flash connects just like an HTML page would as far as using proxies go, i didnt think it had the ability to go "Around" a proxy. So if this really is the case- that flash is going around the proxy - how would I go about forcing flash to use the default IE proxy settings??

Thanks!

Rules For Posting Contest?
Hello Forums:

I have a link I'd like to post to a Flash Design contest. I would like to seek permission from administrators of this board before I go ahead and do it.

Please let me know.

Kindest regards.

Cross Domain Rules
Just had a question about the rules for loading movies across domains.

Say if i had a flash running on http://aaa.abc.com and I wanted to load a movie from http://bbb.abc.com, would the flash player allow it without using the allowDomain method.

By allow, I mean the movie which has been loaded can be interacted with completely, I can move it arnd, change props call methods etc.

If not, will the flash player atleast perform a intelligent check for the ip address.

Thanks in advance.

Rules For Import Statements
in folder "Adobe" I have Untitled-1.fla
in folder "Adobe" I have subfolder "com/example/quickstart"
in folder "Adobe/com/example/quickstart" I have file "Greeter.as", in that file I declare "public class Greeter" inside package "com.example.quickstart"
in my Untitled-1.fla I have "import com.example.quickstart.Greeter;" and "var myG:Greeter = new Greeter("...");" and it works.

Now I also have a folder "Adobe/as3cb/greeter" and it contains a file "Script1.as" which declares a public class "Test" inside a package "as3cb.greeter" ... I have "import as3cb.greeter.Script1" which is OK, but I can't declare a variable of type Test... is it like in Java where the public class must match the filename? What are the rules? Where's a good place to find the rules?

Hittesting. Special Rules?
are there any special rules regarding hittesting?
im using this code here and its jus not working at all:
var speed:Number = 0;
var angle:Number = 0;
var angleFish:Number = 0;
fish_mc.onEnterFrame = function() {
radian = Math.PI/180*angle;
this._x += (speed*Math.cos(radian));
this._y += (speed*Math.sin(radian));
this._rotation = angle;
if (pond_mc.hitTest(this._x, this._y, true)) {
speed = speed;
} else {
speed = 0;
speed -= 1;
}
if (Key.isDown(Key.RIGHT)) {
angleFish += 10;
} else if (Key.isDown(Key.LEFT)) {
angleFish -= 10;
}
if (Key.isDown(Key.UP)) {
speed += 1;
} else if (Key.isDown(Key.DOWN)) {
speed -= 1;
}
speed = speed*0.95;
angle += angleFish;
angleFish = 0;
};
im starting to get quite irritated so any help would be much appreciated,
cheers

Pixel Fonts AGAIN? I´ve Followed All The Rules
This is the deal my friends: I´m making my new portfolio, and I´m using
a pixel font. Yes I´m using it with 8 size, with antialias box checked, with rounded X and Y, but my fonts are still blured!!
The strange thing is, when I placed all the elements in the same frame, with the "stop"action in a layer but at the 1st frame, everything was fine, but, when I started to animate I took the "stop"action and placed it in a diferent frame, and the fonts got blured.

This is the strange thing - whenever the "stop"action is above the text (in the same frame)everything is cool, if I put my texts like in the first frame and the "stop"action in the secound frame, the text get blured...

It use confuse..?

Sorry my bad english...
I really need help to this...

Oh, important thing - this texts are buttons - but even iside the buttons I´ve followed the same rules above..


thanx in advanced

hugs

_global Breaking Its Own Rules
As I understand it, variables defined using _global are supposed to be accessible anywhere without using the _global prefix. I seem to have hit a snag, though.

In a nutshell, my previously-defined global variable seems to get treated as a local variable when I use the global within a cool new MX event method...UNLESS I use the _global prefix. Why?

The scenario:

.............................................
Within a nested MC, I initialize a global variable:

_global.nav1cur = "home"

.............................................
A tester on the main timeline correctly catches this this value, confirming that the global "took." Note, WITHOUT using the _global prefix:

_root.msgfield = nav1cur

.............................................
But when I change the value in an event method, I find I MUST use the _global prefix to update the global variable.

This DOES NOT work:

this.onPress = function() {
this.gotoAndStop("down")
nav1cur = this._name
}

But this DOES work:

this.onPress = function() {
this.gotoAndStop("down")
_global.nav1cur = this._name
}

.............................................
Why should I need to use the _global prefix? I would understand if I had made the variable local using VAR, but I didn't.

Anyone know what I'm missing here?

Comment Guidelines / Rules
Do any of you follow any guidelines or rules for commenting your actionscript documents.

I think it is important to find a good pattern in your commenting when working with a team of developers in multiple actionscript files.

Are there unwritten rules to comment your classes, constructors and methods.

Or maybe use the javadoc syntax. I don't know if the javadoc program also works for other files than .java.

Greetings Ontani

Masked Layer Scripting Rules? - Please Help
Hi all,

I am working on a large educational website full of flash games. I have come across a potential nightmare of a problem. I have a deadline on friday and am struggliing with my team to get everything done in time so any help would be much appreciated.

There are games in this site that require the user to click on words within a piece of text eg find four verbs in the first verse of this poem. The text (which is its own mc) exists in a masked layer because it is longer than the screen is tall and cant visually obstruct certain things. I am using a system of arrays to determine if the user has chosen the word before, if it is correct and if the user has completed all elements to a question. I have all this working fine. HOWEVER, I now need these arrays to be referenced or sent to a mc or mcs outside of the masked layer that this text mc is in. When I try to do this I experience very limited success. Which leads me to my question -

What scripting limitations and rules are there that apply to masked layers and also referencing or sending variables between masked and non-masked mcs?

thanks in advance

s

RULES For Combo Boxes/levels WHAT THE *#@*
I am building an interface that at the moment is going to be used to show look and feel (IS NOT FULLY FUNCTIONAL). I have a Base movie on level 0 that loads the top interface level 90 and when I open anymore external movies under _level 90 the combo boxes freak out. Somtimes showing up under level 0 and not viewable other times below itself.

Here is the test link.
http://www.websciences.org/autism_interface/

Does anyone know the rules with combo boxes and if you can only use them on the base level 0?

Login as anything and click the PEOPLE button, ASCERTAINMENT eligibility forms combo box, drop down to telephone screening and click open now. You will see it opens fine. Now go up to the PROJECTS button and click any PROJECT LISTS drop down and select open now. That is when the combo boxes start to freak out. Drop downs are under the background...!?

Anyone?
THANKS
HYPEREALISM

Rules For Accessing Instanciated MC Inside Others?
working with AS2.0 and Flash MX 2004 Ive run across a small problem trying to acces a clip inside another, I'll try and explain.

I have a movie clip, its called "brick" and I have abut 40 of these placed around inside a movie clip called "allBricks". Each brick is instanced inside "allBricks" with a name ranging from "brick1" up to "brick40". My code for these bricks is designed for each of them to individually react when hit by the main character, but of course what they do wont be unique since they are all the same clip, just when they do it. So the code is such ("bump" is a clip inside "block", where "block" is the main character)

Code:
for (var j = 1; j<=40; j++) {
if (block.bump.hitTest(allBricks["brick"+j])){
*executing code here*
}
}
now that works perfectly fine, but I dont want to test againast the whole "brick" the same way I didnt want to test against the whole "block", and just tested against the smaller clip "bump" instanced inside "block". Now if I try doing this with the "brick" clip, it doesnt work. If I open up any of the 40 "bricks" inside "allBricks" then essentially Im opening up the original "brick" clip, so inside "brick" I place a smaller clip called "hitter" that I'd like to hitTest against, and now all 40 bricks have a clip inside them called "hitter", so my thoughts were that if I just slightly changed the code, I'd be done. So It looks like this now

Code:
for (var j = 1; j<=40; j++) {
if (block.bump.hitTest(allBricks["brick"+j].hitter)){
*executing code here*
}
}
but that doesnt work at all. It must have something to do with having the same clip, but instantiated differently 40 times, and it cant read inside the clip or something, I've got no clue really and was wondering if there were a clear set of rules for accessing inside an intanced clip? Any pointers you've got I'd be more than happy to listen. Thanks.

Programming Formatting (syntax) Rules
What arethe formatting rules for using { ( and ; I'm fairly new to this and so far I've been a "Flash monkey" (viewing other code and imitating the formatting but not really sure why) basically if something isn't working I'll trial and error until I get a no errors syntax. However the code below for whatever reason this isn't working and the 2nd gotoandstop isn't blue as a function it's displaying as regular text. I'm using Flash MX v6

on (release) {
if (pwcode == display);
(display = "Correct");
{
gotoAndStop ("finalstep");
}
if else(display = "try again");
gotoAndstop ("combo")
}


the error message btw is:
Scene=Scene 1, Layer=buttons, Frame=52: Line 7: '(' expected
if else(display = "try again");

Rules For External Loading Music
my site is about 900kb... I have a generic midi playing that is looping around to make the sound. If I am to change that to include a full 3minute mp3 song, my size of file jumps to 3or 4mb and downloads slowly.

so the question is, how do I have the keyframe call the music to start playing? will that affect the stop button I currently have that stops the sound if so desired?

anything else I should know?

MovieClip Rules Not Being Applied To Text
Hi,

I have some movieClips that contain text.
At the start of my movei I declare all the movieClips as having an _alpha property of 0.

However - You can still see the text. I have tried makign the text a movieClip itself but this doesnt make any difference.

The only way I can get it to work is by breakling apart the text (twice) so that it's a graphic - which creates a larger file doesnt it? - Although there's not a huge amount text.

Has anyone heard of this?

Cheers,

Pete

Load Balancing Rules For BIGIP
I am running single-user applications that fall into two categories:

1.) recording and uploading audio
2.) streaming audio and video over rtmp, rtmpt, and rtmps

The files being streamed are on a NAS.

Is anyone using a hardware load balancer in conjunction with FMS? Is it possible to do SSL offloading for rtmps? Would anyone be willing to share your pools, iRules, and other configuration data?

Thanks!

Clarifying The Rules Of Dynamically Naming Your MC Instances...
OK, say I have a MC instance titled "window1" and inside was a character MC titled "character_null" which is dynamically named after the movie starts to take on the name of "character1". When trying to manipulate the character MC it only works if I go after its original name. Does anyone have any idea why this is and what would be the use of dynamically naming if this is so??

Passing Variable Html-flash Following W3c Rules
Hi, I've made a flash menu which passes a parameter following the button that is pressed. Now i got this to work following the traditional ways of posting a flash movie but the problem is that this page has to be validated following w3c rules so i needed to adjust the embedding of the swf.

the original code was something like this

Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="160" height="400">
<param name="movie" value="Images/NieuwNavLinksOPEN.swf?butNum=<%=Request.QueryString("myVar")%>" />
<param name="quality" value="high">
<embed src="Images/NieuwNavLinksOPEN.swf?butNum=<%=Request.QueryString("myVar")%>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="160" height="400"></embed>
</object>
Now i found a link that is esplaining how to change this following w3c rules on http://blog.deconcept.com/2005/03/31...est-practices/ but i get a null value on the use of a parameter.

I just placed a link to the javascript in my header tags and used following code

Code:
<div id="flashcontentleft">
<strong>you need to install flashplayer</strong>
You can find a downloadlink <a href="http://www.macromedia.com/"> here </a> .
</div>
<script type="text/javascript">
// <![CDATA[
var fo2 = new FlashObject("Images/NieuwNavLinksOPEN.swf", "Menu", "160", "400", "0", "#FFffff" );
fo2.addVariable("butNum=<%=Request.QueryString("myVar")%>");
fo2.write("flashcontentleft");
// ]]>
</script>
Someone an idea what i have to change in order to get the value of the parameter in my swf.

Thanks

Roles

Internet Explore Rules Netscape Sucks
Check out this link using IE and Netscape.

http://www.xlncstudios.com/test/error.html

1st use IE.
When you get there you have to select the first song in the listbox with the mouse so the arrows keys will work. Select a different song using the arrow keys--- then another and another ect. go crazy :p

2nd use Netscape
Do the same process as above and you will notice more then one song will begin to play. This sucks

I am using

onChange = function () {
stopAllSounds();
screen.loadSound(listbox.getSelectedItem().data["Link"], true);};

to select each song in the listbox..

Any thoughts on how to stop the extra songs in Netscape from playing.

Font Rules Please For Sizing Text Fields
Hi,

Can you point me in the right direction please to stop my fonts blurring in my dynamic text field.

I have embedded a font. (Nutrox's sx nudoc regular). 8pt, line spacing 2 pt, Antialiased and (left aligned).

It works beautifully if i have a huge text field of say 333.9 x 106. (x and y are whole numbers).

But I want it to appear in a column of about 10 lines and 169 pixels wide or there abouts.

What am I not considering when I resize my text fields please? (I have tried with locking or unlocking the width/height parameters)
and the above settings.

I am loading in the text dynamically and like I said it works fine and stays perfect size also for a huge text field.

Cheers. (Don't you just hate losing days on this kind of thing?)



ps. this text is so blurred, how ever much I strain to squint, I still can't read it.

FORUM RULES/ETIQUETTE : READ BEFORE POSTING
Forum rules

1. Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting. Users consistently posting to the wrong forum may be given a warning (see policing below).

2. Members are asked to not "cross post". Please refrain from posting a question in more than one forum.

3. Members should post in a way that is respectful of other users. Flaming or abusing users in any way will not be tolerated and will lead to a warning.

4. Members are asked to not act as "back seat moderators". If members note an issue which contravenes something in this policy document they are welcome to bring it to the attention of a member of the Moderator Team. Do not respond to such topics yourself. Members who constantly "act" as moderators may be warned.

5. Members should remember this board is aimed at a general audience. Posting pornographic or generally offensive text, images, links, etc. will not be tolerated and will lead to a warning.

6. Members are asked to respect the copyright of other users, sites, media, etc. Users linking to or asking for information on warez, crackz, etc. or re-printing material without permission will receive a warning and their post will be removed.

7. Members should respect the bandwidth of other users and sites. The use of inline () image tags pointing to data stored on third party systems for which the user has not received permission to link to may be removed.

8. Members should post in a way which is consistent with "normal writing". That is users should not post excessive numbers of emoticons, large, small or coloured text, etc. Similarly users should not SHOUT or use excessive punctuation (e.g. ! and ?) in topic titles or posts. Users consistently abusing this will be warned.

9. Members should use an appropriate, descriptive title when posting a new topic. Examples of bad titles include; "Help me!", "I'm stuck!", "I've got an error!", etc. Examples of good titles include; "Problem using onRelease in AS3" or "How do I load an AIR file into Flash 5?".

10. Spam is not tolerated here under any circumstance. This includes offering hosting services (charged and free), solicitation of products/services, etc. In addition, recruiting members for your own projects (moderators, designers, professional MOD work, etc.) is not permitted and is also considered spam. Users posting spam will be warned and their post removed. Referral/affiliate links are also not allowed in any post, avatar, or signature.

11. The moderating, support and other teams reserve the right to edit or remove any post at any time. The determination of what is construed as indecent, vulgar, spam, etc. as noted in these points is up to Team Members and not users.

12. The above forum rules where applicable also apply to private messaging. Abuse of the private messaging system may lead to warnings (as above) and/or the revocation of private messaging.



Policing
1. Gotoandlearnforum operates a three strike policy. Users will be warned a maximum of three times for any and all offences in a three month period. If the need arises for a fourth warning a temporary ban will be put in place of between 1 to 7 days.

2. Arguing with team members after having received a warning will lead to an immediate additional warning. Should this exceed three strikes a temporary ban will be put in place as above.

3. Users who feel they have been unfairly warned are welcome to contact an Admin.

4. Any attempt to circumvent a temporary ban will lead to that ban being made permanent. Circumvention includes re-registering under a non-banned username, changing IP addresses to evade an IP ban, registering a new email account of evade an email ban. Circumvention includes posting as an anonymous user.

5. An exception to the three strike rule applies when users contact team members personally (via any method) and post insulting, indecent or vulgar material. Such users may be subject to an immediate permanent ban.

6. Permanent bans are a last resort and thought is given before implementing them. While gotoAndLearn may consider lifting permanent bans from time to time this is a rare occurrence.
Tips and Etiquette

1. Do a forum search.
Before posting a question on the forum, please use the forum search function to try to find an answer. It is very likely that the issue you have has been discussed, and answered elsewhere on the forums.

2. Post your code.
If you have any code related issues, it is advised that you post your code in your thread. After all, we aren't mind readers!

3. Use the "code" button.
If and when you do post code, please use that code button to wrap it up in a nice formatted code block. It is much easier for us to read, and also copies/pastes into a text editor in a much cleaner fashion.

4. Be concise.
Please try to explain your issue in a "calm, clear" manner. Tell us exactly what it is you're trying to accomplish, and what is going wrong. If there are any compiler errors involved, be sure to quote the error you're getting. This also applies to the title, if applicable.

5. Be patient.
We know it can be frustrating when you're under the gun and you need an answer fast. But please refrain from "bumping" your post before waiting a reasonable amount of time. Generally, 24 hours is the minimum time you should wait before bumping the topic.

6. We don't want to be forced into watching/reading a tutorial.
Well, that's not entirely true. We all love to watch a tutorial here and there. But please don't just post a link to some tutorial and expect members to go and watch/read it just to be able to help you. It's preferable that you post your specific problem and code, and if you would like to post the tutorial for reference as well, then that's good too.

FORUM RULES/ETIQUETTE : READ BEFORE POSTING
Forum rules

1. Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting. Users consistently posting to the wrong forum may be given a warning (see policing below).

2. Members are asked to not "cross post". Please refrain from posting a question in more than one forum.

3. Members should post in a way that is respectful of other users. Flaming or abusing users in any way will not be tolerated and will lead to a warning.

4. Members are asked to not act as "back seat moderators". If members note an issue which contravenes something in this policy document they are welcome to bring it to the attention of a member of the Moderator Team. Do not respond to such topics yourself. Members who constantly "act" as moderators may be warned.

5. Members should remember this board is aimed at a general audience. Posting pornographic or generally offensive text, images, links, etc. will not be tolerated and will lead to a warning.

6. Members are asked to respect the copyright of other users, sites, media, etc. Users linking to or asking for information on warez, crackz, etc. or re-printing material without permission will receive a warning and their post will be removed.

7. Members should respect the bandwidth of other users and sites. The use of inline () image tags pointing to data stored on third party systems for which the user has not received permission to link to may be removed.

8. Members should post in a way which is consistent with "normal writing". That is users should not post excessive numbers of emoticons, large, small or coloured text, etc. Similarly users should not SHOUT or use excessive punctuation (e.g. ! and ?) in topic titles or posts. Users consistently abusing this will be warned.

9. Members should use an appropriate, descriptive title when posting a new topic. Examples of bad titles include; "Help me!", "I'm stuck!", "I've got an error!", etc. Examples of good titles include; "Problem using onRelease in AS3" or "How do I load an AIR file into Flash 5?".

10. Spam is not tolerated here under any circumstance. This includes offering hosting services (charged and free), solicitation of products/services, etc. In addition, recruiting members for your own projects (moderators, designers, professional MOD work, etc.) is not permitted and is also considered spam. Users posting spam will be warned and their post removed. Referral/affiliate links are also not allowed in any post, avatar, or signature.

11. The moderating, support and other teams reserve the right to edit or remove any post at any time. The determination of what is construed as indecent, vulgar, spam, etc. as noted in these points is up to Team Members and not users.

12. The above forum rules where applicable also apply to private messaging. Abuse of the private messaging system may lead to warnings (as above) and/or the revocation of private messaging.



Policing
1. Gotoandlearnforum operates a three strike policy. Users will be warned a maximum of three times for any and all offences in a three month period. If the need arises for a fourth warning a temporary ban will be put in place of between 1 to 7 days.

2. Arguing with team members after having received a warning will lead to an immediate additional warning. Should this exceed three strikes a temporary ban will be put in place as above.

3. Users who feel they have been unfairly warned are welcome to contact an Admin.

4. Any attempt to circumvent a temporary ban will lead to that ban being made permanent. Circumvention includes re-registering under a non-banned username, changing IP addresses to evade an IP ban, registering a new email account of evade an email ban. Circumvention includes posting as an anonymous user.

5. An exception to the three strike rule applies when users contact team members personally (via any method) and post insulting, indecent or vulgar material. Such users may be subject to an immediate permanent ban.

6. Permanent bans are a last resort and thought is given before implementing them. While gotoAndLearn may consider lifting permanent bans from time to time this is a rare occurrence.
Tips and Etiquette

1. Do a forum search.
Before posting a question on the forum, please use the forum search function to try to find an answer. It is very likely that the issue you have has been discussed, and answered elsewhere on the forums.

2. Post your code.
If you have any code related issues, it is advised that you post your code in your thread. After all, we aren't mind readers!

3. Use the "code" button.
If and when you do post code, please use that code button to wrap it up in a nice formatted code block. It is much easier for us to read, and also copies/pastes into a text editor in a much cleaner fashion.

4. Be concise.
Please try to explain your issue in a "calm, clear" manner. Tell us exactly what it is you're trying to accomplish, and what is going wrong. If there are any compiler errors involved, be sure to quote the error you're getting. This also applies to the title, if applicable.

5. Be patient.
We know it can be frustrating when you're under the gun and you need an answer fast. But please refrain from "bumping" your post before waiting a reasonable amount of time. Generally, 24 hours is the minimum time you should wait before bumping the topic.

6. We don't want to be forced into watching/reading a tutorial.
Well, that's not entirely true. We all love to watch a tutorial here and there. But please don't just post a link to some tutorial and expect members to go and watch/read it just to be able to help you. It's preferable that you post your specific problem and code, and if you would like to post the tutorial for reference as well, then that's good too.

FORUM RULES/ETIQUETTE : READ BEFORE POSTING
Forum rules

1. Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting. Users consistently posting to the wrong forum may be given a warning (see policing below).

2. Members are asked to not "cross post". Please refrain from posting a question in more than one forum.

3. Members should post in a way that is respectful of other users. Flaming or abusing users in any way will not be tolerated and will lead to a warning.

4. Members are asked to not act as "back seat moderators". If members note an issue which contravenes something in this policy document they are welcome to bring it to the attention of a member of the Moderator Team. Do not respond to such topics yourself. Members who constantly "act" as moderators may be warned.

5. Members should remember this board is aimed at a general audience. Posting pornographic or generally offensive text, images, links, etc. will not be tolerated and will lead to a warning.

6. Members are asked to respect the copyright of other users, sites, media, etc. Users linking to or asking for information on warez, crackz, etc. or re-printing material without permission will receive a warning and their post will be removed.

7. Members should respect the bandwidth of other users and sites. The use of inline () image tags pointing to data stored on third party systems for which the user has not received permission to link to may be removed.

8. Members should post in a way which is consistent with "normal writing". That is users should not post excessive numbers of emoticons, large, small or coloured text, etc. Similarly users should not SHOUT or use excessive punctuation (e.g. ! and ?) in topic titles or posts. Users consistently abusing this will be warned.

9. Members should use an appropriate, descriptive title when posting a new topic. Examples of bad titles include; "Help me!", "I'm stuck!", "I've got an error!", etc. Examples of good titles include; "Problem using onRelease in AS3" or "How do I load an AIR file into Flash 5?".

10. Spam is not tolerated here under any circumstance. This includes offering hosting services (charged and free), solicitation of products/services, etc. In addition, recruiting members for your own projects (moderators, designers, professional MOD work, etc.) is not permitted and is also considered spam. Users posting spam will be warned and their post removed. Referral/affiliate links are also not allowed in any post, avatar, or signature.

11. The moderating, support and other teams reserve the right to edit or remove any post at any time. The determination of what is construed as indecent, vulgar, spam, etc. as noted in these points is up to Team Members and not users.

12. The above forum rules where applicable also apply to private messaging. Abuse of the private messaging system may lead to warnings (as above) and/or the revocation of private messaging.



Policing
1. Gotoandlearnforum operates a three strike policy. Users will be warned a maximum of three times for any and all offences in a three month period. If the need arises for a fourth warning a temporary ban will be put in place of between 1 to 7 days.

2. Arguing with team members after having received a warning will lead to an immediate additional warning. Should this exceed three strikes a temporary ban will be put in place as above.

3. Users who feel they have been unfairly warned are welcome to contact an Admin.

4. Any attempt to circumvent a temporary ban will lead to that ban being made permanent. Circumvention includes re-registering under a non-banned username, changing IP addresses to evade an IP ban, registering a new email account of evade an email ban. Circumvention includes posting as an anonymous user.

5. An exception to the three strike rule applies when users contact team members personally (via any method) and post insulting, indecent or vulgar material. Such users may be subject to an immediate permanent ban.

6. Permanent bans are a last resort and thought is given before implementing them. While gotoAndLearn may consider lifting permanent bans from time to time this is a rare occurrence.
Tips and Etiquette

1. Do a forum search.
Before posting a question on the forum, please use the forum search function to try to find an answer. It is very likely that the issue you have has been discussed, and answered elsewhere on the forums.

2. Post your code.
If you have any code related issues, it is advised that you post your code in your thread. After all, we aren't mind readers!

3. Use the "code" button.
If and when you do post code, please use that code button to wrap it up in a nice formatted code block. It is much easier for us to read, and also copies/pastes into a text editor in a much cleaner fashion.

4. Be concise.
Please try to explain your issue in a "calm, clear" manner. Tell us exactly what it is you're trying to accomplish, and what is going wrong. If there are any compiler errors involved, be sure to quote the error you're getting. This also applies to the title, if applicable.

5. Be patient.
We know it can be frustrating when you're under the gun and you need an answer fast. But please refrain from "bumping" your post before waiting a reasonable amount of time. Generally, 24 hours is the minimum time you should wait before bumping the topic.

6. We don't want to be forced into watching/reading a tutorial.
Well, that's not entirely true. We all love to watch a tutorial here and there. But please don't just post a link to some tutorial and expect members to go and watch/read it just to be able to help you. It's preferable that you post your specific problem and code, and if you would like to post the tutorial for reference as well, then that's good too.

Validation Rules In Flash Which Connects To An Access Database
Hi Guys!

Iv got a access database and a flash form and im connecting this via asp.... my question is i want to set validation rules so that the user can only submit once all mandotary fields are completed... do i set these in the database or do i have to do sum sort of actionscripting in flash...

can someone please help!!

Thanks

Validation Rules In Flash Which Connects To An Access Database
Hi Guys!

Iv got a access database and a flash form and im connecting this via asp.... my question is i want to set validation rules so that the user can only submit once all mandotary fields are completed... do i set these in the database or do i have to do sum sort of actionscripting in flash...

can someone please help!!

Thanks

ActionScript Version 3 (Flash CS3) Forum Rules (please Read Before Posting)
This is the ACTIONSCRIPT 3 forum covering FLash 9 and NOT the ActionScript forum covering Flash versions until 8.


Keep it simple
Please do not ask questions that would require a book as an answer.
Programming is about putting individual pieces together to form a greater whole.
Keep your questions to specific pieces or make it clear that you just want advice on the logic, not the entire application built for you.
Complex questions scare answers away.

Programming is about putting the pieces together.
Ask about a specific piece once at a time or make it clear that you just want advices on the logic, not the entire application build for you.
Complex questions scare answers away.

Flash Version
This forum is for questions related to ActionScript 3.

Keep Questions in the Forums
Please do not PM or email other users with questions. That is the purpose of the forums.
Be patient...other people have the right to decide when they want to help.

Mark Thread Resolved
Be clear about whether your problem has been solved or not.
If your questions have been answered, mark your thread resolved.
Saying "I'll look at it later when I get home from school or work" doesn't add anything of value to the thread.
Instead of simply saying that you have solved your problem, take the time to post the solution so that others may benefit from it.

Searching
Using the search function is a great way to unlock many of Flash Kit's secrets. It can also lead you to a great deal of valuable information on the internet as a whole. There is a wealth of knowledge all around you if you but take a moment and look for it.

To help you take advantage of this resource Flash Kit has provided an advanced search function which can be found near the top of each page. You can also visit google and just type in some keywords. Remember that keywords are just that...your keys to knowledge. Each one you find will open another door and take you one step further on your journey.


Thanks for your cooperation.
____________________________

Sine Rules. Inconsistant Output Using Input Text Fields.
I am trying to solve a triangles dimensions using Sine Rules.
I have 3 known fields:
tilt [an angle], slope [an angle] & baseLength [a length].
I want to calculate the length of a side named tiltLength.

The script I'm using is:

on (release) {
thirdAngle = 180 - (tilt + slope);
tiltLength =( baseLength * Math.sin(tilt * Math.PI/180 )) / Math.sin(thirdAngle * Math.PI/180)
play();
}

My problem is that this works great if I input the 3 known variables in frame1.
However if I try to input the angles via input text fields sometimes it works fine, but then at other times I get a negative value, which is impossible.

If I place the same values into frame 1 the answer is correct !!!

Can some kind soul put me out of my agony and suggest whats going wrong?

Egg

Copyright © 2005-08 www.BigResource.com, All rights reserved