473,774 Members | 2,094 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

graphic designer new to code needs help

1 New Member
Hello all, I am a photographer/graphic artist and I am createing a website useing flash.
I have created a flash animation that contains everything I want to happen in the page.
I now want to write code that will allow me to click the buttons and have the animation go to a certain frame and play then pause on a certain frame. when the next button is pressed i want the current animation continue for the last 30 frames then go to the first frame of the section for that button. total of 3 buttons plus home.

every time i find something that sounds helpful it just confuses me more... my brain just doesnt work with code!

the key here is that the web page you will see needs to complete for 30 frames before the webpage you want to see can start
Help...
Jan 30 '08 #1
1 1365
nomad
664 Recognized Expert Contributor
Hello cjfetes:
OK this is a tall order, but here goes.
1. create two new layers call them Labels and actions.
2. the action layer should be the length of your project.
next we are going to put an action in it. So make sure your action window is open.
type in stop();
3. On the Label layer we're going to place names in every 30 frames. The labels layer needs to match
the photo layer ie place a keyframe every 30 frames.
next name each Label frame To do this click on the the first frame and then go to the properties toolbox. Look for frame (left side) type in the box photo1 (or what ever you want).
Next look for label type select Name. Repeat each step until you have all 30 done.
4. Next we need to create the buttons which you already have. But you need to have the button layer match each photo and label layers. So place a keyframe every 30 frames.
So right now you should have 30 labels, 30 photos and 30 buttons (3 per ie next, Play again button, and home)
select the Button layer and click on the Next button. We're going to place an behavior on that button.
Make sure your Behavior window is open. Click on the Plus Sign (+) and select Movieclip and scroll to Goto and stop at frame or label. You should see a text box at the bottom type in photo1 and click ok.
Your Action Window should have something like this:

Expand|Select|Wrap|Line Numbers
  1.  on (release) { 
  2. //Movieclip GotoAndStop Behavior 
  3. this.gotoAndStop("photo1");
  4. //End Behavior
  5. }
  6.  
Note I think you can use GotoAndPlay as well


Do the same thing for play again button
Next go to the next button frame section ie frame 31. select the next button repeat the process above instead you would tpye in photo2 and the same thing goes for the play again button.
Do a test at this point if it works continue until you have all 30 done.
good luck. I hope I did not confuse you.

nomad
Jan 30 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1190
by: benonkoebsch | last post by:
Hi guys, I have a proposition for all here. I am a graphic designer who is really stuck with some basic javascript. If anyone would like to help me out, check out my problem here: http://free.hostultra.com/~bjwok/thequestion.htm I am genuine about this and will mail anybody who does offer to help a copy of my recent film.
7
12504
by: Martin Schulze | last post by:
Hello, i tried to compose myself a custom usercontrol which is derieved from System.Windows.Forms.UserControl. It contains 2 comboboxes and one textbox (which are also custom controls, but directly derived from the .net classes ComboBox and TextBox) I did the custom control in the visual studio .net designer in which i
0
2180
by: Anonieko Ramos | last post by:
> I have a graphics images that I want to convert to > ASCII art. How do I do it? > Code: - Default.aspx.cs
6
1581
by: Peter Oliphant | last post by:
I'm working with Graphics transforms (i.e., RotateTranform, TranslateTransform and ScaleTransform ). Are these applied to the WORLD (graphics container) before drawing into that world (graphics container)? That is, if I apply a Rotation of 90 degrees clockwise then the old x-axis is now the new y-axis and the old y-axis is now the new x-axis (sign-reversed due to the fact that the y-axis of a screen increases the lower on the display). ...
0
897
by: RickN | last post by:
Can anyone recommend a good web graphic designer in the Cincinnati/Northern KY area. Please reply to me offline with your referrals. Thanks, RickN
2
4680
by: crusell | last post by:
I'm having some problem with my Visual Studio.NET 2003 (.NET 1.1 SP1) install. I am unable to use the web forms designer with any aspx file whose form class inherits from a base class. I'm implementing the page controller design pattern and everything has been working fine until now. My form inherits from a base class called CampusNET.CampusPage. The class exists, is included in the project and compiles just fine. If I replace the base...
1
2500
by: ray well | last post by:
hi, i need to give the user the ability to extract a rectangular area of their choice from a graphic displayed in a picture box to the clipboard, so they can use it elsewhere. say the graphic has an image of a house with a door in it and the user is interested in the door. the rectangle is selected by placing the mouse on the upper left corner of the door, pressing down on the left mouse button, and draging it to the lower right...
8
10176
by: Brian Ward | last post by:
I am looking for a simple way to set the image transparency in a PictureBox. I have a moving PictureBox containing a graphic image .. moving by incrementing its Left property. The background however shows white as the PictureBox moves but I want it to be transparent. The PictureBox BackColor is set to Transparent .. but no affect. I have used PhotoShop to make the image background transparent .. again no affect. If I make the image a...
4
1528
by: Jonathan Wood | last post by:
I've figured out how to create an image on the fly on my Website. Once created, I write the image to the page using code like this: Bitmap bm = Response.ContentType = "image/jpeg"; bm.Save(Response.OutputStream, ImageFormat.Jpeg); The code I have does indeed display the graphic, but the page shows nothing else. I need to write the image to a location within my Web page.
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10267
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10040
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8939
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6717
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4012
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.