My_FLVPlybk.contentPath - Loading URL from DB with ASP

Can someone point me in the right direction here? I am trying
to use the FLV Playback component to load FLV's dynamiclly into the
flash movie.
What I have is a asp page with a Recordset pulling the URL
from the DB into the page using Dreamweaver. This is all fine.
Now I have one instance of the FLVPlayback on the stage with
flash
I am trying to load the url for the FLV file into the movie,
via ASP, MsSQL and a url parameter. What I am trying to accomplish
is to have a link on a page with a url that will open a popup
window. In this window I will have the Flash file that will load
the FLV based on the URL, and play it.
Any help is appreciated.
Thanks in advanced

By popup you mean web document popup?
You could use
LocalConnection
to pass the URL from the main Flash Movie to the Flash movie in the
web document popup.

Similar Messages

  • Sandbox error only when loading URL containing directory with purely numeric name.

    This error only occurs under very strange circumstances.  We have several clients whose domain names begin with a sequence of digits (e.g. 401blah.com).  We have file paths under another server employing directory names derived from these domain names. (e.g. /4/401/...).  We employ the same scheme for all domain names, so fooblah.com would utilize directory /f/fooblah/...
    Our swf file is embedded in an HTML page which is served up from 401blah.com (name is an example).  It attempts to load images from another server (e.g. pictures.foo.com//4/401/...).  The pictures.foo.com site has a crossdomain.xml file that permits all domains to access its contents.  When the swf at fooblah.com tries to load an image at pictures.foo.com//f/fooblah/... it does so without a hitch.  However, when the same swf hosted in an identical page at 401blah.com attempts to access an image at pictures.foo.com//4/401/... it fails with the following error:
    Error #2048: Security sandbox violation: http://401blah.com/v8/widgets/generic/image/semantic-slideshow.swf cannot load data from http:/pictures.foo.com/4/401blah/0288/2015daea4046387201f6d2e38e0c1ac6.jpg
    Now, I'm using fake names for the domain here in order to obfuscate the customer, but if I substitute in the correct customer name, the URL http:/pictures.foo.com/4/401blah/0288/2015daea4046387201f6d2e38e0c1ac6.jpg does, in fact, access the correct image.
    When we use non numeric directory names everything works without a hitch.  When we use numeric directory names, despite all info being in its proper place and a proper crossdomain.xm, loading the images in fails.
    In fact, according to our net-trace, when we use numeric directory names, pictures.foo.com (fake domain name substituted in for real domain name), flash doesn't even try to look at its crossdomain.xml file (while it does try, and succeeds at doing so, when non numeric directory names are used).
    It looks like Flash is doing some kind of test on the URL and making an incorrect determination on it.  Any help on this that does not involve changing our directory scheme would be appreciated.  I have read all of the relevent documentation and our crossdomain.xml file is set up correctly, so please focus on the behavior visa vi strange treatment of numeric directory names in the URL.

    try to write your php code with notepad.
    There could be invisible characters when using Dreamweaver or similar softwares.

  • IPhoto doesn´t work after trying to load photos from iphone with newer version. Help!!!!!

    First, I do not have a recent back-up of my iPhoto Library. (But, I learned my lesson for next time). When I tried to load photos from my super duper up to date software I-phone to my outdated iPhoto on the computer (only version 8.1.2), a message came that I cannot open your Mediateck with this version of iPhoto,. You have changed your mediathek with a newer version of iPhoto.
    (in German, because I am writing from Germany "Sie konnen ihre aktuelle Mediathek nicht mit dieser Version von iPhoto öffnen. Sie haben Ihre Mediathek mit einer neueren version von iPhoto geändert").
    How can I save all the baby pictures of my 3 kids??Help

    Did you update iPhoto?
    If not:
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new iPhoto 08 library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • Load defaults from file with event structure in vi

    Hi All,
    I've been trying to figure out how to do this but have not quite got there. Taken a look at lots of posts but can't quite find the answer to the question that i've got.
    I've got a vi for controling 4 PCI cards making calls to some DLL's. I've got quite a number of controls on the FP and i use an event structure to update the values on calls to the DLL. On startup, one of the first calls that i make is initalise and that sets the cards up. I then want to load my own set of default values from a file to initalise the cards to my particular set up. While the software is running the user may change the values and wish to save a file with the new default values, or he may wish to load a different file of default values (depending on the test that he is running). I've got the Control Values:Get All [variant] and the Control Valueset [Variant] working to save all the controls values to a file and read that file in and set all the controls values. So far so good. Problem is i'm using an Event Stucture and it doesn't register that the values have changed. I could complish this by using Value(signaling) but the data from the Control Values:Get All is variant data and the Value(signaling) needs the same data type as the control. What do i do?
    One thing i have thought about is to write all the values from the file to all the conrols and then have a read Value and a write Value (signaling) to trigger the events. Problem is i don't want to set this up for every control (it'll take me ages). Can i do it programitically? Is there a better way to do it?
    Thanks,
    Phil

    You could create a boolean control/indicator and signal that value when you've updated the values on the FP.
    Name it something like "update FP". The event case for that boolean will have the code to update the necessary parts of the FP.
    André
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • Populating a pdf from database with ASP

    Hi,
    I have been tasked to see if it is possible to fill in
    http://www.uses.doleta.gov/pdf/eta9061.pdf
    this government form and
    several others dynamically from a database.
    Does anyone have an idea if it can be done via ASP or am I
    looking at
    recreating each form with HTML and filling in that way.
    My main issue with this is if the government will accept the
    generated
    forms that way.
    Any ideas would be helpful.
    Thanks in advance

    > Does anyone have an idea if it can be done via ASP or am
    I looking at
    > recreating each form with HTML and filling in that way.
    > My main issue with this is if the government will accept
    the generated
    > forms that way.
    As a .gover myself, I have to deal with thie all the time.
    The core problem is that .gov is *still* run on paper-forms,
    and solutions
    like these are nothing but gigantic hacks that don't actually
    solve the core
    issue: distributing and collecting data electronically.
    If you zoom into that particular PDF example, you will note
    that it is not
    'electronic' at all.
    It's nothing more than a scanned piece of paper.
    So, to get this to where the client would be happy, you're
    going to have to
    first add PDF form fields to this PDF. Then be sure to put in
    the
    apporpriate labels and extra text to make it accessible. Then
    you need to
    create the data-base back end. Then you need to create an
    interface to get
    the data to and from the PDF.
    Then you're done.
    Until they decide to slightly change the form.
    Then look out.
    Ultimately, this is a really dumb way to go about it.
    Granted, it'll be a
    big chore to convince them of that. ;o)
    Ideally, you'd take the simple route, as simple is often
    better. Make a web
    form. Let people fill it out online. Once filled in, give
    them a printable
    HTML form back.
    Adobe has done an AMAZING job of firmly getting their foot in
    the .gov door,
    and it's going to be REALLY hard to pry that foot out, but
    hopefully we'll
    get there some day.
    -Darrel

  • Loading URL from XML?

    I have a movie clip in rectangle shape and need add link to that from XML.
    How can I do that?
    this my code
    AS Code:var xmlLoader:URLLoader = new URLLoader();
    xmlLoader.load(new URLRequest("linkNewD2.xml"));
    xmlLoader.addEventListener(Event.COMPLETE, displayHTML);
    function displayHTML(e:Event):void {
                    var xmlData:XML = new XML(e.target.data);
                    var tURL:String = xmlData.Header1.option;
                    targetURL(tURL);
    function targetURL(event:String):void
    var valURL:String = event;
    myMc1.addEventListener(MouseEvent.CLICK, gotoHome);
    function gotoHome(evt:MouseEvent):void
                    var myURL:URLRequest = new URLRequest(URL(valURL));
                    navigateToURL(myURL);
    XML Code:
    <data>
    <Header1>
    <option> http://www.google.com </option>
    </Header1>
    </data>
    Please help me!
    Thanks,
    jafy

    First, never use nested functions - they bring in a lot of troubles.
    Try this code (there are better ways but just to follow your initial approach). This code assumes that myMC1 is MovieClip:
    var xmlLoader:URLLoader = new URLLoader();
    // listeners should be added BEFORE load() is called
    xmlLoader.addEventListener(Event.COMPLETE, displayHTML);
    xmlLoader.load(new URLRequest("linkNewD2.xml"));
    function displayHTML(e:Event):void {
         var xmlData:XML = new XML(e.target.data);
         targetURL(xmlData.Header1.option);
    function targetURL(url:String):void
         myMc1.url = url;
         myMc1.addEventListener(MouseEvent.CLICK, gotoHome);
    function gotoHome(e:MouseEvent):void
         navigateToURL(new URLRequest(MovieClip(e.currentTarget).url));

  • How do I get LONG RAW from Oracle with ASP page designed in Dreamweaver

    Hello,
    I have a single entry field the user enters a SSN to search a database, the query searches one table which returns the data.
    Unfortunately one of the fields in the table is a LONG RAW field.
    How do I create the ASP page to display the LONG RAW data correctly?
    Thanks,
    Adam

    You can use XSU with Oracle 8.1.6:
    xsu12_816.jar: for Java 1.2
    xsu111_816.jar: for Java 1.1
    Please refer to the following link to download the XDK for Java:
    http://otn.oracle.com/software/tech/xml/xdk_java/content.html
    For XSU document:
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Producti
    on9i/java/xsu/readme.html
    XSU provide both JAVA and PL/SQL APIs.

  • Problem loading URL from .jar file

    I encounter problems while loading a MsAccess DB contains within a .jar file. This is the following codes I used,
    try
        Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
        java.net.URL url=getClass().getResource("MSAccessDB\\SavingApp DB.mdb");
        DBURL+=url.getFile();
    catch(Exception e)
    { System.err.println(e.toString()); }

    Could I ask that, if I stored the MsAccess or any other DBs, will the DB able to do basic operations (Create Update Retrieve Display)?
    As the DB is not like a normal Text file.
    What I did is that, I didn't include the MsAccess into the .jar file. I just put it beside. The disadvantage is that user ables to open the DB and might do some changes. ;-(

  • Loading CS2 from laptop with Windows XP to new laptop with Windows 7

    Hello, I just purchased a new laptop with Windows 7 on it, and am wondering if I can install my CS2 software onto it. I had it on my old laptop which had Windows XP. I don't see
    Windows 7 on my installation CDs as an OS I can use the software with. Not wanting to buy all new as I am a novice user, not a professional graphics person. Can I
    load this version on my new laptop?

    Can you check out the following threads?
    http://forums.adobe.com/thread/563291
    http://forums.adobe.com/message/3449668

  • Loading Image from Photoshop with Tranparency

    I am using PS CS3 and Final Cut Express HD 3.5. I have tried to bring a still with a tranparent background into FCE as both a gif ( with transparency turned on ) and as a PSD with a single layer created with the background eraser tool. When I bring it into FCE I have a white box around the image instead of the transparency I expected. Any suggestions on how to resolve this situation? Thanks for your help!

    See if this is of any help:-
    http://www.fcpbook.com/Misc10.html

  • TS2621 how to stop down loading mail from server with new ipad

    When I set up my new mini ipad and connected to my bigpond mail account I continually receive old emails from the server some 50 at a time. How to stop this from happening please? Peter

    Open the Settings app > Mail,Contacts,Calendars > [scroll down to the Mail section] Tap Show and set to whatever number appears reasonable to you, keeping in mind this is the total email count, including newer messages.

  • Loading Variables from ASP into Flash

    I can find plenty of tutorials detailing how to load
    variables from a defined asp page into Flash, but here's my
    dilemma...
    I have an asp page that is reading a URL with a unique
    identifier in it (www.sampleURL.com?id=123456), and then turns the
    id number from the URL into a variable. On the same page then, sits
    my swf where I need to use LoadVars to pull in that ASP variable
    via Actionscript. If I don't have a static asp page to pull the
    variables in from and I want to pass the variable within the same
    asp page the swf is located on, how do I do it? Many thanks in
    advance...

    "bonzomn65" <[email protected]> wrote in
    message
    news:ej0630$pjh$[email protected]..
    >I can find plenty of tutorials detailing how to load
    variables from a
    >defined
    > asp page into Flash, but here's my dilemma...
    >
    > I have an asp page that is reading a URL with a unique
    identifier in it
    > (www.sampleURL.com?id=123456), and then turns the id
    number from the URL
    > into a
    > variable. On the same page then, sits my swf where I
    need to use LoadVars
    > to
    > pull in that ASP variable via Actionscript. If I don't
    have a static asp
    > page
    > to pull the variables in from and I want to pass the
    variable within the
    > same
    > asp page the swf is located on, how do I do it? Many
    thanks in advance...
    >
    You don't need LoadVars for this at all. You can just pass
    the variable to
    your Flash movie by specifying a query string when you are
    calling the
    movie.
    If you are using the straight object, embed method then it
    would look
    something like this:
    <param name="movie" value="movie.swf?id=11111">
    <embed src="movie.swf?id=11111" ... >
    If you are using the ActiveContent JavaScript for your movie
    then you just
    leave off the .swf... so
    "name", "movie?id=11111"
    Then, in flash you can access the value of id from the _root,
    like
    var idInFlash:Number = _root.id;
    Of course in the above example you would replace 11111 with
    the proper
    syntax for printing a variable's value in ASP.

  • Load image from SQL database with ASP?

    Hello,
    Does anyone know a tutorial where you can load an image from
    a SQL database ?
    I would like to show this image in Flash, but i don't know
    how to load in from a SQL database using ASP.
    Regards,
    Micheal

    Flash cannot load images from an SQL database.
    Flash can load JPEG, PNG, GIF, SWF, MP3, and FLV files.
    An SQL database can be used to store the file names and their
    location. ASP can retrieve that data from the SQL and return to
    Flash to load the above file formats.
    For Flash to do the communication with ASP you need to
    determine if you are using URL Encoded or XML data structures.
    For URL Encoded data you look at
    LoadVars.sendAndLoad
    For XML Encoded data you look at
    XML.sendAndLoad
    Then in their onLoad methods you use
    MovieClip.loadMovie
    to load JPEG, GIF, PNG and SWF;
    Sound.loadSound
    for MP3,
    NetConnection.connect,
    Video.attachVideo and NetStream.play for FLV.
    For the ASP side the work with the database has nothing to do
    with Flash other than using any search variable sent from Flash
    with LoadVars.sendAndLoad or XML.sendAndLoad. In other words it
    could be an HTML form sending the same variable and calling the
    same ASP script. Same with returning values except with Flash only
    URL Encoded or XML data structures are sent back and not
    HTML.

  • How to load document from url to blob

    How I can load html file from web to
    clob column in database table?

    Sorry, I forget write that I try use Oracle 8.1.7 and 9i
    Intranet server uses MS IIS and
    for external web adresses it use proxy server with NTLM authorisation
    I work in Windows 2000. Oracle server installed on machine with Windows 2000 and
    in network
    I used UTL_HTTP package (with specified proxy server name) for load document from www.oracle.com. It works perfect.
    But if I load document from intranet server then I get DNS server message
    "The requested URL could not be retrieved"
    "Unable to determine IP address from host name for <server>"

  • Issues with Loading Images from a Jar File

    This code snippet basically loops through a jar of gifs and loads them into a hashmap to be used later. The images all load into the HashMap just fine, I tested and made sure their widths and heights were changing as well as the buffer size from gif to gif. The problem comes in when some of the images are loaded to be painted they are incomplete it looks as though part of the image came through but not all of it, while other images look just fine. The old way in which we loaded the graphics didn't involve getting them from a jar file. My question is, is this a common problem with loading images from a jar from an applet? For a while I had tried to approach the problem by getting the URL of the image in a jar and passing that into the toolkit and creating the image that way, I was unsuccessful in getting that to work.
    //app is the Japplet
    MediaTracker tracker = new MediaTracker(app);
    //jf represents the jar file obj, enum for looping through jar entries
    Enumeration e = jf.entries();
    Toolkit toolkit = Toolkit.getDefaultToolkit();
    //buffer for reading image stream
    byte buffer [];
    while(e.hasMoreElements())
    fileName = e.nextElement().toString();
    InputStream inputstream = jf.getInputStream(jf.getEntry(fileName));
    buffer = new byte[inputstream.available()];
    inputstream.read(buffer);
    currentIm = toolkit.createImage(buffer);
    tracker.addImage(currentIm, 0);
    tracker.waitForAll();
    images.put(fileName.substring(0, fileName.indexOf(".")), currentIm);
    } //while
    }//try
    catch(Exception e)
    e.printStackTrace();
    }

    compressed files are not the problem. It is just the problem of the read not returning all the bytes. Here is a working implementation:
    InputStream is = jar.getInputStream(entry);
    ByteArrayOutputStream os = new ByteArrayOutputStream(1024);
    try{
    byte[] buf = new byte[1024];
    int read;
    while((read = is.read(buf)) > 0) {
    os.write(buf, 0, read);
    catch(Exception e){
         e.printStackTrace();
         return null;
    image = Toolkit.getDefaultToolkit().createImage(os.toByteArray());
    This works but I think you end up opening the jar a second time and downloading it from the server again. Another way of getting the images is using the class loader:
    InputStream is = MyApplet.class.getResourceAsStream(strImageName);
    In this case, the image file needs to be at the same level than MyApplet.class but you don't get the benefit of enumerating of the images available in the jar.

Maybe you are looking for