Simple code help with streaming  1 file

I set up the Flash Media Server 2.0 on Windows (test box)
under the host dl35.tamu.edu (behind a firewall so I don't mind
giving it out)
Under the applications directory I create a directory called
test
Under this directory I place a flash movie called motion.flv
In this same directory I copy the main.asc that comes with
the Flash 8 software
I load the "test" application and use _definst_ as the
instance name
In Flash Professional 8 I create a new fla called test.fla
I embed a movie and use the ClearOverAll.swf as the skin for
the movie.
Under the Paramaters Tab I edit the content path to point to
rtmp:"//dl35.tamu.edu/test/_definst_/motion.flv
I test produce the html code and indeed the server shows a
connection even though nothing is playing.
Here is probably where I am most confused but I might have
done something wrong with the above as well. I am not a Flash
programmer, I am a network guy. All I want to do is the bare
minimum in the simplest form of streaming. I could not find code
samples that worked including the tutorial on the Adobe site (seems
to be fairly common). Digging through other examples I "believe" I
found what I wanted but apparantly I did not implement it correctly
or it is not what I need after all and I would like someone to
verify. The below is the action script that I found that I placed
within the test.fla. Is this wrong to do?
nc = new NetConnection();
nc.connect("rtmp://dl35.tamu.edu/test/_definst_");
ns = new NetStream(nc);
my_video.attachVideo(ns);
ns.setBufferTime(0);
ns.play("test");
Is the above correct? Given the names I have told you, what
should be changed. Also does this even need to go here? Is it
supposed to be in an action script file all by itself? At any rate
when producing this to html there are several errors:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 16:
Statement must appear within on/onClipEvent handler
nc = new NetConnection();
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 17:
Statement must appear within on/onClipEvent handler
nc.connect("rtmp://dl35.tamu.edu/test/_definst_");
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 19:
Statement must appear within on/onClipEvent handler
ns = new NetStream(nc);
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 20:
Statement must appear within on/onClipEvent handler
my_video.attachVideo(ns);
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 21:
Statement must appear within on/onClipEvent handler
ns.setBufferTime(0);
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 22:
Statement must appear within on/onClipEvent handler
ns.play("test");
Total ActionScript Errors: 6 Reported Errors: 6
Goal: All I want to do is stream 1 file.. just 1. I have no
way of knowing whether this server works before taking this simple
step. It would be nice is Adobe delivered out of the box streaming
samples like all of the other streaming servers we support do. But
I digress. Any help is will be appreciated beyond any means that I
can appropriately convey including a sample code package that works
that I can just change a few lines in so I can understand what is
happening.

Imstamu, I'm relatively new to this myself, but I did notice
a few items in your message that I wanted to comment on. First, the
error messages you're coming up with may be the result of putting
the actionscript in the video object itself, rather than in the
timeline for the main SWF movie. What I think you may want to do is
put the actionscript in a layer called "Actions" in the main
timeline, select the keyframe for that layer in frame 1, and put
the actionscript in that keyframe. If you have put it in the video
object (or in some other object such as a button, etc.), you can
get errors of the type you are reporting (at least it has happened
to me). However, as noted below, you may not need that actionscript
at all.
Second, you may want to try placing a directory under the
"test" directory called "streams", putting another directory called
"_definst_" beneath the "streams" directory, and putting the FLV in
the _definst_ directory. This is where FMS is looking for the files
to stream, as I understand it. (It sounds from your description
like you have placed the FLV directly below "test".) Directly below
test *is* the right place for main.asc, as you have done.
IMPORTANT: In terms of the path you use in the contentPath variable
in the video player object, the path for the directory actually
holding the FLV should *still* be
rtmp://dl35.tamu.edu/test/_definst_/motion.flv, as you have done --
i.e., "streams" should not appear in the contentPath variable.
Don't ask me why, but this worked for me. The reason the server is
showing a connection is that you have put a "test" directory in the
right place, and thus have registered the application from the
point of view of FMS, but you have not put the FLV in the right
place, and so FMS can't find the FLV file in the path you've
specified.
Third, are you using the FLVPlayback component in the swf
file? (From the fact that you're using one of the canned Flash
skins, it sounds like that's the case.) If so, and if you're just
streaming one movie, you don't need to worry about the code to open
up a new net connection, new netstream, etc. -- all of that is
embedded in the FLVPlayback object. So all you need to do is put in
the RTMP path to the file --
rtmp://dl35.tamu.edu/test/_definst_/motion.flv -- in the
contentPath variable for the FLVPlayback object; you do not need
the code opening the NetConnection and NetStream objects.
I hope this is useful. As noted, I am fairly new to this
myself, but I have been able to stream files successfully using
FMS, FLV, and Flash.

Similar Messages

  • Help with add file name problem with Photoshop CS4

    Frustrating problem: Help with add file name problem with Photoshop CS4. What happens is this. When I am in PS CS4 or CS3 and run the following script it runs fine. When I am in Bridge and go to tools/photoshop/batch and run the same script it runs until it wants interaction with preference.rulerunits. How do I get it to quit doing this so I can run in batch mode? Any help is appreciated. HLower
    Script follows:
    // this script is another variation of the script addTimeStamp.js that is installed with PS7
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.INCHES;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "Lower© ";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = " ";
    // Set font size in Points
    myTextRef.size = 10;
    //Set font - use GetFontName.jsx to get exact name
    myTextRef.font = "Arial";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 0;
    newColor.rgb.green = 0;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 10, 99);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

    you might want to try the scripting forum howard:
    http://www.adobeforums.com/webx?13@@.ef7f2cb

  • Can some help with CR2 files ,Ican`t see CR2 files in adobe bridge

    can some help with CR2 files ,I can`t see CR2 files in adobe bridge when I open Adobe Photoshop cs5- help- about plugins- no camera raw plugins. When i go Edit- preference and click on camera raw  shows message that Adobe camera raw plugin cannot be found

    That's strage. Seems that the Camera Raw.8bi file has been moved to different location or has gone corrupt. By any chance did you try to move the camera raw plugin to a custom location?
    Go To "C:\Program Files (x86)\Common Files\Adobe\Plug-Ins\CS5\File Formats" and look for Camera Raw.8bi file.
    If you have that file there, try to download the updated camera raw plugin from the below location.
    http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5371&fileID=5001
    In case  you ae not able to locate the Camera Raw.8bi file on the above location, then i think you need to re-install PS CS5.
    [Moving the discussion to Photoshop General Discussions Forum]

  • Need help with connecting file inputs to arrays

    In this assignment I have a program that will do the following: display a list of names inputed by the user in reverse order, display any names that begin with M or m, and display any names with 5 or more letters. This is all done with arrays.
    That was the fun part. The next part requires me to take the names from a Notepad file, them through the arrays and then output them to a second Notepad file.
    Here is the original program: (view in full screen so that the code doesn't get jumbled)
    import java.io.*;       //Imports the Java library
    class progB                    //Defines class
        public static void main (String[] arguments) throws IOException
            BufferedReader keyboard;                                  //<-
            InputStreamReader reader;                                 //  Allows the program to
            reader = new InputStreamReader (System.in);               //  read the the keyboard
            keyboard = new BufferedReader (reader);                  //<-
            String name;                 //Assigns the name variable which will be parsed into...
            int newnames;               //...the integer variable for the amount of names.
            int order = 0;              //The integer variable that will be used to set the array size
            String[] array;             //Dynamic array (empty)
            System.out.println (" How many names do you want to input?");   //This will get the number that will later define the array
            name = keyboard.readLine ();
            newnames = Integer.parseInt (name);                                         // Converts the String into the Integer variable
            array = new String [newnames];                                               //This defines the size of the array
            DataInput Imp = new DataInputStream (System.in);       //Allows data to be input into the array
            String temp;                                       
            int length;                                                                  //Defines the length of the array for a loop later on
                for (order = 0 ; order < newnames ; order++)                                //<-
                {                                                                           //  Takes the inputed names and
                    System.out.println (" Please input name ");                            //  gives them a number according to
                    temp = keyboard.readLine ();                                           //  the order they were inputed in
                    array [order] = temp;                                                  //<-
                for (order = newnames - 1 ; order >= 0 ; order--)                                //<-
                {                                                                                //  Outputs the names in the reverse 
                    System.out.print (" \n ");                                                   //  order that they were inputed
                    System.out.println (" Name " + order + " is " + array [order]);             //<-
                for (order = 0 ; order < newnames ; order++)                                  //<-
                    if (array [order].startsWith ("M") || array [order].startsWith ("m"))     //  Finds and outputs any and all
                    {                                                                         //  names that begin with M or m
                        System.out.print (" \n ");                                            //
                        System.out.println (array [order] + (" starts with M or m"));         //
                    }                                                                         //<-
                for (order = 0 ; order < newnames ; order++)                                            //<-
                    length = array [order].length ();                                                   //
                    if (length >= 5)                                                                    //  Finds and outputs names
                    {                                                                                  //  with 5 or more letters
                        System.out.print (" \n ");                                                      //
                        System.out.println ("Name " + array [order] + " have 5 or more letters ");      //<-
    }The notepad file contains the following names:
    jim
    laruie
    tim
    timothy
    manny
    joseph
    matty
    amanda
    I have tried various methods but the one thing that really gets me is the fact that i can't find a way to connect the names to the arrays. Opening the file with FileInputStream is easy enough but using the names and then outputing them is quite hard. (unless i'm thinking too hard and there really is a simple method)

    By "connect", do you just mean you want to put the names into an array?
    array[0] = "jim"
    array[1] = "laruie"
    and so on?
    That shouldn't be difficult at all, provided you know how to open a file for reading, and how to read a line of text from it. You can just read the line of text, put it in the array position you want, until the file is exhausted. Then open a file for writing, loop through the array, and write a line.
    What part of all that do you need help with?

  • Help with .SWF files!!!!!!!!!

    Hey, hope you guys are ok. I nees some BIG help.
    I just made a page, with a .SWF intro.... i imported ir to
    the index.html and i tested the page.
    The problem is when i upload it to the server (www.cjb.net)
    and i try to acces the page. The text is there, images ans stuff,
    but the movie, is not playing. it stays in a white box and it never
    begins. What should I do?.... cjb.net does not support uploading
    the .swf file... does anyone can tell me?..... really really... i
    need it. Thanks

    The flash file is linked as if it were here -
    http://www.lemonsfarmequipment.com/new/images/50years.swf
    It's not there. This can only mean that your site definition
    is
    incorrect....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "BurgNET" <[email protected]> wrote in
    message
    news:eq5n99$l99$[email protected]..
    >I opted to just post here instead of starting a new
    thread because I think
    >I'm
    > suffering the same fate as the original poster. I'll try
    to explain
    > things a
    > little bit more thoroughly, however.
    >
    > I do, in fact have DW 8.0.2. installed.
    >
    > When I insert .swf files into my pages (Insert >
    Media > Flash), I can see
    > the
    > flash icon in my design window and DW shows no browser
    errors. Saving and
    > previewing in browser works fine. The .swf plays as
    intended. But when I
    > upload the page and view it over the web, the .swf is a
    white box.
    >
    > I can link directly to the .swf and my browser plays it
    fine, but I cannot
    > see
    > it when inserted on the page. I have uploaded the script
    folder into the
    > same
    > directory that holds the .htm page. I have tried simple
    test pages with
    > no
    > formatting and only the .swf file, but they don't work
    either. I've tried
    > implementing the detection kit. Nothing I do changes the
    white box.
    >
    >
    http://www.lemonsfarmequipment.com/new/index.htm
    >
    > I did, however, fire up Front Page 2002 just to see what
    would happen, and
    > right off the bat, it works. But Front Page is
    accomplishing this by
    > embedding
    > a plug-in.
    >
    >
    http://www.lemonsfarmequipment.com/testflash2.htm
    (embedded plug-in
    > which
    > works)
    >
    > Any help would be greatly appreciated.
    >
    > Greg
    >

  • [SOLVED]Help with sudoers file?

    I haveing alot of trouble with my sudoers file. I would like to run the utility rkhunter as a cron job. But it must be run as root. So i wont to give myself the privledge to use it without a passwd. But when i us the line "%wheel ALL=(ALL) NOPASSWD: /usr/bin/rkhunter" it does not work. Out of curiosity i put the ALL parameter and that did not work either o,0 Either something has gone very wrong or Im in need of a lesson in sudo'ing. Can someone help? btw i looked at tutorials on the web and from what i can see im doing everything right. and before you suggest i checked that rkhunter is in /usr/bin/. here is my sudoers file.
    EDIT: removed the comment in the first line i did not have that there when i ran it.
    # sudoers file.
    # This file MUST be edited with the 'visudo' command as root.
    # Failure to use 'visudo' may result in syntax or file permission errors
    # that prevent sudo from running.
    # See the sudoers man page for the details on how to write a sudoers file.
    # Host alias specification
    # User alias specification
    # Cmnd alias specification
    # Defaults specification
    # Runas alias specification
    # User privilege specification
    root ALL=(ALL) ALL
    generic ALL=(ALL) ALL
    # Uncomment to allow people in group wheel to run all commands
    # %wheel ALL=(ALL) ALL
    # Same thing without a password
    #%wheel ALL=(ALL) NOPASSWD: ALL
    # Samples
    # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
    # %users localhost=/sbin/shutdown -h now
    Last edited by generic_ (2009-06-11 13:38:41)

    rkhunter is not is /usr/sbin i checked specifically for that before i tried doing it in sudo. Its output is
    bash:/usr/bin/rkhunter: Permission Denied
    I tried your suggestion xyne with no luck. I double checked and im in the wheel group. The problem is, it is important I see the output the of rkhunter, if i didn't it would be pointless, and annoying to check the log. Also rkhunter has breaks in its output that require me to press enter to continue. So it will never finish if i dont see it. My plan is to have pop up in a terminal in front of me do its job, finish, and thats it. I was thinking I can use a simple shell script with the command. "urxvt -e rkhunter -c" Then run that shell script as a cron job. Can I get the results I want in the root crontab? Im also new to cron as well. Ive been using linux for while and I have little experience with both of these programs. Its time to learn them.
    Thanks for your effort so though,
    Last edited by generic_ (2009-06-11 11:35:41)

  • Help with wav file, stop and play buttons

    Hey everyone,
    I'm new to actionscript, and flash for that matter. I created
    a new flash file, and a new layer. On that layer I put 2 buttons,
    btnPlay and btnStop.
    I found some code on this forum, and tried it, but it isn't
    working. The code is below. I get no errors, but when I test the
    movie, it doesn't play any music. I selected this layer, selected
    frame 1, and put this code in the actions window.
    mySound = new Sound();
    btnPlay.onRelease = function () {
    mySound.attachSound("adagio");
    mySound.start(0);
    btnStop.onRelease = function() {
    mySound.stop("adagio");
    I should also note, I have another layer with a movie clip on
    it, and another layer with a picture on it.
    Any help would be appreciated,
    Thanks,
    Jesse

    As another note--I right clicked on the wav file in my
    library and selected linkage and export to first frame as well as
    export for actionscript (and named the linkage "adagio"). Might
    help with a solution.

  • Archive applet. Help with adding files to archive, then show.

    I need help with this applet: http://pastebin.com/589064
    The user is supposed to add, remove and open archives with text in it.
    My problem is now the highlited area in the code (the lines with the @@'s).
    This button should list all files i have added to the archive, however when i press the button, i only get a numberlisting. eg, if i have added 4 files to the archive I get: 0123
    However I want the Joptionpane to show a listing of the files in the archive.
    When I press "open" i can choose a file, press add, then open a new file, press add, and then when i click show archive, the filenames of the two files i added, should list through a Joptionpane..as you can see, i've tried, but i'm very unfamiliar with this.

    OK..i've done it
    check out http://pastebin.com/589268
    however, now i'd like to change the code, so that if i try to add to files with the same filename, the applet should show an error message..
    How do i do that, please? :-)

  • Urgent Help With Connections File Needed Please

    Hello All!
    I am getting the following error when I attempt to test my
    live site. I am testing database connectivity within my site that
    is hosted by GoDaddy. All pages are ASP and the database is stored
    in the root directory in GoDaddy's folder called "access_db". The
    folder has read/write access.
    Here is the error:
    Microsoft JET Database Engine error '80040e4d'
    Cannot start your application. The workgroup information file
    is missing or opened exclusively by another user.
    /sitename/requestquote/index.asp, line 130
    Here is the code from the connections file:
    <%
    ' FileName="Connection_ado_conn_string.htm"
    ' Type="ADO"
    ' DesigntimeType="ADO"
    ' HTTP="false"
    ' Catalog=""
    ' Schema=""
    Dim MM_connNAME_STRING
    MM_connNAME_STRING =
    "Provider=Microsoft.Jet.OLEDB.4.0;DataSource=username\access_db\filename.mdb;UserId=usern ame;Password=password;"
    %>
    The error above refrences "/sitename/requestquote/index.asp,
    line 130", and here is the code:
    rs_quote.ActiveConnection = MM_connNAME_STRING
    Please help.
    Thanks - Matt

    Sorry Tim? This is Dave. Did you read what said? I'm not
    Matt.
    Dave
    "TC2112" <[email protected]> wrote in message
    news:[email protected]...
    > It could be, you'd have to check in the control panel to
    make sure
    > permissions are set to read and write.
    > Have you tried changing the path in your connection
    string to the GoDaddy
    > path and uploading the file?
    > The info I posted tells you how to find out what the
    path on GoDaddy is.
    >
    > Tim
    >
    >
    > "Baxter" <baxter(RemoveThe :-)@gtlakes.com> wrote
    in message
    > news:[email protected]...
    > > Tim,
    > > Very good reply! I have no experience with GD other
    than the complaints
    I
    > > have read here about connections to databases etc.
    I think that if his
    > > connection test is ok that it has to be a
    permissions issue? What do you
    > > think?
    > > Dave
    > > "TC2112" <[email protected]> wrote in message
    > > news:[email protected]...
    > >> Hello,
    > >>
    > >> Sorry if some of this is repetitive in respect
    to what others have
    > >> advised
    > >> in this thread.
    > >> It's an answer I gave someone with similar
    problems a while ago.
    > >> It does answer your question about the
    successful path on your local
    > > server
    > >> being different than the path on GDs server.
    > >> There are also instructions on how to find the
    path on GD's server if
    > > needed
    > >> for DNS-Less connection.
    > >>
    > >>
    > >> Option 1:
    > >> You can try using a map path function like this
    in your connection
    > >> string:
    > >> access_db is the folder the database is in and
    mydatabase.mdb is the
    > > access
    > >> file.
    > >> Substitute your names.
    > >>
    > >> STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data
    Source=" &
    > >> Server.MapPath("access_db") &
    "\mydatabase.mdb;User Id=admin;Password="
    > >>
    > >> -or-
    > >>
    > >> Option 2:
    > >> You could try an OLEDB DSN-Less connection
    instead of using a DSN. It's
    > > not
    > >> hard to do.
    > >>
    > >> Step 1 is to figure out the location of the
    root directory on the
    host's
    > >> server..That's very easy to do yourself.
    > >>
    > >> Just make an asp page (I named mine
    "findit.asp"), and put the
    following
    > >> code between the <body> tags, like so:
    > >> <body>
    > >> <%
    > >> Response.Write("The location of this page
    is:<br>")
    > >>
    Response.Write(Request.ServerVariables("PATH_TRANSLATED") &
    "<br>")
    > >> Response.Write("The location of my root
    directory is:<br>")
    > >> Response.Write(Server.MapPath("\"))
    > >> Response.Write Path
    > >> %>
    > >> </body>
    > >>
    > >>
    > >> Upload it to the same location as your site's
    home page.
    > >> Once your new asp page is uploaded, just
    navigate to that page in your
    > >> browser.
    > >>
    > >> For a site on GD the "findit.asp" page displays
    something like this:
    > >>
    > >> The location of this page is:
    > >> d:\hosting\mysite\findit.asp
    > >> The location of my root directory is:
    > >> d:\hosting\mysite
    > >>
    > >> Now that you know the root directory location
    on their server, you can
    > >> figure out the path to your database.
    > >> Let's say that the folder your database is in
    is named _private, and
    it
    > >> happens to be in the root
    > >> directory along with your home page.
    > >>
    > >> Next, just add the database folder name
    (_private) and the database
    > >> inside's name (mydatabase.mdb) to the root
    directory location:
    > >>
    > >> d:hosting\mysite\_private\mydatabase.mdb
    > >>
    > >> That's your Data Source path.
    > >>
    > >> The connection string would look something like
    this:
    > >>
    > >> = "Provider=Microsoft.Jet.OLEDB.4.0;Data
    > >>
    Source=d:hosting\mysite\_private\mydatabase.mdb;User
    ID=;Password=;"
    > >>
    > >> (the code above may appear wrapped (two lines)
    in the forum/ng but it's
    > > one
    > >> line with no return within)
    > >>
    > >> IMPORTANT: If you are using a local testing
    server, make a copy of your
    > >> connection asp page as a backup.
    > >> The reason? The connection information you are
    going to put in this
    file
    > >> will only work on the host's server.
    > >> Once you upload the new connection.asp page
    with the changes for the
    > >> host,
    > >> you'll need to change your local copy back to
    your local connection so
    it
    > >> will work on
    > >> your local testing server.
    > >>
    > >> Upload to server.
    > >>
    > >> Please note: From now on, when you upload (or
    "put" if you're using DW)
    > >> files that refer to your connection asp page
    you're going to get a
    > >> warning
    > >> that your connection asp on the host is
    different than your local copy.
    > >> Always say "No" to updating it, or you'll
    replace the GD DSN-Less
    > > connection
    > >> with your local one.
    > >>
    > >>
    > >> Did you set the appropriate read/write
    permissions on the
    > > directory(folder)
    > >> your database is in?
    > >> You can do that in GD's control panel.
    Hosting> Select your site >
    Manage
    > > to
    > >> open it.
    > >>
    > >> I hope this helps.
    > >>
    > >> For what it's worth, I only use GD for domain
    names now.
    > >> I had numerous problems with some sites hosted
    there, switched them to
    > >> HostMySite and haven't had any.
    > >>
    > >> Take care,
    > >> Tim
    > >>
    > >>
    > >>
    > >>
    > >>
    > >> "Baxter" <baxter(RemoveThe
    :-)@gtlakes.com> wrote in message
    > >> news:[email protected]...
    > >> > Baxter - I get "Connection was Made
    Successfully" if connection to
    the
    > >> > database was made Successfully not sure
    what's going on here? When
    you
    > >> > look
    > >> > at your site files in Dreamwerer on the
    server is there a folder
    named
    > >> > access_db? If so is your data base in that
    folder? The database needs
    > >> > permissions set to read and write to that
    file. Have you checked
    > >> > permissions
    > >> > on the site? does GD give you a control
    panel so that you can set the
    > >> > permissions your self? I have never used
    GD but have seen where
    people
    > >> > have
    > >> > had lots of problems with them when using
    a scripting language. I
    don't
    > >> > know
    > >> > what else it could be at this point.
    > >> > Dave
    > >> > "mtrueblood"
    <[email protected]> wrote in message
    > >> > news:[email protected]...
    > >> >> Baxter - I get "Connection was Made
    Successfully" with the
    credentials
    > >> >> you
    > >> > gave
    > >> >> me. My site works just fine on my
    local machine with
    > > access_trueblood.dsn
    > >> > (it
    > >> >> also worked with the dsn I initally
    created for the site). All pages
    > >> > display
    > >> >> and I get no errors. I think where the
    issue may be, now I am
    guessing
    > >> > here, is
    > >> >> that my connection refrences a
    database located in the folder
    > >> >>
    C:\Users\Administrator\Websites\Sitename\access_db, but once I
    upload
    > > my
    > >> > site,
    > >> >> the database still sits in access_db,
    but the root folder possibly
    has
    > >> > changed
    > >> >> (maybe causing the connection to
    fail).
    > >> >>
    > >> >> Dooza - I don't understand how I can
    use "c:myDsnFile.dsn", when
    once
    > > I
    > >> > upload
    > >> >> my site, "c:myDsnFile.dsn" would then
    not be the location of my dsn.
    > >> >> "c:myDsnFile.dsn" refrences a file on
    my computer. I am using an
    > >> >> online
    > >> > hosting
    > >> >> company. Am I not understanding you
    correctly? See note above. I did
    > > use
    > >> > your
    > >> >> information and got the following
    browser error:
    > >> >>
    > >> >> Microsoft OLE DB Provider for ODBC
    Drivers error '80004005'
    > >> >> General error: Invalid file dsn ''
    > >> >> /sitename/contactus/index.asp, line
    130
    > >> >>
    > >> >> line 130 -
    rs_contactus.ActiveConnection = MM_connTrueblood_STRING
    > >> >>
    > >> >> I am researching on how to do a
    dsn-less connection, unless I can
    get
    > >> > this
    > >> >> figured out.
    > >> >>
    > >> >> Thanks - Matt
    > >> >>
    > >> >
    > >> >
    > >>
    > >>
    > >
    > >
    >
    >

  • Can you help with rematching file names

    After a computer crash needed to reload my library. When doing this I accidently clicked the option to add track numbers to song names.
    Later I was able to locate my iTunes XML from my old PC, however many of the songs (5000 out of 6000) no don't match because the original song name has been changed since my stupid error caused the files names to get the song number in front of them.
    Anybody have any tips for matching the filenames back up. In my original library some files had track numbers in front and some did not. How can I match them back up. I'm comfortable programming and modifying the iTunes XML but I can't figure out a good way to list out the contents of my hard drive to do the actual matching.
    Tony

    Because this forum software is so absolutely USELESS now, you don't get to see the whole of the question in this view. In the other (non-list) view it says:
    "can you help with a technical problem with the stereo imagery option ? it won't take out lead vocal in a stereo mp3"
    And the answer is that if you can't isolate the vocal in the stereo field, or it is one of these odd ones where it's used inverted polarity in different parts of the stereo signal for the same vocal, then you won't be able to. But without a sample, it's impossible to tell. If you can post a link to one, that might help. It has to be external to this site though - Adobe in their infinite wisdom don't allow the posting of audio files on their audio U2U forum. Helpful, that, isn't it?

  • Help with Reconnecting Files

    Over this past weekend I was moving, via Relocate Masters, large numbers of images from managed status on my MacBook Pro to referenced status on an external drive (an Air Disk, to be precise). This had gone fine for thousands of images, but Sunday night I returned to the computer to find that it was completely locked up in mid-Relocate, and seemed to have been locked up for a while. I'm not sure what happened, but it seemed bad -- I couldn't get to the Force Quit dialog, or anywhere else. I powered down by holding in the power button.
    Upon resurrecting things, Aperture would not open the library. Long story shorter, I rebuilt the database and was then able to see the library contents again. But then I noticed that many files were "offline." Digging further, and using the Manage Referenced Files box, I discovered that some 3500 files need to be reconnected.
    The Reconnect All button did a little bit of magic for me, but now I've gotten to a point where using Reconnect All only reconnects one file at a time. I was renaming files as I Relocated Masters, and my fear is that this is what has caused the disconnect. *So first,* can anyone tell me that this is what has caused the problem (the problem being my apparent need to now reconnect 3400 files, one-by-one)?
    *Second, and more importantly to me, do I have any recourse beyond reconnecting one-by-one?* Again, the problem seems to me to be that the library file expects a file named image.jpg (or whatever), because the change of the file name to greatimage.jpg that occurred during Relocation did not get written to the library file.
    Many thanks for all help and suggestions.

    Homme dArs wrote:
    I hope someone else can join in with a definitive answer to your problem, but I don't believe you will be happy using the configuration you are attempting to set up.
    Having Aperture access your images via wireless is going to be very very slow, and any connection problems will be very frustrating. I have even abandoned the idea of using wireless backup of image files because it so slow.
    Perhaps someone can help with your immediate problem, but I would strongly suggest you find a way to store your referenced files locally (a firewire drive would be ideal).
    Thanks. I certainly appreciate your thought, and before trying it myself, my instinct was the same as yours. That said, until the present problem cropped up, I have to say it has been quite a good solution. My network is 802.11n, and I've noticed no real lag in accessing the files or otherwise using Aperture with a library stored as this is.
    But yes, I hope someone is able to help me get these 3400-some files reconnected short of one-by-one.
    Thank you for your comments.

  • Help with JAR Files

    OK, folks, I need some help here...
    And I have researched on this prior to this post, but I still don't get it.
    I have a simple application in Reminder.java file. When I compile it, I get Reminder.class and Reminder$ReminderThread.class, because I have an inner class.
    I place those files in Reminder directory. I want to make an executable JAR file, so I made a manifest file outside the Reminder directory that contains these lines
    Manifest-Version: 1.0
    Main-Class: Reminder.Remindersince the Reminder.class is within the Reminder directory, I understood I had to have a prefix "Reminder."
    In the command line, I type
    jar cmf manifest Reminder.jar Reminder/Reminder.class Reminder/Reminder$ReminderThread.classAnd I do get a Reminder.jar file, but when I double-click on it, I get a popup saying "Could not find the main class. Program will exit!"
    So, what am I doing wrong and how can I fix this? As I said, I have researched, but I can't understand what went wrong nor how to fix the problem.
    Any help will be greatly appreciated.

    Never mind, I solved it, I was missing a carriage return in my manifest file. I feel so stupid now...

  • Help with moving files

    I'm having problems copying data across my network to my new mac mini and i'm looking for some help with how to resolve this issue.
    I'm using "Connect to Server' to connect via SMB to a Vista x64 machine that has the files I need to copy. I'm mounting the share as the user that has permissions to the files on the vista client. The connection is fine, but when I start the copy process, I receive an error message about not having the appropriate permissions to copy files and then the entire copy process fails. Here is the exact error message:
    Copy
    The operation cannot be completed because you do not have sufficient privileges for some of the items.
    OK
    From the vista machine I have logged in as the same user and I have taken ownership of ALL of the files and folders I'm trying to copy. I also made sure that the folder is shared with EVERYONE having full access (not something I would normally do, but figured it might help this situation). The vista machine is in a workgroup if that makes a difference.
    Question 1: how can I do this via command line so that instead of stopping the entire file copy it skips the ones it can't copy and copies the rest of them?
    With hundreds of subfolders and thousands of files, I have no idea which ones it is failing to copy making this process quite painful.
    I'm also stuck on another basic issue - when I originally connected to the share, I told the OSX machine to remember the password. If I want to reconnect to the share using a different username and different password, how do I get OSX to reprompt me for this information?
    Help

    You are probably better off using
    ditto
    In a terminal
    man ditto
    and read the description and instructions.
    Yes, sadly, many copy process when the fail at a file abort the rest of the process. Windows does this as well.

  • Help with finding files

    I would really appreciate any help on this! I have my itunes library on an external hard drive. The power adapter to that drive failed. I replaced it, but now when I open itunes it doesn't recognize where any of my files are. A friend told me to try to go into Edit>Preferences and find the drive of my hard drive and reset that as where the files are. That didn't work. I can go in manually and click on a song where the window pops up that itunes can't find the file, and I am able to find it and then it will play. But to do that with all files in my library would take forever. Thank you so much for any help!
    (I have itunes 8)

    Try This. Hold the shift key down, and open iTunes. Do not let up on the shift key until you get a window that asks you to choose a library, or create a new library. If iTunes opens without giving you that choice, just close it and re-open it with the shift key down. Nine times out of Ten it works on the first try. Click "choose a library". You will get another window that allows you to navigate to your hard drive and show iTunes where your music is stored. In a folder called iTunes or iTunes Music, choose "iTunes Library.itl" This should bring back your entire library the way it was when you last used it.

  • Help with referenced files and importing

    This might be more complex than can be addressed here, but I'm struggling with the organization of aperture.
    Because I'm not sure I want use aperture forever, and because I occasionally like to use other photo editors, I've opted for a referenced file setup. I typically arrange my pictures into year/month sub folders, with additional folders for special subjects, like my kids. I've been doing this for a long time, it works for me, and I don't want to change.
    Problem #1 - avoiding duplicates when I import. When I stick the card in my computer I want to copy just the new files to the directory I specify. Image capture only looks for duplicates in the target directory, which is no help if I'm importing files to "November" from a card that has files that were previously imported to "October." The easiest solution would be to delete the images off of the card after importing, but I can't do that - my wife also wants to copy the pix to her computer and she may not copy for several weeks or months at a time.
    I tried using aperture's import feature to copy files directly from my camera's memory card. The import worked, but when I tried to locate the files on disk, aperture told me there were no referenced files. Any idea where they are?
    Problem #2 - import. Is there any way to make Aperture watch referenced directories and automatically add new files to the the appropriate project? It's a pain to keep manually importing files.
    Problem #3 - Organization. Is there any way to set up aperture so that a project = a physical folder on my drive? I get that Aperture is trying to abstract the physical location of my files, but I don't want them abstracted. Also, why is my aperture primary library 6.2 GB when I do all my work with referenced files? Where are my edited files stored? Are these in the primary library? Where are the files from my photostreams (from my phone) stored?
    Would any or all of these issues be resolved by moving to a managed file set up?
    Finally, if I can't get Aperture working the way I need it, any insight into how I'd use it as an external editor to something like Picasa? I really like the aperture editing tools - that's why I bought it. But the workflow is just killing me.
    Any insights would be appreciated. Thanks.

    It is not as complex as you are making it.  Aperture is not per se an editor.  It is for storing and organizing, and quickly decoding RAW images.  It is a pretty good editor, but it has the feature to allow you to specify an External Editor to which you can send images for more complex editing, and back -- all from within Aperture.
    You don't want to have your images referenced so you can also edit them with other programs.  That destroys the non destructive design of Aperture.  If you want Referenced images, you mostly want them so they can be on a different hard drive from that used by the Library for keeping track and storing the adjustments, and not so other programs can access them.
    You need to read further as to how and why Aperture works the way it does.
    Ernie

Maybe you are looking for