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
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 with advanced applet
I need help with designing an applet as follows. Can someone give me a basic layout of code and material so i can fill in the rest or at leats give me some hints so i can get started since i am like no good at applets.
Design and implement an applet that graphically displays the processing
of a selection sort. Use bars of various heights to represent
the values being sorted. Display the set of bars after each swap. Put
a delay in the processing of the sort to give the human observer a
chance to see how the order of the values changes.
heres a website that does something similar
http://www.cs.ubc.ca/spider/harrison/Java/sorting-demo.htmlelasolova wrote:
i will not help you this time. but if you buy me a candy maybe i can reconsider the issue. :PI suggest an all-day sucker. -
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 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 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? -
Flash Newbie needs help with Movie Clips/Action Scripting
Hi -
I'm having a problem with my movie clips playing
simultaneously and cannot, for the life of me, figure out what I
have done wrong. I'm new to flash, so I may have set something up
incorrectly, but here's what I have so far:
11 layers, total: 1 layer with 10 control buttons, each
button with the following actionscript:
on (release) {
gotoAndPlay(85);
Where the number changes in relation to which keyframe the
next movie is on.
I have 10 movies, total, but they are only movie clips,
essentially photo slide shows with audio, made all in the library.
The problem happens when I click on the second or third
button. Not only does the movie that I have selected begin to play,
but all of the previous clips do as well, so it all sounds quite
garbled. I don't know what I am missing in the action script, as my
Action Layer has a stop command on it at each keyframe where there
is a new clip to play.
I have tried to add a stopAllSounds command, but I'm afraid
that doesn't do anything because it is not a "sound file" per se,
playing in the timeline.
I'm at the end of my rope and really need some help in
figuring this one out. My project is hanging in the balance on
this, as I have scripted everything else correctly and it runs
beautifully.
Please help!
Thanks,
CarolineEach layer has a blank keyframe before and after each
movieclip. Each movie clip is at a different frame. Even with the
blank keyframes added, the second video starts to play and then the
first video begins to play. Same happens if I click on the third
button. Third plays, and starts 1st and 2nd shortly thereafter. Is
there an action script I can put in that will tell the timeline
that, when a button is clicked, no matter where the movieclip is,
it will stop and start the newly selected movieclip? -
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 simple folder action or script
I have created an export preset in Lightroom that exports images to a folder called "To Email" on my hard drive, and then automatically attaches those images to a new email in my email client (Mailplane).
It's a great solution that allows me to send a photo via email with one click from Lightroom. However, I want to take it a step further by creating a folder action or script that automatically deletes the image after it is attached to the email. This will allow me to put the folder somewhere deeper in my file system without having to worry about cleaning it out all the time.
Unfortunately, I have no experience with Automator or AppleScript. Can you help? Thanks.I think you need to rework elements of your workflow.
For example, you say the export preset creates and sends the email.
If this is the case, the the logical place to make your change would be to edit that preset action (I don't have Lightroom to know whether this is an option there or not).
The problem with using a Folder Action is that the Folder Action will trigger when the file is dropped in the folder, but that will be before the email is generated or sent, so you run the risk of deleting the file before it's sent.
So if you can't edit the export preset to do the deletion I would suggest decoupling the 'send an email' and 'delete file' elements from the Lightroom action - in other word change Lightroom to just export the file, and have a separate folder action that triggers when files are added to that folder. The folder action script can take care of generating the email and sending it out, knowing when the email is sent and therefore when it's safe to delete the file.
WIthout seeing more of the current workflow it's not easy to be more specific. -
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 -
I am building a simple flash movie clip in Flash cs4. All I want to do is run the play head through a one 5 frame scene and stop, and then you press a button that will send the play head to the next 10 frame motion tween scene.
When I run the movie all I get is a movie clip that pauses for a millisecond then loops back around.
I have three different books on flash action script, read all three still not doing so hot. I am using the navigational button concept maybe that is what I am doing wrong. Can someone show me the right method or lead me in the right direction.
farosgfx ( [email protected] )You can just place an invisible button on the top layer of
the flash time line and code it to getURL. When you said "hyperlink
to another page", are you referring to an html page or another swf
file? To make an invisible button in Flash, you can hit Ctrl+F8 to
bring up the dialog box to create a new symbol, name your button,
make sure you select the type of button, hit ok, now you are inside
the button and need to create a "hit" area. Click on the "hit"
state and press F7 to create a blank key frame. Using the drawing
tools, select the square, no stroke, and any fill color you want,
draw a square shape, click on the shape and in your Info Panel,
change the size of this shape to match the size of your stage,
lastly, make sure the registration point is (0,0) by using the
Align Panel. Go back to your main time line, add a layer on your
time line and make sure it's at the top, drag your new button from
the library to the stage and align it to (0,0).
There are two ways to code the button, so to make it easier,
click on the button once to select it, hit F9 to bring up the
actions panel and type this
on(release){
getURL("
http://www.someWebsite.com",
"_blank");// you can also use "_self" //
If some of this isn't new to you, disregard parts of it. If
you have any buttons in your Flash application, this will cause
problems because the invisible button will counter-act anything
below it. Let me know if this works for you. Of course, this all
assumes you have access to the flash file. -
Need help with Advanced Selection in MSA
Hi,
Has anyone managed to identify how to create additional
advanced selection criteria using links to existing combo engines ? Documentation on Mobile system maint is limited so looking for some additional help. Some criteria you can run the check against but not all why ? What should go in the hierachy fields and how do you select the choice list values ?
Thanks in advance
MHi,
Thanks,my issue is I want to use the combo box so the user can select from the drop down the relevant code from the choice list. Not rocket science really.
Example of sql generated for profession whch is kna1 field.
select KNA1.TITLE,KNA1.SFAKNA2,KNA1.SFAKNA1,KNA1.PROFRESSION as PROFESSION,KNA1.PAFKT,KNA1.NAME2,KNA1.NAME1,KNA1.KVTGRP,KNA1.KVCPPOS,KNA1.KUNNR,KNA1.KTOKD,KNA1.BPACT,KNA1.ANRED,KNA1.ABTNR,ADRC.TELNR_LONG,ADRC.STREET,ADRC.POST_CODE1,ADRC.CITY1,ADRC.ADRCDFLT,ADDR.SFAKNBP , (KNA1.PROFESSION ='MIC') as ReturnValue1 from SMOKNA1 KNA1,SMOADRC ADRC,CDBD_ADDREXT ADDR where kna1.deleted='0' and KNA1.Source='CON' and ADRC.deleted='0' and ADDR.deleted = '0' and (ADRC.ADRCDFLT='S' or ADRC.ADRCDFLT='P') and (1=1) and kna1.sfakna1=adrc.sfakna1 and adrc.sfaadrc = addr.sfaadrc order by kna1.name1
Code fails !
I have set VAR1 as a free Combo with Bdoc as Choice, segment as Choice List with fields chkey/Textx so hiearchy fields looks like this //*/Profession hiearchy params being mandt/spras/list
It will not check is this because there is an error in this definition ?
Regards
MM -
Need help with advanced JTable
The application I am converting to Java has a string grid (table) with special behavior that I need to be able to bring to the Java version. It let's users filter the column data (that I know how to do) using a locked first row (just below the column header) that always stays in place and that shows what filter is applied to each column (by showing a combo box).
I usually write server apps and have only been trying to grasp Swing for about a week, and I find myself stuck :(
Is this at all possible in Java? If not, can I make the header respond to mouse events and show a popup menu for each column? If so how?
Please help!I have made an attempt as follows (to show where I am stuck).
I have two TableModels that contain rows and data;
a) the grid data that's coming from our EJB session facade
b) the filter settings (a String[] with initially empty strings) which show what filter is used for each column.
The two table models are shown in two tables that share a common TableColumnModel so that whenever i move or resize a column both tables are updated.
The filter table shows it's header and the row of empty cells. The Table Model I've used for it is ripped from the Sorted Table example from Sun, so that I can capture mouse events, set the sort order for each column and notify the grid table that it needs to update accordingly.
I attempted to use the filter table as a header view in a JScrollPane, which would keep it in place all the time while the user would be able to scroll and resize the grid table.
This is where I fail - I can't even get it to show up in the header. And if I only put the two tables on a JPanel it seems impossible to get them to stick together when the pane is resized (aside from the fact that I no longer can capture the mouse events).
I'd be happy to send someone the code fragments if you think you have a solution to this - that will allow users to resize, edit and move columns in a table where you initially have no clue as to how many columns it will contain.
Please please continue to help me :) -
I am stuck on a query and hope someone can help me out with
it. Basically I am trying to get the average score by team who has
competed in four or more events.
So far I have my query doing a join to pull in the teams name
and their category. What I want to do is be able to count the
unique locations and do an average of the four highest scores on a
field called overall.
I have tried putting a couple different COUNT in my query's
WHERE statement but it errors out.
Any ideas? Some how I have a feeling I need to create a new
table.
Thankschieffan wrote:
> I am stuck on a query and hope someone can help me out
with it. Basically I am
> trying to get the average score by team who has competed
in four or more events.
>
> So far I have my query doing a join to pull in the teams
name and their
> category. What I want to do is be able to count the
unique locations and do an
> average of the four highest scores on a field called
overall.
>
> I have tried putting a couple different COUNT in my
query's WHERE statement
> but it errors out.
>
> Any ideas? Some how I have a feeling I need to create a
new table.
>
> Thanks
You need to use GROUP BY. Will need to know more specifics
about the
table construction along with sample data, and an example of
the
expected results.
Dooza -
Need Help with Advanced Filters
I hope someone can please help A.S.A.P. my current project
depends on getting the searches to function correctly I have found
the Multiple Filters very useful all it needs is a little tweaking,
I have tried but failed
1st Main Problem
The problem with the multiple filter it only work
alphabetical, I need to be able to filter facilities
for example a restaurant has up to 10 facilities I would like
to tick the facility to show the live result
in the DB there is either a 1 or 0 in the field, so I tried
the following code
this is what I am trying to achieve but with the Live
Searches
http://www.dinewithus.co.uk/dining/shropshiresearch.php
var dsCounties = new
Spry.Data.XMLDataSet("http://www.dinewithus.co.uk/new/xml/county.xml",
"/counties/county");
var dsLocation = new Spry.Data.XMLDataSet("
http://www.dinewithus.co.uk/new/xml/{dsCounties::url2}",
"export/row");
var gEffectInProgress = null;
var gPendingSetRowIDRequest = -1;
function ffAH(ds, row, index){ var c =
row.smoking_al_fresco.charAt(0); return c = '1' ? null : row; };
function ffIP(ds, row, index){ var c =
row.disabled_access_facilities_fac.charAt(0); return c = '1' ? null
: row; };
function ffQZ(ds, row, index){ var c =
row.real_ales_fac.charAt(0); return c = '1' ? null : row; };
function ToggleFilter(enable, f)
if (enable)
pvLocation.addFilter(f, true);
else
pvLocation.removeFilter(f, true);
function RemoveAllFilters()
document.forms[0]["fAH"].checked = false;
document.forms[0]["fIP"].checked = false;
document.forms[0]["fQZ"].checked = false;
pvLocation.removeAllFilters(true);
2nd Issue (not sure if possible?)
currently using the paging example I am able to show all the
records in different regions, the only problem is the filter Area
is a text box I need this to be a dropdown search, fetching
DISTINCT results from the towns filed in the DB, I managed to do
this creating another dynamic data set DISTINCT town which showed
all the towns but once selecting an option did not change the
results below ideally I need something similar my county search but
for towns the town are dynamically showing from DB but the counties
are showing from 1 XML file
http://www.dinewithus.co.uk/new/xml/county.xmlThat's just it. I select Library or Filters from the Window dropdown menu and neither window opens up. Could it be my 15.4" MacBook Pro screen isn't big enough to see the interface?
Maybe you are looking for
-
Unauthorized Access: please contact the administrator. for BI publisher rep
Hi experts, I am able to see the BI publisher as admin.But when i login with user it is giving the following error: Unauthorized Access: please contact the administrator. But analysis reports are working.only problem with BI publisher reports.any ext
-
Hi All, I know fund management is very broad term I am looking at config steps/doc. Its fresh implimentation. Pls help. Thanks, Vishal
-
InstallCCRSQL can only be run in a database ORACLE_HOME, SQL*Plus not found
Hi I tired using the in-built OCM feature available in WLS 10.3.3 (C:\Fusion11g\utils\ccr) I ran the bin\setupCCR.exe and gave the relevant details like CSI, country code and email id It was successful saying "Oracle Configuration Manager successfull
-
Support for iPhone servicing/replacement overseas?
Hi, I'm at an odd case here, and talkign to the AppleCare CSRs in both North America and here in Germany (ended up talking to someone in Hungary and someone in India on the phone...) they weren't all that sure how to help me. Purchased my iPhone4 wit
-
Hello, i wondered if anyone has already tried to transport Web Pages that were created with WPC? I tried it today and used the KM Transport functionality. Transport was successful and no errors were mentioned. But none of my pages work. No content is