I need help duplicating a button
I have a button that I often have to put on forms, so I have a pdf with nothing but that button in it. Whenever I need to use the button I open the pdf, go into my forms tools, edit the form, copy the button, and then paste it into the pdf that needs the button. I'm looking for a way to streamline the process by using an action. My idea is that I can insert my button pdf as the first page of any other pdf, move the button from page 1 to page 2 (or duplicate it on to page 2), then delete page 1 leaving just my form with the button.
The problem I'm running into is that I can't find any way of moving, or duplicating my button on to page 2. I assumed I could do it with a script, but I haven't been able to get it done. I don't think creating a new button with a script will work since my button has about 350 lines of script already attached to it, as well as specialty images when rolled-over and pressed (though if there's a way to maintain those attributes I'm happy to try).
Any help would be greatly appreciated.
I appreciate the help. Because of the replies I received, I assume that I can't just move the button from one page to another, so I'm proceeding with your suggestion try67, and this is where I'm at:
My action now inserts my button page in the form, uses a script to get the icons from that button, and deletes the button page. The script also creates a new button on the first page of the form and sets up the button properties.
The problem I'm facing now is getting the javascript from my original button into the new button.
My current solution is to copy the original button's javascipt and paste it into my action's javascript. I wrap that script in a function called "buttonFunction" and then use the following code snippet in my action javascript:
function buttonFunction()
//about 350 lines of code
f.setAction("MouseUp","buttonFunction()");
I'm hoping there's a way to get the 350 lines of code into my newly created button without having that code written into my action script. Is it possible to copy my original button's javascript into a variable, then using that variable instead of buttonFunction()?
I'm hoping for something like:
var myScript = g.getAction("MouseUp");
f.setAction("MouseUp",myScript);
If you have any ideas, I would appreciate the help.
Similar Messages
-
Hello,
I need help with a button. I created a button and set it up
so that when you click and hold it, the button becomes lighter in
color (I used Alpha). I want the button to stay this light color
after i release the click. Right now it goes back to the normal
color when I release the click. Can somone help we this?
Thanks!rpofclt wrote:
> Hello,
>
> I need help with a button. I created a button and set it
up so that when you
> click and hold it, the button becomes lighter in color
(I used Alpha). I want
> the button to stay this light color after i release the
click. Right now it
> goes back to the normal color when I release the click.
Can somone help we
> this?
you can't use the button itself if you want to maintain the
DOWN state after
release as button automatically resets itself once the mouse
lives the HIT zone.
Use movie clip instead and on press simply send it to a frame
where there
is DOWN state like image.
Best Regards
Urami
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Need help in creating Buttons in ADF10g
Hi,
My questions are:
1. Is it possible to modify the width of row in ADF10g. Because the width of rows in my output are high. So I want to reduce it.
2. I need help in creating a new 'createbutton' to create a newlist for the table . for this I have used create button but didnot succed.
3. I also need help in creating 'save button' to save modified data into the table.
4. I need help in creating a select-one-choice and select-one-list for columns of table.
Please help me.
regards,
sanjana
sanjanathe Easy Tabs could be useful for your requirement
http://usermanagedsolutions.com/SharePoint-User-Toolkit/Pages/Easy-Tabs-v5.aspx
/blog
twttr @esjord -
I need help with a button animation!
Hi,
I hope someone can help with a simple-looking problem which
nonetheless has me stumped!
I have a feeling that I've missed something obvious.
I've created a movie clip to act as a button (I've called it
"abs_button") and placed it on the stage.
My main movie has one frame.
Within the "abs_button" movie clip there are 5 layers.
Labels, actions, default button state, rollover state and rollout
state.
Technically, default button state, rollover state and rollout
state could be on the same layer as they don't overlap, but I've
given each animation its own layer for clarity.
FRAME 01.
Default button state is one frame with a graphic of the
button. Just a label at the start ("abs_up") and a "stop();" action
at the end.
FRAME 02 to 31.
Rollover state is a 30 frame animation. Label at start
("abs_over"), "stop()"; action at the end.
FRAME 32 to 62.
Rollout state is a 30 frame animation. Label at start
("abs_out"), "stop()"; action at the end.
All animations were achieved with tweens.
My initial "abs_button" code:
on (release) {
getURL("targetPage.htm", "_self");
on (rollOver) {
gotoAndPlay("abs_button", "abs_over");
on (rollOut) {
gotoAndPlay("abs_button", "abs_out");
As it stands, the animation jumps to frame 1 of "abs_out" on
rollout.
I need the "abs_over" animation to always play through to the
end, as the "abs_out" is "abs_over" in reverse (i.e. image grows
large on rollover and shrinks again on rollout.
I've tried for 2 days to solve this, but I clearly need help.
My experiments with variables simply didn't work.
I would be grateful if someone could tell me where I'm going
wrong!
Thanks,
Andyuse this:
on (rollOver) {
gotoAndPlay("abs_over");
Since the code is attached directly to the movieclip, you
don't have to
identify the clip. A gotoAndPlay() function takes a frame
number or a
frame label name as its argument, never the name of the clip
that
contains the frame number or name.
Rob
Rob Dillon
Adobe Community Expert
http://www.ddg-designs.com
412.243.9119 -
NEED HELP IN RADIO BUTTON QUERY
Hi, Friends
I like to query to extract data from my table with the help of radio button but I am not able to think what I should write to query. Plz help.
The radio button select jsp page code is-
<form action="queryservice.jsp" method="post">
<h3><strong>Services Available</strong></h3>
<p>
<label>
<input type="radio" name="service" value="si" />
Institutions</label>
<br />
<label>
<input type="radio" name="service" value="sc" />
Corporate_Offices</label>
<br />
<label>
<input type="radio" name="service" value="sr" />
Restaurent_Cafe</label>
<br />
<label>
<input type="radio" name="service" value="sb" />
Bus_Stop</label>
<br />
<label>
<input type="radio" name="service" value="sa" />
Apartment</label>
<br />
<label>
<input type="radio" name="service" value="sh" />
Hotels</label>
<br />
</p>
<label>
<input type="submit" value="Submit" />
</label>
</form>And queryservice.jsp page is
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
<sql:query var="xyz" scope="request">
<% String var = request.getParameter("service"); %>
if(var.equals("si")){ SELECT si FROM serviceTable}
else if(var.equals("sc")){ SELECT sc FROM serviceTable}
else if(var.equals("sr")){ SELECT sr FROM serviceTable}
else if(var.equals("sb")){ SELECT sb FROM serviceTable}
else if(var.equals("sa")){ SELECT sa FROM serviceTable}
else if(var.equals("sh")){ SELECT sh FROM serviceTable}
</sql:query>Please correct it.
Thanking youError Report-
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException:
if(var.equals("si")){ SELECT si FROM serviceTable }
else if(var.equals("sc")){ SELECT sc FROM serviceTable}
else if(var.equals("sr")){ SELECT sr FROM serviceTable}
else if(var.equals("sb")){ SELECT sb FROM serviceTable}
else if(var.equals("sa")){ SELECT sa FROM serviceTable}
else if(var.equals("sh")){ SELECT sh FROM serviceTable}
: Non supported SQL92 token at position: 57: SELECT
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
javax.servlet.ServletException: javax.servlet.jsp.JspException:
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
Apache Tomcat/6.0.14 -
I'm needing a script that locks all of the fields once the submit button is pressed and it's emailed to someone else. Is that possible? Thanks in advance for your help.
Right now I'm using javascript to submit the form. I'm using
this.mailDoc({
bUI: true,
cTo: [email protected],
cSubject: ""
So I need to incorporate the script you gave me with this script that I'm already using? -
Need help with adding buttons.
I thought I could do this without help but I was wrong. I had to add buttons to my program and before it ran fine with the first four buttons I added but know there are many errors and I believe I messed up the whole thing now. Any advice would be greatly appreciated. Here is my code:
import java.util.*;
import java.text.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.JFrame.*;
import java.io.*;
import java.awt.font.*;
import java.awt.geom.*;
import javax.imageio.*;
import java.awt.image.*;
public class DVDInventory6
public static void main(String[] args)
Scanner input = new Scanner( System.in );
int j;
DVD_Genre [] inventory = new DVD_Genre[5]; // Size of the array
// create DVD object
inventory [ 0 ] = new DVD_Genre( "Rocky", "Action/Drama", 01, 15, 9.95 );
inventory [ 1 ] = new DVD_Genre( "RockyII", "Action/Drama", 02, 13, 14.95 );
inventory [ 2 ] = new DVD_Genre( "Matrix", "Action/Sci-Fi", 03, 23, 14.95 );
inventory [ 3 ] = new DVD_Genre( "MatrixII", "Action/Sci-Fi", 04, 17, 19.95 );
inventory [ 4 ] = new DVD_Genre( "Bambi", "Family", 05, 33, 12.95 );
// Print out a screen title
System.out.println();
System.out.printf("Welcome to DVD Inventory:\n\n");
GUI gui = new GUI();
for(j=0; j<5; ++j)
gui.add(inventory[j]);
double total = 0;
for ( j=0; j<inventory.length; j++ )
total += inventory[j].getvalueofdvds ();
} // end for
gui.setTotal(total);
gui.display();
public static void sortDVD(DVD[] inventory)
//DVD_Genre temp[] = new DVD_Genre[1];
int i, j;
for (i=1; i <inventory.length; i++)
for (j=0; j < inventory.length-i; j++)
if (inventory[j].getdvdName().compareTo(inventory[j+1].getdvdName())>0)
// exchange elements
DVD temp = inventory[j]; //new DVD_Genre [1];
inventory[j] = inventory[j+1];
inventory[j+1] = temp; //temp [0];
}//end method main
}//end DVDInventory6
class DVD
protected String dvdName; // DVD title
protected String dvdGenre; // DVD genre
protected int productnumber; // DVD product number
protected int numberofproducts; // the number of products in stock
protected double price; // the price of the products in stock
public DVD (String name, String genre, int productnumber, int numberofproducts,
double price ) // class dvd constructor
this.dvdName = name;
this.productnumber = productnumber;
this.numberofproducts = numberofproducts;
this.price = price;
this.dvdGenre = genre;
public DVD( String name, int productnumber, int numberofproducts, double price ) //
class dvd constructor
this.dvdName = name;
this.productnumber = productnumber;
this.numberofproducts = numberofproducts;
this.price = price;
public void setdvdName( String name ) // method to set dvd name
this.dvdName = name; // store the dvd name
public String getdvdName()// method to get dvd name
return dvdName;
public void setproductnumber( int productnumber ) // method to set productnumber
this.productnumber = productnumber; // store productnumber
public int getproductnumber()// method to get productnumber
return productnumber;
public void setnumberofproducts( int numberofproducts )// method to set
numberofproducts
this.numberofproducts = numberofproducts; // store numberofproducts
public int getnumberofproducts()// method to get numberofproducts
return numberofproducts;
public void setprice( double price )// method to set price
this.price = price; // price of the products in stock
public double getprice()// method to get price
return price;
public double getvalueofdvds()// method to get valueofdvds
return numberofproducts * price;
} // end class DVD
class DVD_Genre extends DVD
private String genre; // genre of DVD
private double restockingFee; // percentage added to inventory value
//constructor
public DVD_Genre(String name, String genre, int productnumber, int numberofproducts, double
price)
super(name, genre, productnumber, numberofproducts, price);
this.genre = genre;
this.restockingFee = restockingFee;
public void setdvdGenre( String genre ) // method to set dvd genre
this.dvdGenre = genre; // store the dvd genre
public String getdvdGenre()// method to get dvd genre
return dvdGenre;
// Calculates restocking fee based on previous data.
public double restockFee() {
double total = 0;
double restock = 0;
total = numberofproducts * price;
restock = total * .05;
return restock;
public String toString()
DecimalFormat Currency = new DecimalFormat("$0.00");
return "\nDVD Title: " + dvdName + "\nDVD Genre: " + dvdGenre + "\nProduct number: " +
productnumber +
"\nNumber of products: " + numberofproducts + "\nPrice: " + price + "\nValue of
DVD's: " + Currency.format(numberofproducts * price) + "\nRestock Fee: " +
Currency.format(numberofproducts * price * .05);
}// End class DVD_Genre
class GUI {
private DVD[] dvds;
private int nCount;
private double total;
// Creates array DVD[]
GUI() {
dvds = new DVD[5];
nCount = 0;
public void add(DVD dvd) {
dvds[nCount] = dvd;
++nCount;
public void setTotal(double total)
this.total = total;
DecimalFormat Currency = new DecimalFormat("$0.00");
//Displays the arrays contents element by element into a GUI pane
public void display() {
GUIDisplay(dvds, 5);
public void GUIDisplay(DVD[] products, int numOfProducts)
PanelFrame frame = new PanelFrame(products, numOfProducts);
frame.pack();
frame.setVisible(true);
frame.setSize(600, 450);
} // end class GUI
class PanelFrame extends JFrame
private JButton first;
private JButton next;
private JButton previous;
private JButton last;
private JButton add;
private JButton delete;
private JButton modify;
private JButton search;
private JButton save;
JTextField dvdName;
JTextField productnumber;
JTextField numberofproducts;
JTextField price;
private DVD[] products;
private int numOfProducts;
private int currentIndex = 0;
/** Creates a new instance of PanelFrame */
public PanelFrame(DVD[] products, int numOfProducts)
super("Welcome to the DVD Inventory");
this.products = products;
this.numOfProducts = numOfProducts;
setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
setLayout(new GridLayout(6,1,5,5));
showLogo();
showLabels();
showInputFields();
showButtons();
public class MovieGraphics extends Component
private BufferedImage image;
private boolean imageFound = true;
public MovieGraphics()
super();
try
image = ImageIO.read(new File("logo.jpg"));
catch (IOException x)
x.printStackTrace();
imageFound = false;
public void paint(Graphics g)
if (imageFound)
g.drawImage(image,
0, 0, 200, 100,
0, 0, image.getWidth(null), image.getHeight(null),
null);
else
g.drawString("Gary's DVD Krypt", 30, 30);
} // end of class MovieGraphics
public void showLogo()
MovieGraphics myLogo = new MovieGraphics();
this.add(myLogo);
public void showLabels()
JPanel panel = new JPanel();
panel.add(new JLabel("DVD Title"));
panel.add(new JLabel("Product number"));
panel.add(new JLabel("Number of products"));
panel.add(new JLabel("Price"));
this.add(panel);
public void showInputFields()
JPanel panel = new JPanel();
dvdName = new JTextField(10);
productnumber = new JTextField(10);
numberofproducts = new JTextField(10);
price = new JTextField(10);
dvdName.setEditable(false);
productnumber .setEditable(false);
numberofproducts.setEditable(false);
price.setEditable(false);
panel.add(dvdName);
panel.add(productnumber );
panel.add(numberofproducts);
panel.add(price);
this.add(panel);
public void showButtons()
JPanel panel = new JPanel();
first = new JButton("First");
next = new JButton("Next");
previous = new JButton("Previous");
last = new JButton("Last");
add = new JButton("Add");
delete = new JButton("Delete");
modify = new JButton("Modify");
search = new JButton("Search");
save = new JButton("Save");
panel.add(first);
panel.add(next);
panel.add(previous);
panel.add(last);
panel.add(add);
panel.add(delete);
panel.add(modify);
panel.add(search);
panel.add(save);
ButtonActionHandler handler = new ButtonActionHandler();
first.addActionListener(handler);
next.addActionListener(handler);
previous.addActionListener(handler);
last.addActionListener(handler);
add.addActionListener(handler);
delete.addActionListener(handler);
modify.addActionListener(handler);
search.addActionListener(handler);
save.addActionListener(handler);
this.add(panel);
setFields(0);
protected void paintComponent(Graphics g)
public void setFields(int i)
setdvdName(i);
setproductnumber(i);
setnumberofproducts(i);
setPrice(i);
public void setdvdName(int i)
dvdName.setText(products.getdvdName());
public void setproductnumber(int i)
productnumber.setText(String.valueOf(products[i].getproductnumber()));
public void setnumberofproducts(int i)
numberofproducts.setText(String.valueOf(products[i].getnumberofproducts()));
public void setPrice(int i)
price.setText(String.valueOf(products[i].getprice()));
private class ButtonActionHandler implements ActionListener
public void actionPerformed(ActionEvent event)
if (event.getSource() == first)
addClicked = false;
currentIndex = 0;
setFields(currentIndex);
makeFieldsEditable(false);
else if (event.getSource() == next)
addClicked = false;
currentIndex++;
if (currentIndex == numOfProducts)
currentIndex --;
setFields(currentIndex);
makeFieldsEditable(false);
else if (event.getSource() == previous)
addClicked = false;
currentIndex--;
if (currentIndex < 0)
currentIndex = 0;
setFields(currentIndex);
makeFieldsEditable(false);
else if (event.getSource() == last)
addClicked = false;
currentIndex = numOfProducts - 1;
if (currentIndex < 0)
currentIndex = 0;
setFields(currentIndex);
makeFieldsEditable(false);
else if(event.getSource() ==add)
//add actions for add here
if (!addClicked)
resetFields();
makeFieldsEditable(true);
int itemNum = incrementItemNumber();
System.out.println(itemNum);
itemNumber.setText(String.valueOf(itemNum));
currentIndex = numOfProducts;
addClicked = true;
else if(event.getSource() ==save)
//add actions for save here
//we need to call SaveToFile.java
// SaveToFile.save;
addClicked = false;
System.out.println(currentIndex);
if (!updateProduct(currentIndex))
JOptionPane.showMessageDialog(null, "You have reached maximum number of products!");
currentIndex --;
setFields(currentIndex);
else
saveProduct();
makeFieldsEditable(false);
else if(event.getSource() == edit)
//add actions for edit here
// Inventory.edit;
addClicked = false;
makeFieldsEditable(true);
else if(event.getSource() == search)
//add actions for search here
// Inventory.findIndex;
addClicked = false;
String name = JOptionPane.showInputDialog("Enter Product Name: ");
int index = searchName(name);
System.out.println(index);
if (index == -1)
JOptionPane.showMessageDialog(null, "No matching product found! ");
else
currentIndex = index;
setFields(index);
Here are my errors:
C:\java>javac DVDInventory6.java
DVDInventory6.java:460: cannot find symbol
symbol : variable addClicked
location: class PanelFrame.ButtonActionHandler
addClicked = false;
^
DVDInventory6.java:463: cannot find symbol
symbol : method makeFieldsEditable(boolean)
location: class PanelFrame.ButtonActionHandler
makeFieldsEditable(false);
^
DVDInventory6.java:467: cannot find symbol
symbol : variable addClicked
location: class PanelFrame.ButtonActionHandler
addClicked = false;
^
DVDInventory6.java:474: cannot find symbol
symbol : method makeFieldsEditable(boolean)
location: class PanelFrame.ButtonActionHandler
makeFieldsEditable(false);
^
DVDInventory6.java:478: cannot find symbol
symbol : variable addClicked
location: class PanelFrame.ButtonActionHandler
addClicked = false;
^
DVDInventory6.java:485: cannot find symbol
symbol : method makeFieldsEditable(boolean)
location: class PanelFrame.ButtonActionHandler
makeFieldsEditable(false);
^
DVDInventory6.java:489: cannot find symbol
symbol : variable addClicked
location: class PanelFrame.ButtonActionHandler
addClicked = false;
^
DVDInventory6.java:496: cannot find symbol
symbol : method makeFieldsEditable(boolean)
location: class PanelFrame.ButtonActionHandler
makeFieldsEditable(false);
^
DVDInventory6.java:501: cannot find symbol
symbol : variable addClicked
location: class PanelFrame.ButtonActionHandler
if (!addClicked)
^
DVDInventory6.java:503: cannot find symbol
symbol : method resetFields()
location: class PanelFrame.ButtonActionHandler
resetFields();
^
DVDInventory6.java:504: cannot find symbol
symbol : method makeFieldsEditable(boolean)
location: class PanelFrame.ButtonActionHandler
makeFieldsEditable(true);
^
DVDInventory6.java:505: cannot find symbol
symbol : method incrementItemNumber()
location: class PanelFrame.ButtonActionHandler
int itemNum = incrementItemNumber();
^
DVDInventory6.java:507: cannot find symbol
symbol : variable itemNumber
location: class PanelFrame.ButtonActionHandler
itemNumber.setText(String.valueOf(itemNum));
^
DVDInventory6.java:510: cannot find symbol
symbol : variable addClicked
location: class PanelFrame.ButtonActionHandler
addClicked = true;
^
DVDInventory6.java:517: cannot find symbol
symbol : variable addClicked
location: class PanelFrame.ButtonActionHandler
addClicked = false;
^
DVDInventory6.java:519: cannot find symbol
symbol : method updateProduct(int)
location: class PanelFrame.ButtonActionHandler
if (!updateProduct(currentIndex))
^
DVDInventory6.java:527: cannot find symbol
symbol : method saveProduct()
location: class PanelFrame.ButtonActionHandler
saveProduct();
^
DVDInventory6.java:529: cannot find symbol
symbol : method makeFieldsEditable(boolean)
location: class PanelFrame.ButtonActionHandler
makeFieldsEditable(false);
^
DVDInventory6.java:531: cannot find symbol
symbol : variable edit
location: class PanelFrame.ButtonActionHandler
else if(event.getSource() == edit)
^
DVDInventory6.java:535: cannot find symbol
symbol : variable addClicked
location: class PanelFrame.ButtonActionHandler
addClicked = false;
^
DVDInventory6.java:536: cannot find symbol
symbol : method makeFieldsEditable(boolean)
location: class PanelFrame.ButtonActionHandler
makeFieldsEditable(true);
^
DVDInventory6.java:542: cannot find symbol
symbol : variable addClicked
location: class PanelFrame.ButtonActionHandler
addClicked = false;
^
DVDInventory6.java:544: cannot find symbol
symbol : method searchName(java.lang.String)
location: class PanelFrame.ButtonActionHandler
int index = searchName(name);
^
23 errorsand many more errors
such as;
* you need to declare a method called makeFieldsEditable that takes a boolean value
eg private void makeFieldsEditable(boolean editable){
// add your implememntation
}* you need to declare a method called resetFields
eg private void resetFields(){
// add your implememntation
}* you need to declare a method called updateProduct
eg private void updateProduct(int index){
// add your implememntation
}etc -
Need help with linking buttons
Can anyone help me with this problem I have.
I have a gfx which I have created 6 shapes and converted them into simple buttons. I have urls sat inside an xml file. How can I get the buttons to use the urls set from within the xml file?
Also how can I change the current external photo that is being loaded to load the url from a setting in the same xml file.
I hope you arnt as confused as I am right now.
I have packaged up the flash file which includeds the xml aswell.
If anyone could help me out with this I would be very greatful.
Thanks All
http://www.onlineaddicts.co.uk/menu.rarRemove the code from all btns, as below paste it on main timeline
Also no need to load xml twice as dome in image container...
give an instance name to the outer container of btns - menumv
use following method to openURL, use same for all the btns..
import flash.events.Event;
import flash.events.MouseEvent;
import flash.net.URLLoader;
import flash.net.URLRequest;
var myXML:XML;
var myLoader:URLLoader = new URLLoader();
myLoader.load(new URLRequest("links.xml"));
myLoader.addEventListener(Event.COMPLETE, processXML);
function processXML(e:Event):void
myXML = new XML(e.target.data);
trace(myXML);
menumv.carbtn.addEventListener(MouseEvent.CLICK, openURL);
function openURL(e:MouseEvent):void
navigateToURL(new URLRequest(myXML.car.url));
http://www.darshanrane.com -
Need help with encore buttons - highlights
Hi All
I am seeking help with Encode CS5. I have a project working fine except that I dont have highlights for buttons, at least I think thats what its called. So when the mouse or remote control navigates up/down toa button it changes colour.
In the properties of my button, the highlight option is greyed out.
How do I apply highlights ?
many thanks
Chris AndersonHi Bill
Thanks for your reply.
Here are 2 screen prints. One from encore the other from photoshop.
First time I have inserted images, and they seem a little small on this message - if you have any problems reading I could email to you.
I have highlighted the first button - which is called 'Highlights' - same issue with all the other buttons.
Do you have to use photoshop to add highlighting? or can you do this in encore - i dont have much experience with photoshop.
Not sure how to check 'Color Set' ? can you tell me how to get that for you - same for transparency for states? - I havent experienced them or changed them as I dont know how to
Yes it was duplicated - have left a message not to reply
Thanks again
Chris -
I'm experimenting with a popup button which will be activated
by pressing on a small thumbnail picture. It opens up to a new pop
up window, but it is blank. What am I doing wrong here?
on (release) {
getURL("javascript:NewWindow=window.open('
http://www.angelfire.com/in/HansonArtGallery/newpaintingbig.html','newWin','width=350,heig ht=285,toolbar=No,location=No,scrollbars=Yes,status=No,resizable=Yes,fullscreen=No');
NewWindow.focus(); void(0);", "_blank", "GET");Try using something like this:
myButton.onRelease=function(){
getURL("javascript:Launch('
http://www.yourSite.com/')");
So, that means you need some JavaScript on your html page:
function Launch(page) {
OpenWin = this.open(page, "MYWindow",
"toolbar=no,menubar=no,location=no,scrollbars=yes,
resizable=no,width=400,height=200");
I have some sample here:
http://www.smithmediafusion.com/blog/?p=148
Dan Smith > adobe community expert
Flash Helps >
http://www.smithmediafusion.com/blog/?cat=11
http://www.dsmith.tv
"tseyigai" <[email protected]> wrote in
message
news:g402sg$llb$[email protected]..
> I'm experimenting with a popup button which will be
activated by pressing
> on a
> small thumbnail picture. It opens up to a new pop up
window, but it is
> blank.
> What am I doing wrong here?
> on (release) {
>
> getURL("javascript:NewWindow=window.open('
http://www.angelfire.com/in/HansonArt
>
Gallery/newpaintingbig.html','newWin','width=350,height=285,toolbar=No,location=
>
No,scrollbars=Yes,status=No,resizable=Yes,fullscreen=No');
> NewWindow.focus();
> void(0);", "_blank", "GET");
> }
>
> -
Can anyone help me with flash buttons? I am trying to build
my first website, and my five flash buttons (inside a 5 col. table)
for page navigation work fine in testing all 5 web pages with
mozilla firefox, and they look the same on the index page when
testing with IE-7. However when I begin navigating to other pages
in IE-7, the flash buttons disappear, and the 5 cols in the table
where each flash button was placed now are not equal sizes anymore
like they are on the index page. In my files area on the right, I
notice 3 out of the five buttons I created have about 15 to 20
"generations" shown there, with numbers 1 through 15 or even more
to qualify them tacked on to the end of the names. Where do these
come from, and why are 2 out of the five only have 1 "generation"
each? I never expected this, and I think it has something to do
with the problem, but maybe not. Please help me if you can!If you want to use Flash for navigation, consider this -
1. Some people don't have Flash installed - what do they do?
2. Search engines don't parse Flash links - your site will
not be spidered
3. Screen assistive devices don't parse Flash links - what
will those users
do?
4. DW cannot maintain links within a Flash movie, so if you
move or rename
a linked file, your navigation will break - what will you do?
It's usually a very bad idea for these reasons...
Your problem is caused by navigating away from the previewed
page. In
general, this is not a good thing to do, since root relative
links will not
work as expected when you do that (locally).
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"dreamnovice" <[email protected]> wrote in
message
news:[email protected]...
> Can anyone help me with flash buttons? I am trying to
build my first
> website,
> and my five flash buttons (inside a 5 col. table) for
page navigation work
> fine
> in testing all 5 web pages with mozilla firefox, and
they look the same on
> the
> index page when testing with IE-7. However when I begin
navigating to
> other
> pages in IE-7, the flash buttons disappear, and the 5
cols in the table
> where
> each flash button was placed now are not equal sizes
anymore like they are
> on
> the index page. In my files area on the right, I notice
3 out of the five
> buttons I created have about 15 to 20 "generations"
shown there, with
> numbers 1
> through 15 or even more to qualify them tacked on to the
end of the names.
> Where do these come from, and why are 2 out of the five
only have 1
> "generation" each? I never expected this, and I think it
has something to
> do
> with the problem, but maybe not. Please help me if you
can!
> -
Need Help with Advanced Button Actions
I am a brand new Captivate 5 user and I have created a image button that I want to have a double action. When the user clicks on the image button, I want it to SHOW a new button AND SHOW another image. I used the Advanced Actions but it does not work when I preview project. Help!
Hello and welcome to the forum,
Did you assign the advanced action to the image button as Success action? And the new button + the image have to be on the same slide, but with the status Invisible. You can not show hidden objects that are sitting on another slide then the slide with the advanced action.
If you want to have more information about advanced actions, I do blog a lot about them. Here is the link to my blog:
http://lilybiri.posterous.com
Lilybiri -
I'm very new to Flash ans AS3, but here's what I've got:
I need my buttons to rotate on rollover and rollout. I've got
it pretty close to what I want, but not quite.
here's the code:
import fl.transitions.*;
import fl.transitions.easing.*;
homeGear_mc.addEventListener(MouseEvent.MOUSE_OVER,buttonRotateOn);
homeGear_mc.addEventListener(MouseEvent.MOUSE_OUT,buttonRotateOff);
function buttonRotateOn(event:MouseEvent):void
TransitionManager.start(homeGear_mc, {type:Rotate,
direction:Transition.OUT, duration:1, easing:Regular.easeInOut,
ccw:false, degrees:90});
function buttonRotateOff(event:MouseEvent):void
TransitionManager.start(homeGear_mc, {type:Rotate,
direction:Transition.IN, duration:1, easing:Regular.easeInOut,
ccw:true, degrees:90});
so as this goes: if I hold the mouse over the button it
rotates to 90 degrees and pops back to the starting position and
keeps rotating over and over again. I need it to stop after 90
degrees and hold that position. I'm guessing I should use a stop
action somewhere, perhaps as part of an "if" statement -still
learning.
also, when I roll out, the button rotates back to it's
original position, but disappears when it gets there. Obviously I
need it to hold.
-any thoughts?
thanks,
mikebump
-
Need Help with Navigation Buttons
Hi,
What I'm seeking should be straightforward for those of you
who have mastered ActionScript. (I'm using Flash 8 Professional.)
I have 84 photographs that progressively show one complete
rotation of a photographed object (a model airplane). What I'm
envisioning are a pair of buttons. When the "forward" button is
pressed, the plane would rotate clockwise, and stop rotating when
the button is released. Same for the "reverse" button, but the
action would be counterclockwise. In that way, the viewer can
control exactly what angle to look at.
I assume I'd put each of the photographs on a Flash frame and
use ActionScript on the buttons to make Flash go through the frames
as described above.
Please let me know what the AS code would be, or perhaps
provide a link to someplace where it is explained.
Thanks!
Billkglad,
I (think) I followed your instructions. The airplane rotates
fine when the forward button is pressed, but nothing happens when
the backward button is pressed. I’ll describe exactly what I
did, in case I did something wrong.
1. I drew a small dot off stage, made it into a movieclip
object, and gave it the name apMC.
2. On the movieclip timeline, I created a keyframe for each
photo and dragged the photos from the library onto the keyframes. I
placed a stop() code on the first and last movieclip frames.
3. On the main timeline, I created three layers:
“Movieclip”: Onto the first frame of this layer
I copied/pasted the code that you provided.
“Button Labels.”
“Buttons”: I created the forward and backward
buttons, giving them the instance names you suggested.
Any thoughts as to why the backward button doesn’t
work? If you wish, I could send you the .fla file to examine. If
so, let me know where to send it.
Thanks!
Bill -
Need HELP - Duplicating a DVD (movie)
Is anyone able to help me copy a movie onto my macbook so I can place it on my ipod? Please!?!?!?
Message was edited by: DWSLASHi DWSLAS,
You may not be allowed to duplicate the movie, but you are entitled to make a backup of it. I use a neat little program called Handbrake follow this link to download it and it will do exactly what you want! Good Luck!
http://handbrake.fr/?article=download
Regards
Stu
Maybe you are looking for
-
No internet access via ethernet port
Hi, have been using my emac via ethernet cable to router, for many months with NO problem accessing internet and others cabled to same router also having no problem and I have used my Pwr Mac wtih no problem and have never had to make any specific se
-
Questions in BAPI_PO_CREATE1
In BAPI_PO_CREATE1 there are various tables like POITEM, POITEMX.... I wanted to know what is the purpose of the second table(POITEMX)...the documentation says its for the fields which have changed. Can anyone kindly explain.
-
How to get iBook to Automatically turning the page
It used to do this on The software before but now I just can't get it to do it on iOS 7 please can anybody help thanks in advance
-
Webdav client for iCloud? Forget Transmit.
Would love to know if anyone has found a client for iCloud. Migrated over today and wish I could migrate back. Transmit is as useless as the Finder for this new server structure. I'm not even sure what the initial path is now for iCloud. Any help
-
Hey there, Have tried to view tasks in calendar by selection "yes" in options for calendar under "show tasks". It is not working. AT&T store suggested new software download. No luch. Curve 8310. Any ideas?