Creating a flash website
I am new with creating flash websites. I have the basis of it done but I am unsure how make it do what I want it to do.
First off, I want the background to keeping looping. I want that to stay the same but I have some animation, so I want it to keep moving.
Secondly, I want to have buttons that you click, and when you click them information comes up. But again, I want the background to be the same and to keep moving while the information stays put. Then I want this information to stay until I click on another button to take me to different information.
At the moment I have 2 scenes going on. Scene 1 is my homepage with the moving background. Scene 2 has the first button information (ie contact us page) alongside the moving background. I have it so that on Scene 1, when you click on the button it will take you to Scene 2. The problem is, if you just let Scene 1 play it automatically goes into Scene 2 without clicking on the button. I am unsure how to just get it to play Scene 1, and only when you click on the button it will go to Scene 2. Then in my Scene 2 (with the information) I do not know how to keep the information there with the background still moving. I am not even sure if I am on the right track to doing the right thing.
Any suggestions or help you have would be greatly appreciated. Thank you in advance.
Add a layer to your timeline. At the very last frame make a keyframe. Click in that single keyframe and go in the Window->Actions panel.
If you want whatever happened on the timeline to happen again, use this script:
gotoAndPlay(1);
If you want it to stop at the end, just use this:
stop();
Do this to each scene you want to stop or loop at the end of.
Similar Messages
-
Creating a flash website to work with php & MYSQL for MMORPG
Hi i have a website which is a gangster MMORPG, it using PHP,
CSS, HTML and some javascript but however with the amount of game
similar to mine i want to make it unique so i bought "building
flash websites for dummies" i have read must of it and understand
most of it. but however don't really have a clue i it could
actually work with my website.
what i want to know is can it work with my current PHP &
MYSQL, so for example i want to create a logging page with flash to
replace my old PHP/HTML one this will be my first crack at it. but
will flash be able to check the MYSQL database and send error
messages back to the view etc.Yeah, this can work... My recommendations would be to read a
couple articles in the dev center on this topic, that should get
you started...
http://www.adobe.com/devnet/flash/articles/flash_databases.html
http://www.adobe.com/devnet/flash/articles/datawizards.html
http://www.adobe.com/devnet/flash/articles/ria_dataservices.html -
How do I create a flash website with multiple urls?
I am not great at flash and am making a website that has a few different tabs for different pages. How do I make different urls for each page? I want to track each page seperately.
Thank you.use getURL() (as2) or navigateToURL() (as3).
-
Embed Flash Animation Inside Flash Website
Hello,
I have created a flash website and I want my features button
to load and play a features movie (or animation) when it is
clicked. I know how to actionscript already and add buttons and
event listeners. My main objective is to avoid adding the features
movie into the flash website's timeline because i think it will
greatly increase the file size and therefore loading time of the
site. Since the features movie is passive and only needed when the
user clicks the features button, it should be stored in a separate
file or timeline so that it doesn't load with the main website. The
feature movie should only be loaded and played when the user click
the feature button. Is there any way to do this with flash or am I
stuck working in the website's timeline and using stop() and
gotoAndPlay() in actionscript?
ThanksIf you're using AS 2.0, then press F1 for help and search AS
2 for "loadMovie".... or you can go here:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00001189.html -
Hi there,
I'm creating a flash website of my portfolio and, even though
I am not very good with AS, and I'm probably over complicating my
life the way I'm doing it, I would also know which is the best/most
usable way of creating a Flash website.
What I mean is, I was taught to do the browsing through
scenes, but I read somewhere that that's not a very good practice.
So I thought of creating each .swf separately and calling it
through a loadMovie, but I got stuck when it goes in the movie, to
call back another .swf (meaning, the different sections of the site
that are browsed through with the menu buttons).
Does anyone know which would be the best way to set up the
flash website?
Thanks,
N.Thanks all!
Well, what Rob said is what I've been doing, but I get
confused. So, I have my main movie with all my loadMovie in
different frames, right? Once one of them plays, how does it go to
another one in the main frame?
I'm not sure I'm making myself clear.
Ok, let's put an example:
My main movie is, let's call it, index.
In it, I have 4 frames: home, web, photography and drawings.
I enter photography, where there's a button to go back to
home or photography or any of the other sections. How do I tell
that button to go to the movie within index and play a specific
frame? Is that possible?
Btw, Dave, what's the difference with MovieClipLoader and
loadMovie? I'm using AS 2.0, cos I am way unfamiliar with AS 3.0.
Thnx again,
N. -
How to add a background image to a flash website?
Hi there.
I've created a flash website at 960X600 pixels.
I have a JPG image that I want to use a BG to fill the browser page.
I can edit the index.html file. Should it be inserted there? the name of the BG is bg.jpg
Thanks
Gil.GREAT! how do I do that?
this is the html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>index</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #ffffff;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="100%" id="index" align="middle">
<param name="movie" value="index.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="transparent" />
<param name="scale" value="noscale" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="index.swf" width="100%" height="100%">
<param name="movie" value="index.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="transparent" />
<param name="scale" value="noscale" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html> -
I want to create a Flash site related to the space tourism industry. I'm looking for some good ideas on the best way to develop an introductory page using Flash. Any suggestions?
You can go to www.flashmo.com and download the ready made free templates and you can edit as per your need only thing require is to have some knowledge of flash actionscript and you can easily create the flash website with the help of that templates
And you can learn also from that templates. -
How do I create a hyperlink to a specific section of a flash website?
Ok, I have no experience coding in flash, I just want to
create links to specific parts of a flash website (website that
were created by other people, not that I am building). In other
words, I just want to create the hyperlink that will open a certain
section of the website - I'm not developing the site and I don't
want to create links inside the site. Is there any way to do this?
For example:
http://www.lucasarts.com/games/fracture/
is the flash site I want to link to. Wherever I navigate in
the site, the address never changes in my browser. But I know it is
possible to get a URL to a specific flash page, because I have seen
some of the web admins post them.
For example:
http://www.lucasarts.com/games/fracture/?section=2&sub=5
which opens a very specific section of the site. So is there
anyway for me, an average computer user with no experience in flash
coding, to get a hyperlink to open a certain section of a flash
site, or at the least get my browser to display the specific URL
(that is, the "?section=2&sub=5" part of the address). I use
firefox, but am willing to try anything or any browser at this
point.
Thanks!My Flash sites use a section and subSection structure, and
within the site I use the numbers to display specific areas. But
it's done internally. I have no code that looks at a query string
attached to the URL so supplying the numbers to my sites will have
no effect. The example you give clearly does read parameters passed
in a query string so if you know the correct numbers (and the param
names eg 'section') then you can do it. -
Hi, My name is David and I followed a course creating my own website from Lynda.com by Paul Trani. After that I created my first own webste. After I finished it, everything was working well in flash and firefox. I have only one problem and question concerning the feed back form for sending info from my website to my emailaddres. I created my website “LisbonDreamWalking”in Flash CS5 pro. I herein have a contact page, where people can send an email for a walk in Lisbon, date,the number of people etc. Now I want through my ISP / host funpic.org, that the input, info text fields to be sended to my emailaddress [email protected]. My mail URL adress iss: http://lisbondreamwalk.li.funpic.org This is a free host, so they don't work with forms like in the course, and I need some additional info for the php. Here is my HTML (Flash actionscript 3.0) for the sending I only have the red text to fill in (php), I was told by the adobe course.I really hope someone can help me?! Thanks in advance!
Instructions: 1. Add your custom code on a new line after the line that says "// Start your custom code" below. The code will execute when the symbol instance is clicked. */ send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13); function fl_MouseClickHandler_13(event:MouseEvent):void { if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "") { thankyou.text = "please fill out all fields"; } else { // create a variable container var allVars : URLVariables = new URLVariables(); allVars.name = thename.text; allVars.email = theemail.text; allVars.time = thetime.text; allVars.persons = thepersons.text; allVars.message = themessage.text; //Send info to a URL var mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php"); mailAddress.data = allVars; mailAddress.method = URLRequestMethod.POST; sendToURL(mailAddress); thankyou.text = "Thank YOU!"; thename.text = ""; theemail.text = ""; thetime.text = ""; thepersons.text = ""; themessage.text = ""; } }
HThank you Kglad, I am going to see if I can make it work. I will let you know!
Date: Thu, 13 Oct 2011 08:55:05 -0600
From: [email protected]
To: [email protected]
Subject: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
Re: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
created by kglad in Action Script 3 - View the full discussion
you missed part of the tutorial (or the tutorial is incomplete): send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13); function fl_MouseClickHandler_13(event:MouseEvent):void{ if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "") { thankyou.text = "please fill out all fields"; } else { // create a variable container var allVars : URLVariables = new URLVariables(); allVars.name = thename.text; allVars.email = theemail.text; allVars.time = thetime.text; allVars.persons = thepersons.text; allVars.message = themessage.text; //Send info to a URLvar mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php"); mailAddress.data = allVars; mailAddress.method = URLRequestMethod.POST; sendToURL(mailAddress);
}} var urlLoader:URLLoader=new URLLoader(); function sendToURL(mailAddress):void{urlLoader.addEventListener(Event.COMPLETE,completeF);urlLoade r.load(mailAddress);} function completeF(e:Event):void{ thankyou.text = "Thank YOU!"; thename.text = ""; theemail.text = ""; thetime.text = ""; thepersons.text = ""; themessage.text = "";}
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3969414#3969414
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3969414#3969414. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Action Script 3 by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Can anyone contribute some inputs for creating flash website?
Basically Iam new to flash actionscript3.0, I am plannning to create Flash website. I need some help from anyone like creating button events, getting url, loading dynamic text etc. If you can pls share useful source file which is helpful for me.
Thanks,
HabibAs a relative newbie to Flash myself I'd simply recommend getting stuck in and messing about, find out how to do each individual thing as you come up against it. Don't be scared off by the new environment, if you just dive in you'll be up and running in no time Oh and don't expect the first thing you make to be of any real use - create something just to mess about in then start over once you know what you're doing a bit more.
I found this collection of videos very helpful in getting up and running:
http://tv.adobe.com/watch/learn-flash-professional-cs4/getting-started-01-understanding-fl ash/ -
How do I create a full 100% flash website with no html coding???
Hi i really need some help. I am very very curious of how
some of the websites are being created 100% in flash. No matter
where I view it, no matter whether the window is maximum 100%, it
will be showing a very dynamic flash site.For example, the former
macromedia official site.
I have lost some of the cool examples i have seen. Here is a
similar site but it is not 100% flash site.
http://www.fordvehicles.com/?referrer=http%3A%2F%2FWWW%2EFord%2Ecommy site (www.mudbubble.com) does what i think you are
asking....
Basically I use this code in 1st frame of movie:
Stage.scaleMode = "noScale";
Stage.align = "TM";
Then in publish settings i set the width and height to 100%.
This forces the swf to scale to
whatever browser size yet the code on frame 1 does not allow
the stage contents to scale.
--> Adobe Certified Expert (ACE)
--> www.mudbubble.com :: www.keyframer.com
-->
http://flashmx2004.com/forums/index.php?
-->
http://www.macromedia.com/devnet/flash/articles/animation_guide.html
-->
http://groups.google.com/advanced_group_search?q=group:*flash*&hl=en&lr=&ie=UTF-8&oe=UTF-8
hyperila wrote:
> Hi,
> sorry maybe you have gotten my question wrongly.
>
> i know how to do flash website. but i am just curious
how one implement in site like the following...
>
http://www.attik.com
>
> any idea? -
Is to possible to open a program in Flash Website which is created in Visual Baisc 6?
Hi,
I have a small program developed in Visual Basi 6 and would like other users to access it through my Flash Website. Is it possible to do so. It is a database program that retrieves data from MS Access database which is used as backend.
Thanks.You can't open it within Flash, but if it can live on a page, then you can just jump to the page it's on.
-
Adding payPal shopping cart to a Flash website?
Hi there,
I'm a newbie, creating my first flash website and my first shopping cart, so be easy on me.
I've done a lot of research, however was unable to find any tutorials on how to set up a Paypal shopping cart or any other secured shopping cart in a website that was created in Flash professional CS5, actionscript 3.0. Paypal's tutorial is only for html (copy/paste the code in your html website and voila) but how to integrate shopping cart in Flash website? Any help would be appreciated.
This is my first time setting up a cart on a website. I have a "shop" button on my site (see picture below) that I would like linked to an external page preferably with my items that I would like to sale. Not sure if paypal's shopping cart can do what I want it to do. Once the user clicks on the "Shop" button, I'd like for my customer to be able to see a picture of the items I have for sale, price for each item, a box where the buyer can write quantity of item desired, add to cart button and then check out button. With paypal shopping cart, can I add pictures beside each item I am selling when entering the price on paypal's website or I have to add the pictures of the items I am selling directly in my shop section of my website and add a buy now button for each individual item and then copy/paste the email link provided by Paypal to each of my buy now buttons and add that code to my "Actions" layer within Flash? How would the script look like? And what if later on I want to add additional info to an item, change price or delete it completely...would I have to make the changes everytime within paypal only or I'd have to make the changes on both paypal and my flash file and upload new copy to server? I'd like for my cart to integrate with my site (keep the same look and feel, same layout/background color) preferably but what ever way is the easiest. Thanks for your help.Any source that provides embed code to add to your webpage should work. So in other words if E-Junkie provides the HTML code that you simply embed in your own code it will work. If it requires a certain plugin be installed it may or may not.
-
Advice on how to keep Flash website small & fast
Hi, I'm developing my first Flash website (I know, I know, there are plenty of reasons to use other development products, but for now it will be Flash), and I envision a site with several pages and needing to load some large graphics. I'm doing the main design work in Illustrator and importing it into Flash. I'm not too concerned with animation except perhaps moving some buttons around. My plan so far is to use a lot of UI loaders to keep the main .swf small and to really try to keep the coding pretty simple as I'm a newbie anyway. I'm looking for general advice on how to prevent the main site from loading quickly - for example, I don't have a good sense of the best format to use for graphics, or which makes the site slower: using several UI loaders or just keeping the content in the main site? Is a lot of code or large graphics more draining on the load time? Any thoughts on what you think I can do or not do to keep it lean would be super appreciated, or any other resources you might be able to point me to.
Thanks in advance!Nah... really really stupid questions only get asked in non-Flash forums. The size of the swf is not tied tot the size of the fla. The fla has alot more baggage that inflates its size greatly compared to the swf it creates. The swf will end up bearing the weight of whatever content you put in it.
If you want to see what's adding weight to your swf, go into your Flash Publish Settings and select the option to Generate Size Report. When you publish the file it will display a detailed report of each element and the weight it contributes to the swf.
As far as dynamically loading swf's, it is often a necessity, unless the swf is strictly an animation. If you import an swf into an fla file, all of the actionscript that might have been in it is stripped out.
Code will have negligible weight in a file. Images (large/heavy ones) can put lead shoes on a file, along with video and sound files. -
What is the best way to create a Flash site
Hello Everyone,
I am realtively new to flash. I created the splash page of
our site in flash but 1st off it takes to long to load as it is.
But I would like to create the entire site in Flash. What is the
best way to create a Flash site, and are there tutorials out there
or any really good books, resources, or online classes to learn
Flash well. I understand the basic of flash and have created
banners, and other flash materials.
Can anyone help?For me, as a noob, It's all about creative problem solving.
For lots of stuff, there's no right or wrong solution, but you have
to figure things out on your own. I, too, have built sites from the
ground up, and then rebuilt them even better. It's the only way to
really learn it well. Books, online forums, help docs all sort of
help, but it all comes down to how innovative you can be with
integrating them all into a site that is completely yours.
This might save you loads of headaches: avoid using scenes,
unless you are doing only animation. Keep each of your 'pages' on
their own keyframe, and use 'gotoAndStop' to navigate through them.
This is perhaps the easiest way to create a website quickly.
P
Maybe you are looking for
-
Need help on case statements to validate records
Hi Experts , My table : seq_num col2 col3 col4 1 A 12345 P 2 B 1 123%23 3 C 1 23AB 4 D 1 20131001 5 E 1 6 A 13245 Q 7 B 1 12345 8 C 2 1234*AB 9 D 5 20140112 10 E 1 00020 my output seq_num col2 col3 col4 Status Reason 1 A 12345 P Valid 2 B 1 123%23 in
-
How to make same sized pdf?
Hi, I'm new to Adobe Acrobat, and now using Acrobat XI Pro. I have problem on how to recompile different pdf size and producing the output of same sized pdf. Well, let me try to explain. The width x height of my first page is around 6.78" x 6", while
-
I have had a recent fraudulent set of withdrawals from a an account which is managed online via an iMac, using Mavericks 10.9.2. Bank believes that malware on the iMac may be the source. Is this a possibility? Apple experts say it is highly unlike
-
Hi, Can someone tell me if there is a way to switch all my RoboHelp HTML files to the doctype 5 automatically? Is there an option in RoboHelp to select the HTML version? Or any other way to achieve this except for manual editing of the HTML code. Tha
-
Hi All, I have the following requirement. I need to access XKOMV structure when the sales order header screen-condition tab is accessed. this structure has different value in run-time at header and item level. I want the value of XKOMV when header co