Please help me jmf question

Hi i want to create custom data source as i have read in different post and also on sun site
I tried to create one one for my self,
where am getting stream from tcp port.
before that i test the data by using socket programming, i saved the input stream into file and played and its working fine and then i transfer that file using avtransmiter2.java and it work fine again its mean it confirm that the data i am getting from skype is working fine . now my question is how to get that input stream and instead of saving to the file i can play it using jmf player or send it on rtp session. i read different post how to create custom data source from inputstreams but have not work for me ... i modified a user code posted http://archives.java.sun.com/cgi-bin/wa?A2=ind0106&L=jmf-interest&D=0&P=25865 in that post some body recommanded to implement seekable so i implemented that one als in that code..... below is the code
the error is
LoadInputStream.loadBytes() - realizing player
Exception in thread "JMF thread: com.sun.media.PlaybackEngine@8ed465[ com.sun.media.PlaybackEngine@8ed465 ] ( configureThread)" java.lang.NullPointerException
at com.skype.sample.InputSourceStream.read(InputSourceStream.java:89)
at com.sun.media.parser.BasicPullParser.readBytes(BasicPullParser.java:142)
at com.sun.media.parser.BasicPullParser.readBytes(BasicPullParser.java:114)
at com.sun.media.parser.BasicPullParser.readInt(BasicPullParser.java:191)
at com.sun.media.parser.audio.AuParser.readHeader(AuParser.java:109)
at com.sun.media.parser.audio.AuParser.getTracks(AuParser.java:76)
at com.sun.media.BasicSourceModule.doRealize(BasicSourceModule.java:180)
at com.sun.media.PlaybackEngine.doConfigure1(PlaybackEngine.java:229)
at com.sun.media.PlaybackEngine.doConfigure(PlaybackEngine.java:193)
at com.sun.media.ConfigureWorkThread.process(BasicController.java:1370)
at com.sun.media.StateTransitionWorkThread.run(BasicController.java:1339)
i need urgent help to this matter so please help me in that i would be very thankfulll ......
below is the code
skype use the standard audio format
Audio format
File: WAV PCM
Sockets: raw PCM samples
16 KHz mono, 16 bit
Note
import javax.media.*;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
import javax.swing.*;
import java.awt.*;
import java.util.*;
public class LoadInputStream extends JFrame implements ControllerListener {
private Player player;
/** Creates new LoadInputStream */
public LoadInputStream() {
try{
// declaration section:
// declare a server socket and a client socket for the server
// declare an input and an output stream
ServerSocket SkypeServer = null;
DataInputStream is;
Socket clientSocket = null;
try {
SkypeServer = new ServerSocket(4447);
catch (IOException e) {
System.out.println(e);
// Open input stream
clientSocket = SkypeServer.accept();
is = new DataInputStream(clientSocket.getInputStream());
loadBytes(is);
setBounds(100, 100, 300, 300);
setVisible(true);
catch(Exception e){
System.out.println(e);
/* Loads the given byte [] into the MediaPlayer and starts playing it immediately. */
public void loadBytes(InputStream is){
DataSource ds=new DataSource(is);
System.out.println("LoadInputStream.loadBytes() - Creating DataSource (InputStream)");
System.out.println("LoadInputStream.loadBytes() - Creating Player");
try {
player = Manager.createPlayer(ds);
} catch(NoPlayerException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch(IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
System.out.println("LoadInputStream.loadBytes() - Adding Controller Listener");
player.addControllerListener(this);
System.out.println("LoadInputStream.loadBytes() - realizing player");
player.realize();
public static void main(String[] args){
new LoadInputStream();
public void controllerUpdate(javax.media.ControllerEvent e) {
if(e instanceof RealizeCompleteEvent){
System.out.println("Adding visual component");
getContentPane().add(player.getVisualComponent());
player.start();
=============================Datasource==========================================================
import java.io.*;
import java.nio.ByteBuffer;
import javax.media.*;
import javax.media.protocol.*;
public class DataSource extends PullDataSource {
private InputStream is;
private byte [] bytes;
/** Creates new MediaViewerDataSource */
public DataSource(InputStream is) {
super();
this.is = is;
try{
int byteCount = is.available();
bytes = new byte [byteCount];
is.read(bytes);
catch (Exception e){
System.out.println(e);
public PullSourceStream [] getStreams() {
PullSourceStream [] streams = new PullSourceStream [1];
InputSourceStream iss = new InputSourceStream(new ByteArrayInputStream(bytes), new FileTypeDescriptor(ContentDescriptor.RAW_RTP));
streams[0] = iss;
return streams;
public void connect() {}
public void disconnect() {}
public String getContentType() {
return new String("audio.x-wav");
public MediaLocator getLocator() {
return null;
public void initCheck() {}
public void setLocator(MediaLocator source) {}
public void start() {}
public void stop() {}
public Object getControl(String s){
return null;
public Object [] getControls(){
return null;
public Time getDuration(){
return null;
=================================InputStream======================================================
import java.io.InputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import javax.media.protocol.ContentDescriptor;
import javax.media.protocol.PullSourceStream;
import javax.media.protocol.Seekable;
import javax.media.protocol.SourceStream;
* Build a source stream out of an input stream.
* @see DataSource
* @see SourceStream
* @see java.io.InputStream
* @version %I%, %E%.
public
class InputSourceStream implements PullSourceStream, Seekable {
protected InputStream stream;
protected boolean eosReached;
ContentDescriptor contentType;
protected ByteBuffer inputBuffer;
* Construct an <CODE>InputSourceStream</CODE> from an input stream.
* @param s The input stream to build the source stream from.
* @param type The content-type of the source stream.
public InputSourceStream(InputStream s, ContentDescriptor type) {
stream = s;
eosReached = false;
contentType = type;
* Get the content type for this stream.
* @return content descriptor for the stream.
public ContentDescriptor getContentDescriptor() {
return contentType;
* Obtain the content length
* @return content length for this stream.
public long getContentLength() {
return SourceStream.LENGTH_UNKNOWN;
* Query if the next read will block.
* @return true if a read will block.
public boolean willReadBlock() {
if( eosReached == true) {
return true;
} else {
try {
return stream.available() == 0;
} catch (IOException e) {
return true;
* Read a buffer of data.
* @param buffer The buffer to read data into.
* @param offset The offset into the buffer for reading.
* @param length The number of bytes to read.
* @return The number of bytes read or -1 indicating end-of-stream.
public int read(byte[] buffer, int offset, int length) throws IOException {
int bytesRead = stream.read(buffer, offset, length);
if( bytesRead == -1) {
eosReached = true;
inputBuffer.get(buffer,offset,length);
return bytesRead;
* Turn the stream off.
* @exception IOException Thrown if there is a problem closing the stream.
public void close() throws IOException {
stream.close();
* Return if the end of stream has been reached.
* @return true if the end of the stream has been reached.
// $jdr: This is a bug. Need to figure out
// the "correct" way to determine, before a read
// is done, if we're at EOS.
public boolean endOfStream() {
return eosReached;
* Returns an zero length array because no controls
* are supported.
* @return a zero length <code>Object</code> array.
public Object[] getControls() {
return new Object[0];
* Returns <code>null</code> because no controls are implemented.
* @return <code>null</code>.
public Object getControl(String controlName) {
return null;
public long seek(long where) {
try {
inputBuffer.position((int)(where));
return where;
catch (IllegalArgumentException E) {
return this.tell(); // staying at the current position
public long tell() {
return inputBuffer.position();
public void SeekableStream(ByteBuffer byteBuffer) {
inputBuffer = byteBuffer;
this.seek((long)(0)); // set the ByteBuffer to to beginning
public boolean isRandomAccess() {
// TODO Auto-generated method stub
return false;
}

Use a BufferedImage where you draw the other images.
You have to know the size.
For example if the size is (50*50) for each image :
int width =50;
int height = 50;
BufferedImage bufIm = new BufferedImage(width*3,height*3,BufferedImage.TYPE_INT_ARGB);
Graphics gr = bufIm.createGraphics();
int k, j;
Toolkit tk = Toolkit.getDefaultToolkit();
Image imTemp;
for (k = 0; k<3; k++) {
    for (j = 0; j<3; j++) {
        imTemp = tk.getImage(imageNames[k][j]);
        gr.drawImage(imTemp,width*k,height*j, this); // replace this by the Image observer you want (this if you are in a panel for example)
}After that bufIm contains the images as you want and you can paint it on a Graphics.
Denis

Similar Messages

  • Please help: Why JMF does't play .avi video clip?

    The player doesn't play .avi media file, or plays sound only, but it works fine when palying .mpg files, anything I need to pay attention to when using the following code to generate a player to play video clips?
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.swing.*;
    import javax.media.*;
    public class PlayClip extends JFrame {
    //singliton design pattern
    private static PlayClip instance;
    protected Player player;
    private File file= new File ("goal.avi");
    private PlayClip () {
    instance=null;
    initComponents();
    public static PlayClip getInstance(){
    if (instance==null)
    instance=new PlayClip ();
    return instance;
    private void initComponents() {
    JButton OK = new JButton ("OK");
    OK.addActionListener (
    new ActionListener () {
    public void actionPerformed (ActionEvent e) {
    player.close ();
    instance = null;
    dispose();
    getContentPane ().add (OK, BorderLayout.NORTH);
    setSize (300, 300);
    show ();
    createPlayer ();
    /** Creates new form PlayClip */
    private void createPlayer () {
    if (file == null) {
    return;
    removePreviousPlayer ();
    try {
    //create a new player and add listener
    player = Manager.createPlayer (file.toURL () );
    player.addControllerListener (new EventHandler () );
    player.start (); //start player
    catch (Exception e) {
    JOptionPane.showMessageDialog (this, "Invalid file or location", "Error loading file", JOptionPane.ERROR_MESSAGE );
    System.exit (1);
    private void removePreviousPlayer () {
    if (player == null )
    return;
    player.close ();
    Component visual = player.getVisualComponent ();
    Component control = player.getControlPanelComponent ();
    Container c = getContentPane ();
    if (visual != null)
    c.remove (visual);
    if (control !=null)
    c.remove (control);
    private class EventHandler implements ControllerListener {
    public void controllerUpdate (ControllerEvent e) {
    if (e instanceof RealizeCompleteEvent ) {
    Container c = getContentPane ();
    Component visualComponent = player.getVisualComponent ();
    if (visualComponent != null)
    c.add (visualComponent, BorderLayout.CENTER);
    Component controlsComponent = player.getControlPanelComponent ();
    if (controlsComponent != null)
    c.add (controlsComponent, BorderLayout.SOUTH);
    c.doLayout ();
    }

    JDunlop,
    thanks for your quick reply to my java.sun.com forum posting! i just got back from vacation, so i didn't get a chance to try your method til now. i pulled your email address off the website to update you on my problem playing an avi file in JMStudio (JMF).
    as per your instructions, i downloaded the divx player at www.divx.com and tried to play the avi file. this is the error the divx player gives:
    Divx Player 2.1
    The file contains unknown video data
    The file contains the following type of data:
    Video data: FOURCC code "MP42"
    You may need to install a new video codec on your computer to watch this video
    Some quick questions:
    1. Where could I find the "MP42" codec to play my avi file in JMStudio (JMF)? Does java.sun.com have video codecs?
    2. You mentioned in your posting "If you don't have the one that was used in the encoding, your out of luck." Does this mean that I need to know how the avi file was originally coded and have the original codec to decode (play) it?
    Thanks,
    lac410
    P.S. If you need more Duke Dollars for your help, I'd be happy to award them to you.
    Re: Please help: Why JMF does't play .avi video clip?
    Author: JDunlop Jun 5, 2003 5:00 AM
    sounds to me like you are missing a video codecs. If you don't have the one that was used in the encoding, your out of luck. Download the player from divx.com, it will tell you which codecs the video needs (if it won't play). You can then search the net for that particular codecs.

  • Please help me about question security because in my apple id no have for restart or chenge my answer

    please help me about answer security question in my apple id because im forgot for my answer, in my apple id no have for change answer, tell me for this please because i love my iphone.
    <Email Edited by Host>

    You need to ask Apple to reset your security questions; this can be done by clicking here and picking a method, or if your country isn't listed, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (110899)

  • Urgent!! Please Help! Security Question!

    I have forgotten the answers to my security questions (all three). As i made my Apple ID over 3 years ago, it did not ask me for a recovery e-mail adress. Is there any way i can reset the answers without the e-mail? Please Help!!

    Welcome to the Apple Community.
    ou should contact AppleCare who will initially try to assist you with a reset email or if unsuccessful will pass you to the security team to reset your security questions for you.
    If you are in a region that doesn't have international telephone support try contacting Apple through iTunes Store Support.

  • HELP PLEASE HELP! urgent question with an easy answer!!!!

    Hello;
    I designed a JFrame game, that uses gif files as ImageIcons. The game works perfectly when I run it from console with the java.exe command.
    However; now I want to create a wraparound and run the JFrame in the Internet Explorer from an applet. So I created a new file that extends JApplet; this new file creates a new object of the JFrame-game's class and show()'s it.
    And I created an HTM file that runs the JApplet class. However, the internet explorer cannot open the applet because it has trouble loading the pictures (gif files). How can I load the pictures from my applet for my frame???
    I dont want to change the Java security file. I just want to make the images accessible by my applet. I cannot use commands like setImage in my applet because my JFrame sets the Images.
    (I repeat)My JApplet only invokes an object of my JFrame class and shows it.
    PLEASE HELP PLEASE PLEASE..
    Thanks..

    OK; let me tell you the whole thing. My pictures are in the same folder for sure.
    My JFrame reads pictures and assigns JButtons pictures. when I run the frame there are 16 buttons with the same picture, and when I click the buttons there is a listener in the JFrame that changes the pictures. Simply put, the JFrame has no trouble finding and loading the pictures.
    Then I created a JApplet as follows:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MemoryApplet extends JApplet
    public void init ()
         GameFrame ce = new GameFrame ();
         ce.show ();
    GameFrame is the name of the JFrame class. Then when I try to open the applet using IE, it gives the following error:
    Exception: java.security.AccessControlException: (javax.io.FilePermission back.gif read)
    back.gif is one of the gif files that are used in GameFrame

  • Please Help !  Simple question !

    Hi all,
    Please anybody tell me why the following line
    <input type="text" name="price" value="<%=myBean.getPrice()==0.0?"":myBean.getPrice()%>">gives me the error:
    incompatible types for ?: neither is a subtype of the other
    second operand: java.lang.String
    third operand : float
    out.print(myBean.getPrice()==0.0?"":myBean.getPrice());
    ^
    1 error
    I am doing this in JSP.
    Please help and reply soon.
    Please reply soon.................
    Waiting for your reply !
    Thanks
    amitindia

    Like annie said, change the method to return a String (doubt if you want this)
    or
    <%=myBean.getPrice()==0.0?"":""+myBean.getPrice()%>

  • Pretty please help, Quick newb question...

    I have a dell axim x50. I have the jad and jar files. How can I make my application work on the PDA??
    I've simulated with toolkit, and such.
    Please Please help ><

    The act of getting the jar from a pc to the device is called "provisioning"
    Some devices let you do this over bluetooth or IR and many others only allow it over http.
    I used to use some free web midlet hosting sites but the ones i used have been shut down now. (do a search on the net for "Free Midlet Hosting")
    These days i set up a web server on my development machine and then just use the phones wap browser to download the program.

  • Please, help a newbie:  Question about animating expanding containers

    Hi All,
    Short Version of my Question:
    I'm making a media player that needs to have an animation for panels sliding up and down and left and right, and the method I've been using to do this performs far slower than the speed I believe is possible, and required. What is a fast way to make a high performance animation for such an application?
    Details:
    So far, to do the animation, I've been using JSplitPanes and changing the position of the divider in a loop and calling paintImmediately or paintDirtyRegion like so:
    public void animateDividerLocation( JSplitPane j, int to, int direction) {
    for(int i=j.getDividerLocation(); i>=to; i-=JUMP_SIZE) {
    j.setDividerLocation(i);
    j.validate();
    j.paintImmediately(0, 0, j.getWidth(), j.getHeight());
    The validate and paintImmediately calls have been necessary to see any changes while the loop is going. I.e., if those calls are left out, the components appear to just skip right to where they were supposed to animate to, without having been animated at all.
    The animation requirement is pretty simple. Basically, the application looks like it has 3 panels. One on the right, one on the left, and a toolbar at the bottom. The animation just needs to make the panels expand and contract.
    Currenly, the animation only gets about, say, 4 frames a second on the 800 MHz Transmeta Crusoe processor, 114 MB Ram, Windows 2000 machine I must use (to approximate the performance of the processor I'll be using, which will run embedded Linux), even though I've taken most of the visible components out of the JPanels during the animation. I don't think this has to do with RAM reaching capacity, as the harddrive light does not light up often. Even if this were the case, the animation goes also goes slow (about 13 frames a second) on my 3 GHz P4 Windows XP if I keeps some JButtons, images etc., inside the JPanels. I get about 50 frames/sec on my 3 GHz P4, if I take most of the JButtons out, as I do for the 800 MHz processor. This is sufficient to animate the panels 400 pixels across the screen at 20 pixels per jump, but it isn't fast or smooth enough to animate across 400 pixels moving at 4 pixel jumps. I know 50 frames/sec is generally considered fast, but in this case, there is hardly anything changing on the screen (hardly any dirty pixels per new frame) and so I'd expect there to be some way to make the animation go much faster and smoother, since I've seen games and other application do much more much faster and much smoother.
    I'm hoping someone can suggest a different, faster way to do the animation I require. Perhaps using the JSplitPane trick is not a good idea in terms of performance. Perhaps there are some tricks I can apply to my JSplitPane trick?
    I haven't been using any fancy tricks - no double buffering, volatile images, canvas or other animation speed techniques. I haven't ever used any of those things as I'm fairly new to Swing and the 2D API. Actually I've read somewhere that Swing does double buffering without being told to, if I understood what I read. Is doing double buffering explicitly still required? And, if I do need to use double buffering or canvas or volatile images or anything else, I'm not sure how I would apply those techiniques to my problem, since I'm not animating a static image around the screen, but rather a set of containers (JSplitPanes and JPanels, mostly) and components (mostly JButtons) that often get re-adjusted or expanded as they are being animated. Do I need to get the Graphics object of the top container (would that contain the graphics objects for all the contained components?) and then double buffer, volatile image it, do the animation on a canvas, or something like that? Or what?
    Thanks you SO much for any help!
    Cortar
    Related Issues(?) (Secondary concerns):
    Although there are only three main panels, the actual number of GUI components I'm using, during the time of animation, is about 20 JPanels/JSplitPanes and 10 JButtons. Among the JPanels and the JSplitPanes, only a few JPanels are set to visible. I, for one, don't think this higher number of components is what is slowing me down, as I've tried taking out some components on my 3GHz machine and it didn't seem to affect performance much, if any. Am I wrong? Will minimizing components be among the necessary steps towards better performance?
    Anyhow, the total number of JContainers that the application creates (mostly JPanels) is perhaps less than 100, and the total number of JComponents created (mostly JButtons and ImageIcons) is less than 200. The application somehow manages to use up 50 MBs RAM. Why? Without looking at the code, can anyone offer a FAQ type of answer to this?

    You can comment out the lines that add buttons to the panels to see the behavior with empty panels.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.Timer;
    public class DancingPanels
        static GridBagLayout gridbag = new GridBagLayout();
        static Timer timer;
        static int delay = 40;
        static int weightInc = 50;
        static boolean goLeft = false;
        public static void main(String[] args)
            final GridBagConstraints gbc = new GridBagConstraints();
            gbc.weightx = 1.0;
            gbc.weighty = 1.0;
            gbc.fill = gbc.HORIZONTAL;
            final JPanel leftPanel = new JPanel(gridbag);
            leftPanel.setBackground(Color.blue);
            gbc.insets = new Insets(0,30,0,30);
            leftPanel.add(new JButton("1"), gbc);
            leftPanel.add(new JButton("2"), gbc);
            final JPanel rightPanel = new JPanel(gridbag);
            rightPanel.setBackground(Color.yellow);
            gbc.insets = new Insets(30,50,30,50);
            gbc.gridwidth = gbc.REMAINDER;
            rightPanel.add(new JButton("3"), gbc);
            rightPanel.add(new JButton("4"), gbc);
            final JPanel panel = new JPanel(gridbag);
            gbc.fill = gbc.BOTH;
            gbc.insets = new Insets(0,0,0,0);
            gbc.gridwidth = gbc.RELATIVE;
            panel.add(leftPanel, gbc);
            gbc.gridwidth = gbc.REMAINDER;
            panel.add(rightPanel, gbc);
            timer = new Timer(delay, new ActionListener()
                    gbc.fill = gbc.BOTH;
                    gbc.gridwidth = 1;
                public void actionPerformed(ActionEvent e)
                    double[] w = cycleWeights();
                    gbc.weightx = w[0];
                    gridbag.setConstraints(leftPanel, gbc);
                    gbc.weightx = w[1];
                    gridbag.setConstraints(rightPanel, gbc);
                    panel.revalidate();
                    panel.repaint();
            JFrame f = new JFrame("Dancing Panels");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(panel);
            f.setSize(400,300);
            f.setLocation(200,200);
            f.setVisible(true);
            timer.start();
        private static double[] cycleWeights()
            if(goLeft)
                weightInc--;
            else
                weightInc++;
            if(weightInc > 100)
                weightInc = 100;
                goLeft = true;
            if(weightInc < 0)
                weightInc = 0;
                goLeft = false;
            double wLeft = weightInc/ 100.0;
            double wRight = (100 - weightInc)/100.0;
            return new double[]{wLeft, wRight};
    }

  • Please help with slicing question

    I'm new to FW and to slicing. I have tried to get all of the info from tutorials and the help that I could.I'm still confused.I'm trying to produce a multi page website mockup with FW using export to CSS and Images.
    I've submitted two other posts with 0 replies. I guess my questions were too broad? I've done some trial and error and tried testing with a simplified version of the multi page website mockup I'm trying to produce. See the simplified file here:
    http://www.openrangeimaging.com/test-posts/slicetest01.png
    The top area would be the header. The lower bar will have some nav tabs. The circle is to be a logo that if clicked on will take the user to the home page.. Below the nav bar is to be two columns with content.
    I have tried different ways of slicing this but cannot get the file to export correctly as CSS and Images. I also can't seem to include the logo as a slice with a link without getting the "overlap" problem. I have been beating myself against this for some time and have not had any success. Any help or advice on where to get help or any reply at all will be most appreciated. Thanks!

    Great, my entire message was wiped out. Here it is again:
    My comments are inline.
    On 2010-10-14, at 2:16 AM, markf12 wrote:
    Jim, thank you for your very helpful reply!
    Honestly I wouldn't even try to directly export this design from FW to a CSS based layout. I think I'd move a lot faster by exporting the graphics from FW and building the design in DW.<<
    This is what I needed to know. Being new to FW I was mistakenly assuming that I could use the Images and CSS to export a clicklable mockup that would also form the html/css basis of the 15 page site I'm designing. I thought that this was possible if only I could figure out how. I expected some pretty involved work in Dreamweaver would be needed. I now understand that for what I'm doing using the HTML and Images is what should be used. Then I develop the site in Dreamweaver using perhaps some images exported from the FW mockup, but not any html or css. Thank you for clearing that up for me! I knew i had some fundamental/core misunderstanding. The export to Images and CSS is only for very simple design.
    JB - It IS possible, but you have to design the site based on certain practices. Overlapping slices is one thing to avoid.
    . If you're new to Fireworks, you really want to keep things simple as  you learn the process. Regardless, a solid knowledge of HTML and CSS is  very important.<<
    Yes I'd like to keep it simple but this is a bit of trial by fire (pun intended) on a project. I have gotten books and other tutorial type stuff on html and css. I would not call my knowledge of it solid as I am new to it. i think I get the gist of it and am determined to become proficient. The only real way to do that is to actually create something/gotta start somewhere so.......
    JB - getting the "gist" isn't enough. If you do not have a solid grounding in HTML and CSS, you will likely run into trouble even IF you successfully export the design, because you will need to to edit and tweak the code once you're in DW. I'd recommend building your first sites "the old fashioned way" first, before trying to automate the process.
    David Hogue has created a great series of CSS export videos on the Fireworks Dev Center. I strongly recommend watching them. Likewise Michel Bozgounov has written an excellent article on setting up a Fireworks document for CSS export:<<
    I had viewed a number of  Dave H's tutorials. I somehow overlooked the ones that you provided a link to. I'm going to watch them straight away. I had read the Article by Michel B. also excellent. I have also read your excellent tutorials and watched your lynda.com video training. I've gained allot from all of this.
    Thanks again for your help!
    JB - You're very welcome. Good luck.

  • Please help answer some questions....this means a lot

    I'm really in need of some answers. I hope someone can help.
    I bought a Macbook yesterday, the basic 13" white version. I had an ibook G4 before.
    My first question is about "offgassing", giving off that new computer smell. It's really bad, my whole place smells like it and I feel sick and have a headache from it. I read that it would go away if I leave it running for a few days, so I put it in an empty room with the window open and just leave it running. How long will it take to go away? Will it go away completely? Did any of you have the same problem? I can't remember having this problem with the ibook although when the fan would turn on (which was rarely) or I took the battery out, it smelt a little like this.
    My second question is about the fan. It's been on the whole time I've been using it, pretty much right away, and never goes off. Is this normal? My ibook fan NEVER turned on unless it was incredibly overheated. It's the fan that is at the back of the computer under the screen. Is there a way to turn this off?
    My third question is about how loud it is. I was surprised at how loud it is, my ibook was so quiet. Is this normal? Is there a way to make it quieter? I loved how my ibook was so quiet so I was disappointed.
    My fourth question is about the brightness of the screen. On average, it's a lot brighter than the ibook. I kept my ibook brightness level at the very lowest, I like it darker, but the lowest level on my Macbook is really, really bright. How can I make it go darker? And why did they do this?
    Thank you so much if you can help me. These things are really bugging me and I would love to get some answers. It really does mean a lot. Thanks.

    Hi John
    I moved from an iBook to a MB and I had none of these problems.
    I have set up two MB's directly out of the box and have never heard of the 'smell' issue. That sounds a bit rubbish!
    I would call Apple regarding this and the other issues. Are you close to an Apple store?
    If so then it's be good to take a trip to check out some other MB's. Have a look at the brightess and noise levels. Comapre them to yours.
    While you're there have a chat about the fan issue and the 'offgassing'.
    Taking your MB out of the box and setting it up should be one of the fun bits. Doesn't sound like you're having much fun!?
    Good luck!
    ps. Have you done all of the recent software updates?
    Message was edited by: fragglerock

  • Hello to all! Please help with the question from China!!!Thanks a lot!

    I am a real beginner on Java studing and I try to learn this all by myself.I had read some books translated from English format.But I dont think they were translated good enough.Sometime the meaning translated from English is totally different from what the Author want to express.So can you help to recommend some good English books for the beginner.I want to get start my studing on these books.Thanks in advance.

    I used Thinking in Java 2 by Horton. I see there's an upcoming edition covering the new version 5 of Java,
    http://www.amazon.com/exec/obidos/tg/detail/-/0764568744/qid=1103190687/sr=1-2/ref=sr_1_2/103-0972736-0816625?v=glance&s=books
    In addition to the above I also bought The Java Programming Language by Gosling and others. It's not a tutorial. Instead it offers much in-depth information on why things are the way the are in Java. I didn't use much at first and found it quite impenetrable, but now I use it all the time especially when answering so called "I have a doubt" questions at this forum. -:) I think any serious Java developer should have a copy but not necessarily when starting out. The Horton tome will keep you busy for a while. And don't forget the on-line tutorials. If find the Swing tutorial especially valuable.

  • Possible convert to Blackberry from Palm - please help with outlook questions

    I'm debating switching from a Palm Treo 800 (battery life is awful) to Blackberry Curve. I chose the Treo because of active sync with my work exchange server and ability to open Office documents.
    Currently, I sync my outlook mail, tasks & calendar with work, and my contacts & notes with my home computer. So if i follow your instructions for using BIS instead of BES (my employer only provides BES service for a carrier which is not mine ...), will I be able to sync manually with a cable to my work computer for  calendar & tasks and then to my home computer for contacts & notes?
    I have to decide THIS WEEK if I'm going to switch from Palm to Blackberry, so please hurry! The blackberry seems like it's a lot more fun than the Palm, and your support is much more extensive and user-friendly!

    Ok, so if both machines are Outlook based, I would not see a problem,
    You would need  2 DM programs one at work and one at home.
    For work you can specify sync for tasks and calendar, for home sync contacts and notes.
    Both calendars would have to be the Outlook calendar as default.
    You can the have the synced BB and would have the ability to backup on both machines, or better yet, back up on one machine to eliminate confusion. In case of failure, you have a backup of ALL data.
    You wouldn't have to convert anything because Outlook is fully compatible with the Desktop Manager.
    I don't see a problem.
    Thanks
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Blackberry Virgin - Please help with these questions

    Hi there
    I have just received my Blackberry 8900 and have a few questions if anyone can help:
    - Is there any way of having a clock display whilst the phone is on "sleep" mode. I use my phone to keep track of time alot so is there anyway of having the clock permanently displayed when phone is not in use?
    - I cant seem to be able to send a contact by SMS which seems a bit strange. Usually with my old phones I have been able to click on the Contact and access a "Send contact  by text" option.
    - The track ball I find a bit uncomfortable to use especially when having to click it, are there other navigation type pads on other phones rather than track ball?
    - I am  not currently connected to internet and wont be until next week when my new billing system starts. Can I use IM without internet access?
    Thats it for starters! Thanks in advance for your help

    Please help me!! Nobody can help you unless you have shown the willingness to learn and are seeking help only where you are stuck.
    My assignment is due in 2 days That doesn't matter to people over here.
    hese are practice questions and not part of the actual assignment so dont hesitate to provide the answer!!Doesnt matter again. what you have posted here is a problem text without any effort on your part to understand it or implement it. That is an assignment to us and we did our Java assignments for our course work long time ago.
    Bottom line - learn Java. If your course is not helping you with that, find a different course.

  • Please help with basic questions

    I hardly ever use flash, as i'm always ending up kicking
    stuff out of sheer frustration. Just like with Quark Xpress, in
    Flash there seem to be several 'layers' between what my intuition
    tells me should work, and the actual execution of the things i want
    to achieve. But nevermind, I'm just severely annoyed.
    I got 10 buttons, with a graphic as bottomlayer, and a number
    (1-10). Isn't it possible to turn the first button into a symbol,
    and then make copies where i just have to change the number? For
    now it doesn't matter if i copy/paste them or drag them from the
    library, when i copy the button and try to change the number in the
    copy, then the number in the 'original' changes as well.
    Do i really have to 'make' each button from scratch?
    This might seem like a very basic question, but i'm really
    bangin my head into the wall here. And theres tons og issues like
    that in Flash - for me at least - like if i say 'paste in place',
    things get pasted some random place on the canvas (anywhere but in
    place). If i convert to symbol, the referencepoint (or the point
    which it's supposed to rotate around) seems randomly choosen as
    well - at least it's never where i told it to be in the appropriate
    dialog.
    HELP! :-(

    Go to the library and there should be an arrow in the corner
    that gives you options. One option is "duplicate symbol." Duplicate
    your button and give it a new name, then make the changes.

  • PLEASE help - Flash Catalyst Question

    Does anyone know how to create a button in Flash Catalyst that will download a pdf to the users computer.
    I have compleated my Portfolio website in Catalyst and this is the only thing stopping me from publishing.
    Please help

    To create a link to a PDF, just use the Go To Url interaction from the interactions panel. It does not allow for relative links (those like ../pdf/portfoilio.pdf), so you will need to full url path. You might also want the link to open in a new window.
    Chris

Maybe you are looking for

  • URGENT: QoS Design on Data Center MPLS - MediaNet Question...

    Hello, I am posting this in hopes I can get some guidance from anyone who has done this in the field.  We have a large enterprise customer with 21 sites all around the world, they have Verizon MPLS and are experiencing QoS related issues on their WAN

  • My screen keeps fluttering trying to double display

    I'm having issues with my retina display with my MacBook Pro  the screen keeps fluttering and trying to double itself  over on and off in seconds

  • Modify ME55 selection conditions and ALV output

    Hi guys, I need to modify ME55 transaction, i mean to modify the data selection and ALV report to add new columns, is it possible with some enhancement or should i copy the program RM06BF00? The problem that i faced when copying ME55 transaction is t

  • JButtons not appearing problem

    Hi, First of all I am using NetBeans environement. I have just started writing short menu program.I am creating two panes,in the southern on I intend to put four buttons,unfortunately when i click compile these buttons sometimes seems to appear but u

  • How to change z-value in specific region in intensity graph

    Hi! I have an intensity graph and I want to mark a specific region which is dark and then change the z-value(autoscale) so I can see what in  this region, of course the rest of the intensity graph will be very bright but it's not a problem.  How do I