Total Newbie
I have purchased a template for a client I have from MonsterTemplates and I have a question on how to incorporate an event handler into an existing Action Script.
Here is what I want to do.
OnClick load a page into an invisable frame page. I need to pass in approximately 2 or 3 variables using the get method. The name of the iFRAME is webContent and the page to load is webcontent.asp.
How can I do this acording to the action scripts which have already been created for the navigational button "About Us"
What more can I include to make this work??? You will see that I did attempt this begining at the point on the script where I begin creating variables.
on (rollOver) {
if (_root.link<>page) {
gotoAndPlay("s1");
_root.button = page;
_root.width1 = 100;
_root.position = _root["b" + _root.button]._x;
}
}
on (releaseOutside, rollOut) {
if (_root.link<>page) {
_root.position = _root.prev_pos;
gotoAndPlay("s2");
_root.width1= _root.prev_width;
}
}
on (release) {
if (_root.link<>page && _root.G<>1) {
_root.scroller.gotoAndStop("s0");
_parent["item"+_root.link].gotoAndPlay("s2");
_root["bot"+_root.link].gotoAndPlay("s2");
_root.link = page;
_root["bot"+_root.link].gotoAndPlay("s1");
_root.prev_pos = _root["b"+_root.link]._x;
_root.prev_width = 100;
_root.all_pages1.gotoAndPlay("s1");
_root.all_pages2.gotoAndPlay("s1");
var firstName:String = "Gus";
var lastName:String = "Richardson";
var age:Number = 92;
function() {
getURL("
Adobe > Flash General Discussion
Posted on: 05/30/2007 06:49:45 PM
View Complete Forum Thread with Replies
Sponsored Links:
Total Newbie, Needs Help
I have never created any flash in my life !
I was planning on making a game, and i was wondering what programs i would need and any tutorials that would help?
if making games is too difficult for someone with no experience at all, please tell me an alternative
thanking you in advance, st4lefish
View Replies !
View Related
Total Newbie Here
I just got Flash MX and sorta know how to do some basics. But don't know how to make Flash movies. The lessons that come with Flash look like BLAH BLAH BLAH to me. Anyone here that can help me or guide me to making a Flash movie?
View Replies !
View Related
Total Newbie Here
I don't get how actionscript works, i put a code in there, and then what do i do? How do i make the code work? I mean, how do i make the code do what it's supposed to do? I'm sorry. I know this is dumb.
I'm using flash MX btw
View Replies !
View Related
Total Newbie
I am a total FLASH newbie and would like a good tutorial on line for me to start off with. I never used or even looked at the program before. I want at least a zero base level to which I can start building my knowledge of FLASH on. Thanks
View Replies !
View Related
Ok, Im A Total Newbie, And I Need Some Help...
ok, im pretty good in photoshop, but im sick of making websites in just photoshop and notepad, so i got Flash MX 6. i have an idea of a layout i want for my site, but i have NO idea how to do it in flash, i have it in photoshop.. heres what i want..
the pic attached, i want it to start out with just those 5 stars in the middle where they are without the box, and when u click the middle red one, the box like someone makes its self or something, and then the other 4 black stars are links that go into that little box, and then the scrollbar to the side...
if u can help me post or please IM me at joyntkid on AIM or e-mail me at elitefishes@yahoo.com..
thx alot.
View Replies !
View Related
Total Newbie
I hope some lovely person will help me out here,,,,,,.
I have little understanding of Flash,,,,,, but i wish to make a flash programme to insert on my games site.
My site is ,,,,,,,,,http://www.freewebs.com/punicfighters/
Basically its a games site, I made the web site myself but saying that ........ it was basically type and enter text,,,,,,,,, very nice to use,
However it has the option to have flash and incorperate it into the site. so i like to be brave and see if i can add this feature.......
I have downloaded Swish , wow wish i didnt lol , and it seems complicated . but i will give it a go...... so pray i ask afew questions.
1, Is Swish suitable for me to use,,,,,,, or is there something easier.
2, It talks of adding a movie, cool,,,,,, but where do i find these movies ???
3, Once I have the above info i think i will be able to add the text and fade it in and out,,,,,,,, I hope lol......
Thanks for reading and hope a patient soul will help me .
Mike
View Replies !
View Related
Total Newbie Needs Help :(
I need some help getting a few basic features down. In particular, I can't seem to get my movie to stop/go when I want it to. I am trying to make it so that my movie plays until some text comes up, and then a button appears that can be clicked on to continue the movie, so that the viewer has time to read the text as his/her own pace before continuing. I have tried selecting the frame that I wish for the movie to stop at and then going to the "Actions - Frame" menu, then going into the move control section and dragging "stop" into the white box next to it. This, however, doesn't seem to work. Any suggestions? Thanks in advance for any help.
View Replies !
View Related
Total Newbie
Hi, this is my very first post...
I used to be anti-flash (my sincere apologies) but changed my mind after experiencing this site:
http://www.xs4all.nl/~lrvk/lejo/
I now would like to start out with flash, and have a problem starting at all. Does anyone have any advise, is there a topic about it (could not find any)
Thank you in advance!
View Replies !
View Related
Total Newbie
Hi i am a total newbie to flash and have been working through the flash 8 tutorials at the moment. Can somebody tell me how difficult it would be to create the slideshow feature on http://www.mlb.com and also the schedule of games text on the left of this website homepage.
Could you tell me of any tutorials which would help me create these items.
Many thanks
View Replies !
View Related
Total Newbie: Collisions
Hi guys, hope you can shed some light on a problem I'm having.
I'm very new to 3DFA. Started on it last night. I want to put together a basic game where a collision between a vehicle and an obsticle needs to be detected.
I have the images in place, I have keyboard control of the car, and I appear to have the collision detection set up. But it isn't working
I have two elements, known as Car and Bollard. I also have a scrolling background to give the impression of movement. The bollard also moves and appears stationary on the background.
I have one Scene in the movie, known simply as scene1.
Under Actions for the Scene I have:
On collision "Car" "Bounding box" "Bollard" Hide "Car"
Just for testing. Unfortunatly, I can't get it to work.
Any ideas? I really want to carry on playing but I'm stuck at this point!
- Daniel
View Replies !
View Related
Total Newbie Needs Some Help From The Gurus
Hi all, I'm new here and I really need some help.
I'm working on a site and the client has decided he wants his logo to be in Flash. You can see the logo here:
client site
For the line that curves down through the 'R', he wants it to be a 'spectrum' or rainbow of colors. The text will appear and the the line will be drawn down through it, eventually fading to black. He also wants a little 'twinkle' effect when it reaches the bottom.
I need to know 1) how do I make a rainbow colored line? and 2) how do I make the twinkle effect? If anyone has tutorial links, that would be fine, too. I've looked around on the 'net and not found anything.
Thanks!
View Replies !
View Related
*Total* Newbie Needs Help With Website
Hello
I am currently thinking about creating a website using Flash, but I have no experience with it. Can anyone recommend a good book and program that I could use as an individual for my site? It's not going to be anything too fancy, just a couple pages. Although I have designed and maintained several websites in the past, I literally am a newbie in every sense of the word when it comes to flash.
View Replies !
View Related
Total Newbie Help Needed Please :)
Hi
I've just looked at Flash MX for the first time ever. I'm working through the lessons - on the illustrations lesson it says
'In the Work File file advance to page 2'
and I can't work out how to do that and can't find anything to tell me how. Very silly I know but I've never even seen this before.
Can anyone help me please?
View Replies !
View Related
Which Tool Should I Use? (total Newbie By The Way)
Hi,
Totally new to this Flash animation stuff, but would like to learn it the easy way. Don't want to spend boat loads on Macromedia and don't like illegal copies!
So, which of the many tools (like Koolmoves or Swish) is :-the best
the easiest to learn
the easiest to use
the least limited compared to Macromedia
I certainly don't want whole Flash sites, as I hate them! I do want to create some prettier banners, logos and small animations to put in sites though.
The limit of my skills in this area to date are at waterconsultant.com - not that clever really. I used a tool from Glanda (I think that's their name) after having used their very good DHTMLMenu tool. The Flash tool is a bit basic though!
I'd like integration with - say MySQL/PHP - so I can make some content dynamic if that's possible too.
Thanks in anticipation of your help and advice.
Dominic
View Replies !
View Related
Total Newbie To ActionScript.
Can anyone suggest a good book, or even better a good online tutorial?
I'm confused at how time works in relation to actionscript.
IE. If I do:
onClipEvent (enterFrame)
{
this._alpha += 3;
}
and then went to do a:
this._alpha -= 3;
right afterwords to fade it back out.. This absolutely does not work.. So how do I track time in ActionScript and kick another event off once the first one has finished?
..or am I making this harder than it actually is?
Thanks!
View Replies !
View Related
Total Newbie Question
Okay, I know this is probably simple stuff, but I'm really not finding a solution.
I imported a swf clip into my flash movie in frame 1. Basically it's an intro that I want to go right into my main site. My main movie starts on frame 2. I want my intro on frame 1 to play through and then automatically go to frame 2 of my main movie. I can't get it to work. Alternately, is there a way to add a button to my imported movie clip that will allow it to jump to a page in my main movie clip? All my page is doing is linking to the frame in the imported movie clip. When I try to use a frame label, I get an error. I hope this makes sense to you guys and girls out there because I really can't figure it out. Thanks.
Sam
Oh yeah..I'm using flash MX
View Replies !
View Related
Total AS Newbie, Question
Hi all,
I've just recently decided to tackle Actionscript, as I want to start developing some games.
Anyhoo, a question regarding binding the mouse to a movieclip (character sprite). My character will have 8 different positions (N, NE, E, SE, S, SW, W, NW) and would need to face each direction according to mouse drag.
My sprite will be able to walk forward, backward, left and right (using the W, A, S, D keys) but will "point" according to where he's facing, according to where you'd drag the mouse.
Just off the top of my head, my guess is that I'd need to set the mouse cursor centerpoint to be the center of my character sprite, correct? What would be a wise way to approach the rest?
Sorry, I have no code! I'm just learning all this stuff right now. Thanks in advance.
View Replies !
View Related
Total Newbie Question
Hi. I am brand new to Flash. It came with my CS3 a while back and I just started using it. I've created a project after watching several tutorials. I watched a tutorial on the Adobe site about publishing it, and followed the instructions carefully. I got the .swf file and the html file and the AC_RunActiveContent.js file (no AC_OETags.js file was created). When I preview it in Flash, everything works great. But when I try to run it from the html page, I just get a blank browser window. My source code appears to match everything I saw in the tutorial.
I'm sure I'm just missing something cuz I'm on my first project. Can you offer any insight? Thanks!
View Replies !
View Related
Total Newbie Questions
Hi all,
After tackling PHP, I've decided to give Flash a go,... so I'm a total newbie and I'm counting on you guys for a little assistance.
My first question (of many probably) is:
I've seen a site that I really like:
http://www.technostudija.com/main.htm
When each of the main sections is selected, it loads a nice big high quality image as the background. Is it best to just load in a JPEG to achieve this or is it best to convert it to a vector first?
I also like the way that the scenes fade out before loading the next page (movie). How is this done?. I've got my head around loading movies, but I can't figure out how you make the current movie fade out before loading the next one.
Any help would be greatly appreciated..
Thanks
Matt
View Replies !
View Related
Total Newbie Question
Ok, I'm a total newbie to programming in flash.
I can animate in Flash, but that's all.
So, this is my question.
How can I add a command to my buttons so that it plays a certain part of movie (like the buttons fading - lets say frame 5 to 10) and then goes to another part of my movie (like my title appearing ) with this last part always another set of frames depending on the pressed button?
I know this is probably the most simplest code evar, but if anyone could tell me how and maybe show me where I can get newbie tutorials, that would be great!!
View Replies !
View Related
Total Newbie - End Of Movie And Buttons
Hi,
I literally just started using flash 2 days ago, I've created a basic flash but it keeps looping, also I can not get it to jump to a webpage on completion.
I've put in the last frame:
stop()
geturl("www.webaddr.com")
Am I missing something? Also I've notice my skip intro button doesn't always work, you have to move the mouse a bit before the mouse icon acknowledges it as a link.
Thanks, Paul Homer
View Replies !
View Related
Total Newbie With Some Simple Questions
OK guys, i am a real newbie to flash but a quick learner. I've already created a flash with swish2.0 and exported it as swf and the html to my hardrive. My only problem is i don't know how to get it on my website. I've been trying for 2 days now and can't figure it out. I was using 50megs.com but they only allow 250KB for a file. mine is about 300. I have another web site but it doesn't list swf as allowed file types. I can get the html in the directory but not the swf file. Maybe i'm doing something wrong or maybe somebody can recommend a free web site i can use to post my flash on the web. I am a member of a forum for something totally different and i'm trying to get a flash in my forum signature. I have the code for that already, i just need to get it on a web site first. Any help is appreciated.................Majic723
View Replies !
View Related
Pardon The Total Newbie Questions...
... but some of the cool .fla scripts you can download for stuff like scrolling effects, etc. What do you do with them once you have them?
Newbie question 2: I'm working on a Mac with F5. I'm guessing I cannot use stuff that was generated in F6 but is Mac/PC an issue here.
Thanks!
View Replies !
View Related
Total Newbie With Delusions Of Grandeur
hey guys and gals.
I'm not new to the functions of flash as far as website design and gaming are concerned but now I'm desperately keen to get into cartoon animation.
if you guys have any links or advice on how to draw characters, animate, design, lipsynch etc in flash I'd really appreciate it.
I've been to http://www.cartoonsmart.com the pay-for site - is it worth paying for?
thanks in advance
Ryan
View Replies !
View Related
[F8] Help Total Newbie Presentation Not Stopping
Yeah... Seems simple...
I dont know why its not stopping at the first frame... it loads in projector and goes through frame 1 and then stops on frame 2... there are 12 frames each with a stop; command in a blank layer called actions... i want it to load and stop at frame 1, but it doesnt...
perhaps some sort of gotoAndStop(firstframe) in the onClip(enterframe) event ? ? ?
Its beginning to p1ss me off now, and I need this finished PDQ...
Bear in mind I started using Flash yesterday...
View Replies !
View Related
[MX] HP Bar And Attacks Question (total Newbie)
Well as the title suggests I am a newbie. I have an OK knowledge of actionscript, a good knowledge of the program itself, but I still need some help. I am currently making a turn-based combat game and I need to have two persistent HP bars. One of the player and one for the enemy. I want to be able to put a code in on a certain frame of the animation that basically says. "Knock the enemy HP bar down X points." or the player's bar, depending on who is attacking. Of course the bar would have to stay there throughout the whole fight.
If someone could help me I would be most grateful.
I know it has something to do with variables or something...not sure, like I said, newbie.
View Replies !
View Related
Total Newbie Question: How Do You Fill In A Bg?
hi
this is probably really obvious to you guys but i'm in the process of making a slideshow with pictures fading one after another. they have black bgs so i want the bg to be black while they're fading
however, they start off white, fade to the black pictures, then fade back out to white and i really want to change that
can anyone help?
View Replies !
View Related
Total Newbie - Problem With LoadMovie
hello all,
I have been lurking around this site for the past few weeks and have to say that you tutorials have helped alot. I have had a little formal training in Director (7.x) and have used Flash very little before the past few weeks. I have created the main site design in Photoshop and have started building the Flash site. After reading the "how to create a full flash site" tutorial, I thought I was golden in getting my interface to come together. However, i have hit a stumbling block that 2 days worth of fumbling hasn't un-blocked.
I have my main site file. This is intended to load the bare basics with a preloader for each element (i.e. button bar, graphics bkgs and so forth). However, since I want the site to basically build in stages I want one element to finish animating before the next (i have found this more pleasing than everything being dumped on me at once as a viewer). To that end, after our logo loads (a movie clip in its own layer in the main timeline) I want its last frame to trigger the next animation in sequence which is the nav/button bar. I have created a swf file for the button bar and the empty movie clip in it own layer on the main timeline. No matter what I do, I cannot get the swf file to load into the proper location. Here is the closest I have gotten:
loadMovie("movieclipname.swf", "_root.mainmenu');
stop();
i have used the stop command here because I want the logo animation to stop rather than repeat. Is this wrong? I have tried this without the stop(), but no go. Thanks in advance...
View Replies !
View Related
Flash Movie - Total Newbie Question
Hi Folks,
Totally new to Flash MX (and struggling like buggery!)
I'm trying to create a small movie to display five book covers individually.
I would (in the past) just have created an animated gif with some form of transition.
Anyone have any ideas - or sites I could look at? or keywords I could search for on this forum?
Many thanks
Simon
View Replies !
View Related
Total Newbie Question (Take III) For Old Flash Programmer
All I want to do is to implement a hierarchy that looks like this:
Canvas -> Sprite -> Button
A Canvas holds a Sprite that holds a Button. Problem is, any control I add in the Sprite does not appear. Here's the code:
HTML Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" >
<mx:Script>
<![CDATA[
import mx.controls.Button;
import mx.core.UIComponent;
import mx.containers.Canvas;
protected function init():void
{
var s:Sprite = new Sprite();
s.graphics.beginFill(0xFF0000);
s.graphics.drawCircle(5,5,25);
var b = new Button();
b.label = "My Button";
s.addChild(b);// add button to Sprite
//canvas.addChild(s); // I can't do this, as Sprite does not implement IUContainter
//...so I do this, which is what the docs say to do
var u:UIComponent = new UIComponent();
u.addChild(s);
canvas.addChild(u);
}
]]>
</mx:Script>
<mx:Canvas id="canvas" width="100%" height="100%" creationComplete="init()"/>
</mx:Application>
Can anyone tell me what is going on here. This should be simple, but I've been trying for days to get this to work. Thanks in advance for your help.
EJ
View Replies !
View Related
Total Newbie Seeks Help With A Simple Script
Hi folks,
I am totally new to Flash. I have created a simple presentation which has 3 invisible buttons.
When button 1 is released the timeline goes to frame 5 and displays frame 5. Button 2 = frame 10 and button 3 = frame 15. This works fine in author mode but when I publish (flash 7) it does nothing at all, ie it just holds on frame 1
the script I have attached to the buttons is as follows (AS2)
on (release) {
f_btn.onRelease = function() {
gotoAndStop(5);
};
}
View Replies !
View Related
Motion Tween Problem (Total Newbie Q)
I've been playing with this for a day now and it's driving me buggy.
I'm thinking this is too easy...but I'm stuck.
I have two rectangles of different sizes and colours. One is 16pixels longer than the other.
I have them set sot hat the shorter one is first in the timeline. I apply a motion tween. The short rectangle moves downward. It is an obvious transform as the colours are different.
I don't want the rectangles to appear to move, though I want the "roll over effect" that the motion tween causes.
I don't want the rectangles to be the same size.
Any advice? Is this even possible?
Thanks
Page
View Replies !
View Related
Total Visits/ Total Sounds Played
How can I get a "total visits" type function that makes the number of times a page has been visited visible, but instead of recording the number of visits, it records the number of sounds streamed from that flash movie and makes it visible. (Not pages but externally loaded and streamed sound.)
tks
ken
View Replies !
View Related
Getting NaN In Total
Can someone help. I have a quiz and have the vars listed as number, but if all anwers are incorrect it show NaN instead of 0.
Also, would this work better as array and how would code go?
thks
Attach Code
// add your textbox instance name
var totalUserScore:Number = Math.round((Number(chap1Correct)+ Number(chap2Correct)+ Number(chap3Correct)+ Number(chap4Correct)+ Number(chap5Correct)+ Number(chap6Correct)+ Number(chap7Correct)+ Number(chap8Correct)+ Number(chap9Correct)+ Number(chap10Correct)+ Number(chap11Correct)+ Number(chap12Correct)+ Number(chap13Correct)+ Number(chap14Correct)+ Number(chap15Correct)+ Number(chap16Correct)+ Number(chap17Correct)+ Number(chap18Correct)+ Number(chap19Correct)+ Number(chap20Correct)+ Number(chap21Correct)+ Number(chap22Correct)+ Number(chap23Correct)) / (Number(chap1Correct)+ Number(chap2Correct)+ Number(chap3Correct)+ Number(chap4Correct)+ Number(chap5Correct)+ Number(chap6Correct)+ Number(chap7Correct)+ Number(chap8Correct)+ Number(chap9Correct)+ Number(chap10Correct)+ Number(chap11Correct)+ Number(chap12Correct)+ Number(chap13Correct)+ Number(chap14Correct)+ Number(chap15Correct)+ Number(chap16Correct)+ Number(chap17Correct)+ Number(chap18Correct)+ Number(chap19Correct)+ Number(chap20Correct)+ Number(chap21Correct)+ Number(chap22Correct)+ Number(chap23Correct)+ Number(chap1Incorrect)+ Number(chap2Incorrect)+ Number(chap3Incorrect)+ Number(chap4Incorrect)+ Number(chap5Incorrect)+ Number(chap6Incorrect)+ Number(chap7Incorrect)+ Number(chap8Incorrect)+ Number(chap9Incorrect)+ Number(chap10Incorrect)+ Number(chap11Incorrect)+ Number(chap12Incorrect)+ Number(chap13Incorrect)+ Number(chap14Incorrect)+ Number(chap15Incorrect)+ Number(chap16Incorrect)+ Number(chap17Incorrect)+ Number(chap18Incorrect)+ Number(chap19Incorrect)+ Number(chap20Incorrect)+ Number(chap21Incorrect)+ Number(chap22Incorrect)+ Number(chap23Incorrect*1)) * 100);
trace (totalUserScore)+"%";
var totalUserScore = totalUserScore + "%";
View Replies !
View Related
Total Blank
Hey I have a total blank:
evaluating the parent movie clips name to use for a button.
eg. button resides in a movie with instance name "1"
how do I access that property? eval("_parent.?ARRGG");
I can't believe I can't remember
View Replies !
View Related
Total Noobie Q (maybe Not)
hehe cow. anyways. this is my question-->
i am creating a website and i'm making an intro no probs with that. but i want it to be slightly interactive. For example, user can chose background colour of HTML page etc, menus that link to other places. and one feature that really has me ticked off trying to do is when a user selects an option from a drop down menu and from the side a box slides in with information, basically i need an actionscript lesson!!!. i find the ones here to be too specific they don't deal with how to make an object react to mouse movement and other stuff like that.
View Replies !
View Related
TOTAL BEGINNER HERE
I have just finished HTML and I have no Idea about how Flash works. I would like it very much if someone could help me by explaing a little about Flash. Like I said before, Total beginner, so talk as you would to a nine year old.
View Replies !
View Related
Total Novice
Can anyone direct me to a BASIC BEGINNER'S TUTORIAL to Flash MX? I am aware of the huge amount of tutorials available on the web, but they seem to assume that one knows the basics. (Which I do not!) I'd be very grateful for any help!!!
View Replies !
View Related
How Can I Find A Total
What do I use to find the top MC of a series of dynamically generated clips (ex: myClip[i][j]) ?
What I'm trying to do is make another clip always appears on top of the final "myClip[i][j]".
View Replies !
View Related
|