Simple but frustrating question
When I pressed f6, it used to create a keyframe duplicate of
the most recent keyframe on that layer. For some reason, today I
got on and f6 is making blank keyframes! even when I go to
modify>timeline>convert to keyframes --- still blank! What
happened and how do I fix it?
Flash will create a blank keyframe if there is nothing on the
layer where you are creating the keyframe (i.e. You press F6 when
you have a 'white' frame selected).
If you press F6 on a frame that is shaded grey (a frame that
has content), the content of the frame where you have inserted a
keyframe does not change, it simply converts the frame to a
keyframe. I hope that makes sense - and that it is helpful.
Similar Messages
-
[Theory] A simple but hard question about OO programming
I was in my first class of OO programming (4th year of computer engineering in Valencia) and the professor gave us homework.
The homework was a simple question about OO programming (it is not about a specific language, though we are going to use Java in the practice sessions), we shall find an answer to it and discuss it in class the next day.
The question was:
"May classes also be objects?"
which can be said as:
"May classes be instances of an(other) classes?"
I hope that you, archers, can enlighten me in this questiontvale wrote:I believe an object is an instance of a class.
Yup, that's true. Let's see... An object is an instance of a class, so we can have a lot of objects coming from one class.
We can say an object is not a class because it has a state (think about a light, it has a state: on or off, but a class light is not on/off, because in a class we just describe the behavior that class should have.
But what we're asking here is if a class can have a state. I think it may refer to static properties about the objects. -
Probebly simple but frustrating problem
Hi, Ok basically im trying to set up a vector of objects and a way to search through them by members surnames (or anthing else).
However i keep getting this error (prolly something simple)
Thank you very much
C:\rental.java:268: cannot find symbol
symbol : variable members
location: class Rental
System.out.println(members.indexOf("x"));
**Edited Code**
rt java.util.*;
import javax.swing.*;
class Member {
// attribute definitions
String firstName;
String surname;
String dayNo;
String homeNo;
String eMail;
String address;
// constructor with parameters
public Member(String first, String sur, String day, String home, String eMl, String add)
// invoke accessors to populate attributes
setFirstName(first);
setSurname(sur);
setDayNo(day);
setHomeNo(home);
setEmail(eMl);
setAddress(add);
public String getFirstName()
{ return firstName; }
public String getSurname()
{ return surname; }
public String getDayNo()
{ return dayNo; }
public String getHomeNo()
{ return homeNo; }
public String getEmail()
{ return eMail; }
public String getAddress()
{ return address; }
public void setFirstName(String newFirst)
{ firstName = newFirst; }
public void setSurname (String newSur)
{ surname = newSur; }
public void setDayNo(String no)
{ dayNo = no; }
public void setHomeNo(String hono)
{ homeNo = hono; }
public void setEmail(String newEmail)
{ eMail = newEmail; }
public void setAddress(String newAdd)
{ address = newAdd; }
class Rental {
Rental (int size){
Vector members = new Vector(size)
void findmember(String sur) {
System.out.println(members.indexOf("x"));
}When you do this
Rental (int size){
Vector members = new Vector(size)
}you are creating the member variables here, and assigning it to a variable that has a lifetime that starts at the creation point, and stops at the end curly brace.
That means when you try to access it from another method, it doesn't exist.
You need to define members, not in the method, but in the class, if you want more than one method to access i. -
Simple, but dumb, question
My wife wants to copy a cassette tape to her G4 laptop. Is GarageBand the right application to digitize an analog source? I looked at the Apple page on GarageBand and didn't see anything that helped.
Thanks.You can use simpler programs than GB, but GB will do it:
http://www.bulletsandbones.com/GB/FAQPages/RecordCassette.html -
I have a master/detail form. Upon updating a row in the detail block, I need to update a table which is different from both the master and detail tables. so far the insert and delete operations are working fine (I use post_insert and post_delete), but the problem is when I try to do an update because the pre_update and post_update triggers deal with the new value for the updated row. How can I handle the situation where there is an old/new value?
The best way to handle something on a table where you need the old and the new-values would be a database-trigger. Also for reasons of data-consistency a database-trigger would be the better solution (its always executed, not just for dml coming form a specific forms-module).
If you still want to do it the forms-way there are two possibilities:
Use a POST-UPDATE-trigger and get the old-values via GET_ITEM_PROPERTY('BLOCK.ITEM', DATABASE_VALUE);
Use a PRE-UPDATE-trigger and read the data directly from the db-tables via a select. -
I have noticed my computer fans running more so when the unit is hooked up to the internet WITHOUT any extra applications running (i.e. Safari)as when unpluged yet running with the same CPU demands.
In other words:
When I'm at work, (no internet hook up), and the computer is sitting idle but not asleep, the fans hardly kick in, yet, in the same situation, but at home HOOKED to Cable Net but still running idle, the fans kick in every once in a while.
Is this to be expected?neuroanatomist
thank you again for the prompt answer.
As far as I can recall, I did the diagnostic you recommended with the activity monitor and nothing appeared too extensive.
I think I will attempt it again and hopefully, either find my answer, or ask for your advice again if negative.
Thank you
Ralph -
Help with a simple but crazymaking question!
hi there, would anyone here mind looking at my test site and
telling me what I am doing wrong?
http://presentations.patrickmeyers.com/
I am VERY new at anything web related, and trying to learn
some Dreamweaver, html, and css. Basically I want ALL my content
(which for now is just images) to stay flush left with each other
no matter what the user does with their web browser window. But
when I expand my web broswer window, two of my images (one of which
is a rollover image that I need to add a hyperlink to) bump over to
the right and up. I don't want them to do that! I want them to stay
flush left at all times.
I also want to center everything so that no matter what a
person does with their browser, the page stays in the center of the
window (i.e. the Yahoo homepage) but all the content remains left
aligned relative to the top.
I've tried every concievable setting in Dreamweaver I can
think of and nothing works. The button and bottom banner still move
over to the right and up.
Any tips? Thank you in advance!!!!!
p<p><img src="banner.jpg" width="792" height="336"
align="left" /><a href="#"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Image3','','click-button-yellow.jpg',1)"><img
src="click-button-purple.jpg" name="Image3" width="180"
height="46"
hspace="16" vspace="15" border="0" align="left" id="Image3"
/></a></p>
<p><img src="lowerbanner.jpg" width="792"
height="41" vspace="30"
align="left" /></p>
</body>
You have two elements horizontally adjacent (the banner image
at 792px
width, and the anchor tag at 180px width). Their combined
width is
792+180+32px = 1004px (the 32px comes from the hspace="16"
attribute). When
the browser viewport is less than 972px wide, the anchor tag
and its
associated image will just drop below the banner image (since
they are
contained in a <p> that has no explicit width).
Change this -
<p><img src="banner.jpg" width="792" height="336"
align="left" /><a href="#"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Image3','','click-button-yellow.jpg',1)"><img
src="click-button-purple.jpg" name="Image3" width="180"
height="46"
hspace="16" vspace="15" border="0" align="left" id="Image3"
/></a></p>
to this -
<p style="width:1004px;"><img src="banner.jpg"
width="792" height="336"
align="left" /><a href="#"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Image3','','click-button-yellow.jpg',1)"><img
src="click-button-purple.jpg" name="Image3" width="180"
height="46"
hspace="16" vspace="15" border="0" align="left" id="Image3"
/></a></p>
and see what happens.
> I also want to center everything so that no matter what
a person does with
> their browser, the page stays in the center of the
window (i.e. the Yahoo
> homepage) but all the content remains left aligned
relative to the top.
It depends on whether you are using absolute positioning on
the page, as to
which method might be best, but in either event, this will
work -
Change this -
</head>
to this -
<style type="text/css">
#wrapper { width:1004px; margin:0 auto;position:relative; }
/* 760px will display on an 800px screen maximized browser
window without */
/* horizontal scrollbars. 1004px is pretty wide, and will
display horizontal
scrollbars on 1024 screens.*/
</style>
</head>
change this -
<body
onload="MM_preloadImages('click-button-yellow.jpg')">
(the ellipsis represents any other attributes that might be
mentioned in the
body tag, and SHOULD NOT BE INCLUDED EXPLICITLY!)
to this -
<body
onload="MM_preloadImages('click-button-yellow.jpg')">
<div id="wrapper">
and this -
</body>
to this -
<!-- /wrapper -->
</div>
</body>
and see if that helps.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"patrickpmm" <[email protected]> wrote in
message
news:[email protected]...
> hi there, would anyone here mind looking at my test site
and telling me
> what I
> am doing wrong?
>
http://presentations.patrickmeyers.com/
>
> I am VERY new at anything web related, and trying to
learn some
> Dreamweaver,
> html, and css. Basically I want ALL my content (which
for now is just
> images)
> to stay flush left with each other no matter what the
user does with their
> web
> browser window. But when I expand my web broswer window,
two of my images
> (one
> of which is a rollover image that I need to add a
hyperlink to) bump over
> to
> the right and up. I don't want them to do that! I want
them to stay flush
> left
> at all times.
>
> I also want to center everything so that no matter what
a person does with
> their browser, the page stays in the center of the
window (i.e. the Yahoo
> homepage) but all the content remains left aligned
relative to the top.
>
> I've tried every concievable setting in Dreamweaver I
can think of and
> nothing
> works. The button and bottom banner still move over to
the right and up.
>
> Any tips? Thank you in advance!!!!!
> p
> -
Simple but frustrating, presentation
I'm developing a presentation for a non-profit organization.
its going to be published as a projector file. The problem im
having is, How do i get it to resume play on a keypress, after
stopping on a certain frame.
Basically a glorified powerpoint, but when it stops i need
them to be able to press a key to resume play. I searched for quite
a while and found no direct answer to this.
Any help would be GREATLY appreciatedIf you know how to stop it you must know how to play it. So I
suppose
there is something at hand other than you not finding the
play() or
gotoAndPlay() commands.
What's the setup?
hydroponicdictionary wrote:
> I'm developing a presentation for a non-profit
organization. its going to be
> published as a projector file. The problem im having is,
How do i get it to
> resume play on a keypress, after stopping on a certain
frame.
>
> Basically a glorified powerpoint, but when it stops i
need them to be able to
> press a key to resume play. I searched for quite a while
and found no direct
> answer to this.
>
> Any help would be GREATLY appreciated
>
Manno Bult
http://www.aloft.nl
[email protected] -
Pretty simple but annoying question for newbie
when opening form is there a way to automatically display the
record rather than having to hit F8.
also....
is there a way to navigate through records using PL/SQL rather
than using the buttons on the tool bar at the top or form
runtime.
thanks in advanceThis is probably in the wrong forum. ;)
Anyway, here's my suggestions for your two queries:
Q1) Add a WHEN-NEW-FORM-INSTANCE trigger containing the
following statement:
EXECUTE_QUERY ;
Q2) Use the up and down arrow keys - they navigate between the
previous and next records respectively.
HTH -
Concatenate " Simple but tricky question "
Hey guys
How are u, this looked like easy problem. However, I tried so many things. I want to add a space in front of character. This is 2-character lengths field.
When I was executing this command, it is not adding up space.
If I am something wrong correct me
Here is the code
DATA: i type i ,ONE(1) VALUE ' ',FINAL(2) ,TWO(1).
i = sTRLEN( t_record-trfgr ). first it shows 1 for H
if i LE '1'.
concatenate TWO ONE '.' into final.
CLEAR:I.
i = sTRLEN( final ). its still say 1
ThanksSaquib,
<b>Concatenate ' '
t_record-trfgr
into
final.</b>
Following should also work:
<b> Concatenate
space
t_record-trfgr
into
final.</b>
Thanks
Kam
Note: Allot points for all worthful postings -
Simple but drastic question...resizing windows
I normally work with a Macbook connected to a 23" Cine display. Pulled the Macbook off the display, opened Photoshop, and the bottom of all the action panels (actions, layers, channels, etc...) are below the lower edge of the screen and there appears to be no way to recover them.
The program is essentially useless until I can get connected to a big display, simply to click on the bottom of these panels.
What's the secret to resizing these?This is in the System Preferences of the Mac in OSX Snow Leopard and above (perhaps previous versions as well)
-
Simple but frustrating.........
First you look at this. Cool use of soon to be antiquated paper boxes.
http://designondeadline.blogspot.com/2007/06/digital-newsstand_14.html
The fellow mentions that it runs a script that grabs images from:
http://www.newseum.org/todaysfrontpages/default.asp?p_size=548
The Grab Linked Images workflow doesn't see the image links.
The fellow isn't responding to queries about his "applescript" that supposedly pulls front pages daily.
Does anyone know how to script the pulling of images automatically from this site?????????
Please, Please, PleaseDepends on how the site works.. If the links to different paper front pages are static-and the image files are just replaced daily-then all you need is to download the link image.
For example, with me in New York, I wanted to see NY Times and NY Post. Their page images are
http://www.newseum.org/media/dfp/jpg6/lg/NY_NYT.jpg
http://www.newseum.org/media/dfp/jpg6/lg/NY_NYP.jpg
Notice that there is no date info in the link.. So if the link for tomorrow's page is the same, it can be used to download the image directly. Just use:
Get Specified URLs
Download URLs
To get the URLs for the papers of your choice:
1. Go to the paper's page on that site
2. Right click on the image of the front page and select 'Open Image in New Window (or New Tab)'
3. Drag the addresses for all your papers into the Get Specified URLs action. -
Simple, funny but annoying question, putting a pixel
Maybe this could be simple, funny but annoying question.
How do you put a pixel or draw a pixel?
Is there a method to draw a pixel directly on screen in j2SDK API?This is a very open ended question, do you want to draw a pixel in an image or just draw a shape on the screen?
If you want to edit single pixels at a time then the best option is to create a BufferedImage and use the WritableRaster to edit the pixels you want by using setPixel().
Something like the following:
BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
WritableRaster raster = img.getRaseter();
raster.setPixel(x_coord, y_coord, new int[]{R_val, G_val, B_val});This image can then be displayed by putting it in a JLabel (there are many other techniques but I find this the easiest method).
JLabel l = new JLabel(new ImageIcon(img));
JFrame jf = new JFrame();
jf.setContentPane(l);
jf.pack();Alternatively, you can draw shapes by using Graphics or Graphics2D objects
e.g.
public class MyPanel extends JPanel
public void paintComponent(Graphics2D g)
super.paintComponent(g);
g.drawLine(x1,y1,x2,y2);
}Hope this helps,
Stef -
Since I got Fireworks 8 last week, I've worked through the
accompanying 'Getting Started' manual and much of 'Training from
the Source' by Patti Schulze. While I love the program, I'm
frustrated by a difficulty that may be simple but is exasperating
for me.
When I create an image and try to save it as a .gif, jpg or
png file for use in Dreamweaver,I find that I repeatedly time and
time and tiime and time without end, simply lose the image.
How can I resolve this difficulty?In FW 8, if you have a new image with multiple objects, you
can "save"
as PNG only, but you can "save as" any FW supported format,
without all
the html attributes associated with the Export dialog. With
many
formats, you will get the option to "save a copy" so you
don't flatten
your original artwork.
And of course, you can "Export" too.
That directory location issue is a pain. There is some kind
of logic
there, but I can never remember what it is. lol
Jim Babbage - .:Community MX:. & .:Adobe Community
Expert:.
Extending Knowledge, Daily
http://www.communityMX.com/
CommunityMX - Free Resources:
http://www.communitymx.com/free.cfm
.:Adobe Community Expert for Fireworks:.
news://forums.macromedia.com/macromedia.fireworks
news://forums.macromedia.com/macromedia.dreamweaver
Anthony Bollinger wrote:
> Two ideas.
>
> First, exporting an image is not the same as saving an
image. You save the
> image to a PNG to preserve fireworks info, but you
export to a jpg or gif or
> other format (including "standard" png).
>
> Second, the program does not automatically export to the
directory your png
> or source file is in. This has tripped me up plenty
before. Be sure to
> check your path carefully. Anytime you experience
problems, drill down the
> path from the root of the drive.
>
> HTH -- Tony
>
> "kjpd84" <[email protected]> wrote in
message
> news:e961d8$r0s$[email protected]..
>>
>> Since I got Fireworks 8 last week, I've worked
through the accompanying
>> 'Getting Started' manual and much of 'Training from
the Source' by Patti
>> Schulze. While I love the program, I'm frustrated by
a difficulty that
>> may be
>> simple but is exasperating for me.
>>
>> When I create an image and try to save it as a .gif,
jpg or png file for
>> use
>> in Dreamweaver,I find that I repeatedly time and
time and tiime and time
>> without end, simply lose the image.
>>
>> How can I resolve this difficulty?
>>
>
> -
Extremely simple but baffling to me: Constructors.
I haven't a clue what they are. I've read about them online and in the Java API, and I still have no idea what they are.
My current understanding is this: a constructor is code dedicated towards defining how to treat a variable.
But...I have to write two programs using constructors and I have no idea what to put in them. And in fact everything I've tried gives compiler errors. I'm sure all of you know the quiet desperation and frustration I'm feeling.
Anyway, the assignments are:
1) Create a class called Employee that includes three pieces of information as instance variables - a first name (type String), a last name (type String) and a monthly salary (double). Your class should have a constructor that initializes the three instance variables. Provide a set and a get method for each instance variable. If the monthly salary is not positive, set it to 0.0.
Write a test application named EmployeeTest that demonstrates class Employee's capabilities. Create two Employee objects and display each object's yearly salary. Then give each Employee a 10% raise and display each Employee's yearly salary again.
2) Create a class called Date that includes three pieces of information as instance variables - a month (type int), a day (type int), and a year (type int). Your class should have a constructor that initializes the three instance variables and assumes that the values provided are correct. Provide a set and a get method for each instance variable. Provide a method displayDate that displays the month, day, and year separated by forward slashes.
Write a test application named DateTest that demonstrates class Date's capabilities.
It all seems extremely vague, to me.
For the first assignment I've got:
public class Employee
public String FirstName;
public String LastName;
public double Salary;
Which I think is right. But all attempts to create a constructor that have failed...I don't even know what one does. It seems kind of absurd for my first two labs to be so simple, basically logic exercises, and this to be so mind-destroying.
There's got to be an if/then to see if the salary inputted is negative, which is simple, no problem.
But the set and get methods...there's no data inputted into this program, so what the hell is it setting and getting, and how would the syntax work?
Like:
public void setFirstName( String FirstName )
FirstName = FirstName;
Doesn't work. And I think it's because it refers to itself for its own definition, which is nonsense. But I can't figure out what's right.
The second assignment is simpler, but it also makes no sense to me. The day, month, and year are not variables. And even if they are variables, the user doesn't input them only to have them displayed, right? So what is the assignment even asking for? This is all taken directly out of the book.
Any help is appreciated. =/FuneralParlor wrote:
I haven't a clue what they are. I've read about them online and in the Java API, and I still have no idea what they are.That's not a good sign.
My current understanding is this: a constructor is code dedicated towards defining how to treat a variable.No. They initialize an object.
When you buy a new XBox, you have to spend some time taking it out of the box, removing the packaging, and plugging the wires together. It's like that.
But...I have to write two programs using constructors and I have no idea what to put in them. You don't necessarily need to put anything in them. Does your class require initialization on the objects created for it?
And in fact everything I've tried gives compiler errors. I'm sure all of you know the quiet desperation and frustration I'm feeling.It sounds like you're trying random stuff, hoping something will work. Don't do that.
Anyway, the assignments are:...
>
It all seems extremely vague, to me.It doesn't give you the answers, but it tells you how to do them. It's pretty specific.
For the first assignment I've got:
public class Employee
public String FirstName;
public String LastName;
public double Salary;
Which I think is right.Well, generally fields shouldn't be public; they should be private. Also, you're not following Java naming conventions. Fields should start with a lower-case letter ("firstName" not "FirstName").
But all attempts to create a constructor that have failed...I don't even know what one does. It seems kind of absurd for my first two labs to be so simple, basically logic exercises, and this to be so mind-destroying.It's simple stuff. I find it hard to believe that you've read your textbook.
I'll give you a hint. The assignment says:
Your class should have a constructor that initializes the three instance variables. This means that the constructor will need to take arguments, so you can use the arguments's values to assign to the fields (instance variables).
But the set and get methods...there's no data inputted into this program, so what the hell is it setting and getting,The assignment tells you exactly what's going to be invoking the setter and getter methods:
Write a test application named EmployeeTest that demonstrates class Employee's capabilities. [etc]
and how would the syntax work?
Like:
public void setFirstName( String FirstName )
FirstName = FirstName;
Doesn't work. And I think it's because it refers to itself for its own definition, which is nonsense. But I can't figure out what's right.Right. In this case, the parameter name is obscuring the field name. This is where the "this" keyword comes in handy:
this.Firstname = Firstname;Your textbook and teacher should have mentioned this.
The second assignment is simpler, but it also makes no sense to me. The day, month, and year are not variables. What do you mean they're not variables? The assignment clearly says to make them so.
And even if they are variables, the user doesn't input them only to have them displayed, right? So what is the assignment even asking for? It's just a super-simplified example. You're right; it's worthless in terms of real-world practicality. It's just something pointless but simple for you to get practice with. Don't worry about it.
Maybe you are looking for
-
Documents downloaded via Firefox won't print or appear in preview
Documents opened with Firefox won't print or even appear in preview. The document can be viewed but won't print. When trying to print (or see in preview) only a blank page appears. This happens even when the document is saved or made a PDF file. This
-
Would be cool if we could make our own EQ settings and save as presets.... like in iTunes. And, be able to assign them to individual songs..... like in iTunes maybe this could be an upgrade we can download? hehe any other suggestions? BTW, i'm not co
-
Difference between Materialised view in 10g and 11g
Hi, I am beginner . I want to know the difference between Materialized view between 10g and 11g. Is there any impact if the materialized view used in 10g gets upgraded to 11g ? awaiting ur response.Please and Thanks
-
Is there a UDF cross reference function in XI?
We have many name spaces containing one or more maps each of which can have many UDFs defined for it. Is there any function or utility in XI that would enable us to know what UDFs are in what maps and in what name spaces, without having to manually
-
Link to headline that opens in new window
Hi there, a short question: Is it possible to create a "Go to a page" link to a headline in a second document (bookmark) in a new window? I couldn't find this option. I can link to the headline, but it opens in the same window. Editing (show in new w