Load jsf content depending on var from datable

Hi,
What I need to do is something like this:
     <h:dataTable value="#{sbn}" var="pan" id="pans">
          <h:column>
               <h:outputText style="boxed" id="panelTitle" value="#{pan.title}"/>
               <f:verbatim>
                    <-- here I need to load a jsp page from the url that is defined in a property of the class retuned by pan (like pan.title returns a string but then an url).
               </f:verbatim>
          </h:column>
     </h:dataTable>
I have been trying and searching but I can't get this to work. I can't seem to get the pan property for that row exported to jsp for use with the <jsp:include> tag.
What I could do is generate the table in jsp itself, but then I need to set the class (pan) as a property for use in the form that is beiing included by the jsp tag.
Does anyone have any idea how to solve this problem?

Seems like my reply wasn't posted.
Yes, the 1st list always work. I had to focus on something different the last two days but I'm going to look at this again now. I actually need this multiple times in a form (I doubt JSF would like me to create a separate form for each 'address' I need to use these list). I'll post some more on my finding in case I have more detailed questions. Thank you.
JSC

Similar Messages

  • I can't load some content from my external hard drive to itunes,

    I can't load some content from 1 of my external hard drive to itunes, it can see it and try to load the folder / files but it doesn't appear, these files worked recently as some of them are currently on my ipod touch - I had to factory restore my laptop this week (virus) so have been trying to put everything back on to sync ipod - any ideas???

    To delete files from your external HDD, attach it to your MBP and drag the unwanted files to trash and then empty trash.
    Then you select the files that you want to transfer by 'drag and drop' to the external HDD and trash the files on your MBP.
    Ciao.

  • Airplay from ipad 1 gen to ATV 3 gen "an error occurred loading this content try again later"

    Hi everyone!,
    I just bought a new Apple tv 3 gen which is great.
    My situation is the next. I have an add hoc wifi which obviously cant connect with my ATV cause ATV doesnt have browser to set user password. This connection is not quite fast, so problem added to the previous. The thing is that I want to use my ipad 1 gen to airplay content to the apple tv. It works great with pictures and even music (my own library or spotify streamed music).
    The problem comes when I try to airplay video from youtube or embedded video from safari so it keeps saying "an error occurred loading this content try again later".
    I tried with my iphone 6 and with an iphone 5 and the same, no video from youtube nor web.
    If I try to airplay a video that is inside my phone, it works flawlessly.
    the specs say that you need at least 6mb connection, but that seems to stream directly from the ATV cause ATV doesn't have hd to store data, but my ipad streams it and plays it like a charm, but when I airplay to the apple tv got the problem.
    I also can stream video from my old mac mini through the network using airparrot but it doesn't allow me to send audio, seems to be problems sending audio and video while streaming..
    Any help?
    does anyone solved it?
    thanks in an advance!

    Two problems seems to be causing this:
    1- My poor download connection. Testing its speed barely reaches 1.5 download speed, though it's enough to stream movies with ipad, or computers.
    2- the router I have connected to my antenna to create my own network. it is a normal 150 mbps tp-link range extender which is used to create a wifi. This 150 mbps might be much more than a half.
    I have tried with a 300 mbps router and now I don´t get the error, but it seems that streaming with my ipad and airplay to the apple tv overloads the network and it loads quite slow in my atv.

  • Airplay from ipad gives error on AppleTV 2. Says "an error occured loading this content. Try again later"

    I have been unable to use our AppleTV 2 for a few weeks now. I can't figure out what is wrong. I am unable to play anything via Airplay when trying to play videos from our iPad. I get the error "An error occured loading this content. Try again later". This happens only when trying to play videos from our iPad, but not videos from my iPhone. I am also unable to stream videos from our Netflix instant queue. I've tested the network, which is fine. The iOS on the iPad is up to date, as is the AppleTV 2. Any other suggestions?
    update: i unplugged the apple tv for 60 seconds and its working now. 

    The video files are mostly M4V not MP4. I did find that if I start playback and select the ATV3 from inside iTunes, the movie will play fine. However, this is not optimal as the iMac is in another room.

  • I have bought iPhone 4 from my sister. How do I reset it and load my contents etc?, i have bought iPhone 4 from my sister. How do I reset it and load my contents etc?

    I have bought an iPhone 4 from my sister. How do I reset it (delete her contacts) and load my contents etc?

    Settings > General > Reset > Erase all content and settings
    Then set the device up from scratch using your data - either sync with your computer via iTunes or iCloud.

  • Is it possible to run BBC iPlayer from an iPhone4 through AirPlay to Apple TV2 please? I keep getting the message "An error occured loading this content. Please try again later"

    Is it possible to run BBC iPlayer from an iPhone4 through AirPlay to Apple TV2 please? I keep getting the message "An error occured loading this content. Please try again later"

    First, try a system reset on the iPod.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If that doesn't work, reset the Apple TV.  I'm not at mine right now and I'm talking from memory but the reset is somewhere in the Settings menu.

  • Safari reading list prefers to load the content from the web

    Hello to the community,
    I am having trouble with using Safari reading list. It seems that my webpages do get saved in the list alright but anytime I have an internet connection, the reading list prefers to load the content from the web instead of the cache.
    Let me give you a model situation: I am on 3G but currently over FUP so my data are slow. I have a webpage in my list. After opening it, it takes a very long time to open, very likely due to the currently limited speed of my data plan. However, if I turn the phone into airplane mode and try to open the same page from the list, it loads immediately.
    Can anyone advice on how to prevent my phone from doing this?
    Thank you.

    Hi,
    Firstly an external content type designed to work with SharePoint list and there is no way to read apart from this.
    If you are looking the solution out of the " Business Connectivity" then find that data source has been exposed through WCF and  Web Service ?
    So you can use REST API and CSOM to consume those data in SharePoint.
    You can also leverage the ADO.NET option if the datasources based on MS technologies.
    Murugesa Pandian| MCPD | MCTS |SharePoint 2010

  • Cannot load any content from Appletv.  Message: Error - content not loading

    Cannot load any content from Appletv.  Message: Error - content not loading

    Hello yogac,
    The following article can help resolve many network issues that can cause symptoms such as inability to load content.
    Apple TV: Troubleshooting wireless connections
    http://support.apple.com/kb/HT1595
    Cheers,
    Allen

  • Is it possible to load web content?

    Hello,
    I'd like to know if its possible to load a file (an xml file) from a web resource with a given address like: http://server.com/file.xml.
    I tried to do this with
    myDocument.importXML(File(file));
    but this does not seem to work.
    Thanks in advance and kind regards,
    mannyk

    Here is an example -- works for me: imports an XML file from a web site into the active document.
    if (app.documents.length == 0) {
         alert("Please open a document and try again");
         exit();
    var doc = app.activeDocument;
    if (! doc.saved) {
         alert("Please save document somewhere first");
         exit();
    var url = "http://kasyan.ho.com.ua/downloads/temp/xmlfile.xml";
    var fileName = url.split("/");
    fileName = fileName[fileName.length - 1];
    var xmlFilePath = File(doc.filePath + "/" + fileName);
    var xmlData = GetURL(url, false);
    if (xmlData != null && xmlData.body != null) {
      xmlFilePath.open("w");
      xmlFilePath.write(xmlData.body);
      xmlFilePath.close();
    if (xmlFilePath.exists) doc.importXML(xmlFilePath);
    function GetURL(url,isBinary)
      // This function consists of up to three 'nested' state machines.
      // At the lowest level, there is a state machine that interprets UTF-8 and
      // converts it to Unicode - i.e. the bytes that are received are looked at
      // one by one, and the Unicode is calculated from the one to four bytes UTF-8
      // code characters that compose it.
      // The next level of state machine interprets line-based data - this is
      // needed to interpret the HTTP headers as they are received.
      // The third level state machine interprets the HTTP reply - based on the
      // info gleaned from the headers it will process the HTTP data in the HTTP
      // reply
      // If things go wrong, GetURL() will return a null
      var reply = null;
      // Below some symbolic constants to name the different states - these
      // make the code more readable.
      const kUTF8CharState_Complete = 0; 
      const kUTF8CharState_PendingMultiByte = 1;
      const kUTF8CharState_Binary = 2;
      const kLineState_InProgress = 0;
      const kLineState_SeenCR = 1;
      const kProtocolState_Status = 1;
      const kProtocolState_Headers = 2;
      const kProtocolState_Body = 3;
      const kProtocolState_Complete = 4;
      const kProtocolState_TimeOut = 5;
      do
        // Chop the URL into pieces
        var parsedURL = ParseURL(url);
        // We only know how to handle HTTP - bail out if it is something else
        if (parsedURL.protocol != "HTTP")
          break;
        // Open up a socket, and set the time out to 2 minutes. The timeout
        // could be parametrized - I leave that as an exercise.
        var socket = new Socket;   
        socket.timeout = 120;
        // Open the socket in binary mode. Sockets could also be opened in UTF-8 mode
        // That might seem a good idea to interpret UTF-8 data, but it does not work out
        // well: the HTTP protocol gives us a body length in bytes. If we let the socket
        // interpret UTF-8 then the body length we get from the header, and the number of
        // characters we receive won't match - which makes things quite awkward.
        // So we need to use BINARY mode, and we must convert the UTF-8 ourselves.
        if (! socket.open(parsedURL.address + ":" + parsedURL.port,"BINARY"))
          break;
        // Dynamically build an HTTP 1.1 request.
        if (isBinary)
          var request =
            "GET /" + parsedURL.path + " HTTP/1.1\n" +
            "Host: " + parsedURL.address + "\n" +
            "User-Agent: InDesign ExtendScript\n" +
            "Accept: */*\n" +
            "Connection: keep-alive\n\n";
        else
          var request =
            "GET /" + parsedURL.path + " HTTP/1.1\n" +
            "Host: " + parsedURL.address + "\n" +
            "User-Agent: InDesign ExtendScript\n" +
            "Accept: text/xml,text/*,*/*\n" +
            "Accept-Encoding:\n" +
            "Connection: keep-alive\n" +
            "Accept-Language: *\n" +
            "Accept-Charset: utf-8\n\n";
        // Send the request out
        socket.write(request);
        // readState keeps track of our three state machines
        var readState =
          buffer: "",
          bufPos: 0,
          // Lowest level state machine: UTF-8 conversion. If we're handling binary data
          // the state is set to kUTF8CharState_Binary which is a 'stuck' state - it
          // remains in that state all the time. If the data really is UTF-8 the state
          // flicks between kUTF8CharState_PendingMultiByte and kUTF8CharState_Complete
          curCharState: isBinary ? kUTF8CharState_Binary : kUTF8CharState_Complete,
          curCharCode: 0,
          pendingUTF8Bytes: 0,     
          // Second level state machine: allows us to handle lines and line endings
          // This state machine can process CR, LF, or CR+LF line endings properly
          // The state flicks between kLineState_InProgress and kLineState_SeenCR
          lineState: kLineState_InProgress,
          curLine: "",
          line: "",
          isLineReadyToProcess: false,
          // Third level state machine: handle HTTP reply. This state gradually
          // progresses through kProtocolState_Status, kProtocolState_Headers,
          // kProtocolState_Body, kProtocolState_Complete.
          // contentBytesPending is part of this state - it keeps track of how many
          // bytes of the body still need to be fetched.
          protocolState: kProtocolState_Status,
          contentBytesPending: null,
          dataAvailable: true,
          // The HTTP packet data, chopped up in convenient pieces.
          status: "",
          headers: {},
          body: ""
        // Main loop: we loop until we hit kProtocolState_Complete as well as an empty data buffer
        // (meaning all data has been processed) or until something timed out.
        while
          ! (readState.protocolState == kProtocolState_Complete && readState.buffer.length <= readState.bufPos)
          readState.protocolState != kProtocolState_TimeOut
          // If all data in the buffer has been processed, clear the old stuff
          // away - this makes things more efficient
          if (readState.bufPos > 0 && readState.buffer.length == readState.bufPos)
            readState.buffer = "";
            readState.bufPos = 0;
          // If there is no data in the buffer, try to get some from the socket
          if (readState.buffer == "")
            // If we're handling the body of the HTTP reply, we can try to optimize
            // things by reading big blobs of data. Also, we need to look out for
            // completion of the transaction.
            if (readState.protocolState == kProtocolState_Body)
              // readState.contentBytesPending==null means that the headers did not
              // contain a length value for the body - in which case we need to process
              // data until the socket is closed by the server
              if (readState.contentBytesPending == null)
                if (! readState.dataAvailable && ! socket.connected)
                  // The server is finished with us - we're done
                  socket = null;
                  readState.protocolState = kProtocolState_Complete;
                else
                  // Attempt to read a byte
                  readState.buffer += socket.read(1);
                  readState.dataAvailable = readState.buffer.length > 0;
              else
                // If the socket is suddenly disconnected, the server pulled the
                // rug from underneath us. Register this as a time out problem and
                // bail out.
                if (! readState.dataAvailable && ! socket.connected)
                  socket = null;
                  readState.protocolState = kProtocolState_TimeOut;
                else
                  // Try to get as much data as needed from the socket. We might
                  // receive less than we've asked for.
                  readState.buffer = socket.read(readState.contentBytesPending);
                  readState.dataAvailable = readState.buffer.length > 0;
                  readState.contentBytesPending -= readState.buffer.length;
                  // Check if we've received as much as we were promised in the headers
                  // If so, we're done with the socket.
                  if (readState.contentBytesPending == 0)
                    readState.protocolState = kProtocolState_Complete;
                    socket.close();
                    socket = null;
                  // If we're downloading binary data, we can immediately shove the
                  // whole buffer into the body data - there's no UTF-8 to worry about            
                  if (isBinary)
                    readState.body += readState.buffer;
                    readState.buffer = "";
                    readState.bufPos = 0;
            else if (readState.protocolState != kProtocolState_Complete)
              // We're reading headers or status right now - look out
              // for server disconnects
              if (! readState.dataAvailable && ! socket.connected)
                socket = null;
                readState.protocolState = kProtocolState_TimeOut;
              else
                readState.buffer += socket.read(1);
                readState.dataAvailable = readState.buffer.length > 0;
          // The previous stretch of code got us as much data as possible into
          // the buffer (but that might be nothing, zilch). If there is data,
          // we process a single byte here.
          if (readState.buffer.length > readState.bufPos)
            // Fetch a byte
            var cCode = readState.buffer.charCodeAt(readState.bufPos++);
            switch (readState.curCharState)
              case kUTF8CharState_Binary:
                // Don't use the UTF-8 state machine on binary data
                readState.curCharCode = cCode;
                readState.multiByteRemaining = 0;
                break;
              case kUTF8CharState_Complete:
                // Interpret the various UTF-8 encodings - 1, 2, 3, or 4
                // consecutive bytes encode a single Unicode character. It's all
                // bit-fiddling here: depending on the masks used, the bytes contain
                // 3, 4, 5, 6 bits of the whole character.
                // Check
                // http://en.wikipedia.org/wiki/UTF-8
                if (cCode <= 127)
                  readState.curCharCode = cCode;
                  readState.multiByteRemaining = 0;
                else if ((cCode & 0xE0) == 0xC0)
                  readState.curCharCode = cCode & 0x1F;
                  readState.curCharState = kUTF8CharState_PendingMultiByte;
                  readState.pendingUTF8Bytes = 1;
                else if ((cCode & 0xF0) == 0xE0)
                  readState.curCharCode = cCode & 0x0F;
                  readState.curCharState = kUTF8CharState_PendingMultiByte;
                  readState.pendingUTF8Bytes = 2;
                else if ((cCode & 0xF8) == 0xF0)
                  readState.curCharCode = cCode & 0x07;
                  readState.curCharState = kUTF8CharState_PendingMultiByte;
                  readState.pendingUTF8Bytes = 3;
                else
                  // bad UTF-8 char
                  readState.curCharCode = cCode;
                  readState.pendingUTF8Bytes = 0;
                break;
              case kUTF8CharState_PendingMultiByte:
                if ((cCode & 0xC0) == 0x80)
                  readState.curCharCode = (readState.curCharCode << 6) | (cCode & 0x3F);
                  readState.pendingUTF8Bytes--;
                  if (readState.pendingUTF8Bytes == 0)
                    readState.curCharState = kUTF8CharState_Complete;
                else
                  // bad UTF-8 char
                  readState.curCharCode = cCode;
                  readState.multiByteRemaining = 0;
                  readState.curCharState = kUTF8CharState_Complete;
                break;
            // If we've got a complete byte or Unicode char available, we process it
            if (readState.curCharState == kUTF8CharState_Complete || readState.curCharState == kUTF8CharState_Binary)
              cCode = readState.curCharCode;
              var c = String.fromCharCode(readState.curCharCode);
              if (readState.protocolState == kProtocolState_Body || readState.protocolState == kProtocolState_Complete)
                // Once past the headers, we simply append new bytes to the body of the HTTP reply
                readState.body += c;     
              else
                // While reading the headers, we look out for CR, LF or CRLF sequences           
                if (readState.lineState == kLineState_SeenCR)
                  // We saw a CR in the previous round - so whatever follows,
                  // the line is now ready to be processed.
                  readState.line = readState.curLine;
                  readState.isLineReadyToProcess = true;
                  readState.curLine = "";
                  readState.lineState = kLineState_InProgress;
                  // The CR might be followed by another one, or
                  // it might be followed by a LF (which we ignore)
                  // or any other character (which we process).
                  if (cCode == 13) // CR
                    readState.lineState = kLineState_SeenCR;
                  else if (cCode != 10) // no LF
                    readState.curLine += c;
                else if (readState.lineState == kLineState_InProgress)
                  // If we're in the midsts of reading characters and we encounter
                  // a CR, we switch to the 'SeenCR' state - a LF might or might not
                  // follow.
                  // If we hit a straight LF, we can process the line, and get ready
                  // for the next one
                  if (cCode == 13) // CR
                    readState.lineState = kLineState_SeenCR;
                  else if (cCode == 10) // LF
                    readState.line = readState.curLine;
                    readState.isLineReadyToProcess = true;
                    readState.curLine = "";
                  else
                    // Any other character is appended to the current line
                    readState.curLine += c;
                if (readState.isLineReadyToProcess)
                  // We've got a complete line to process
                  readState.isLineReadyToProcess = false;
                  if (readState.protocolState == kProtocolState_Status)
                    // The very first line is a status line. After that switch to
                    // 'Headers' state
                    readState.status = readState.line;
                    readState.protocolState = kProtocolState_Headers;
                  else if (readState.protocolState == kProtocolState_Headers)
                    // An empty line signifies the end of the headers - get ready
                    // for the body.
                    if (readState.line == "")
                      readState.protocolState = kProtocolState_Body;
                    else
                      // Tear the header line apart, and interpret it if it is
                      // useful (currently, the only header we process is 'Content-Length'
                      // so we know exactly how many bytes of body data will follow.
                      var headerLine = readState.line.split(":");
                      var headerTag = headerLine[0].replace(/^\s*(.*\S)\s*$/,"$1");
                      headerLine = headerLine.slice(1).join(":");
                      headerLine = headerLine.replace(/^\s*(.*\S)\s*$/,"$1");
                      readState.headers[headerTag] = headerLine;
                      if (headerTag == "Content-Length")
                        readState.contentBytesPending = parseInt(headerLine);
                        if (isNaN(readState.contentBytesPending) || readState.contentBytesPending <= 0)
                          readState.contentBytesPending = null;
                        else
                          readState.contentBytesPending -= (readState.buffer.length - readState.bufPos);
        // If we have not yet cleaned up the socket we do it here
        if (socket != null)
          socket.close();
          socket = null;
        reply =
          status: readState.status,
          headers: readState.headers,
          body: readState.body
      while (false);
      return reply;
    function ParseURL(url)
      url=url.replace(/([a-z]*):\/\/([-\._a-z0-9A-Z]*)(:[0-9]*)?\/?(.*)/,"$1/$2/$3/$4");
      url=url.split("/");
      if (url[2] == "undefined") url[2] = "80";
      var parsedURL =
        protocol: url[0].toUpperCase(),
        address: url[1],
        port: url[2],
        path: ""
      url = url.slice(3);
      parsedURL.path = url.join("/");
      if (parsedURL.port.charAt(0) == ':')
        parsedURL.port = parsedURL.port.slice(1);
      if (parsedURL.port != "")
        parsedURL.port = parseInt(parsedURL.port);
      if (parsedURL.port == "" || parsedURL.port < 0 || parsedURL.port > 65535)
        parsedURL.port = 80;
      parsedURL.path = parsedURL.path;
      return parsedURL;
    Kasyan

  • Flash cs4 mac - Error opening URL '/:Users:someting.swf' - Not a "loading external content" problem

    Hello.
    I am having a weird problem when trying to test a movie or publish preview -> flash on mac with Leopard os.
    The result is a blank movie with the usuall "movie not loaded" if u right click on it and the output returns the "Error opening URL 'the path of the swf here'.
    This has nothing to do with loading external files or something like that. It happens even in blank movies and it gives the same error if I try to open a swf from flash ide.
    I can publish the project or export the movie with no problem at all.
    I can preview the movie in html. I can run all the swf files in my hard disk, network, usb stick, dvd etc., but when I try to open any of these files from flash ide I got that stupid error.
    Its not something that stops me from working in flash ide but its slow to export movie any time I want to test it.
    Things that I've tried so far but nothing worked:
    Update the flash cs4 to the latest version
    Update the flash players
    Restored the release flash player as default player (I am using as default the debug player)
    Cleared the preferences
    Move the flash cs4 folder to another location in hd
    Saved the fla document first before testing the movie (in different places with or without spaces in document name or folder)
    Give read & write permissions for everyone for flash.app, players and for fla files when saved first before test movie
    Unistall and install the application 3-4 times.
    Test every as version just in case.
    Also I've checked the folders when testing movie and I can see that it creates an swf file, which I can run it outside flash ide (the one that the flash ide player cannot load) with no problem.
    The mac os has the default set up as it came. Nothing chnaged in permissions or security settings.
    Thanx in advance.

    In this particular example I am using this code to start the
    xml file load:
    // now load the XML file that contains the content strings
    var sXMLFile:String = "xml/home.xml";
    var xmlContent:XML = new XML();
    xmlContent.ignoreWhite = true;
    xmlContent.onLoad = onXMLLoadComplete;
    xmlContent.load( sXMLFile );
    But I don’t think the code is the problem here . This
    happens on every file I load when I am using a relative path to the
    content, regardless of how I load the content (XML object,
    loadMovie, MovieClipLoader, etc…) and the same code executes
    perfectly on every other machine in the office(Mac and PC).
    I’m more concerned with the semi-colons and .swf filename
    that Flash is putting into my relative path on the error message.
    Is that normal?

  • Promlem with loading QT content in Safari into a div via innerHTML

    Hello,
    I have created a website where I'm loading QT content into a div via Javascript by using InnerHTML. I'm generating the Object/embed with javascript. Take a look at the following javascript function:
    //This function generates object/embed tags on the page
    //each time a movie thumbnail is clicked
    function showMovie(folder, previewUrl, movieUrl)
    var content = new getObj('content');
    var movieObj = new getObj('contentMovie');
    if(BrowserDetect.browser == 'Safari')
    //I added this bit becaus Safari kept on playing the previous movie
    movieObj.obj.Stop();
    content.obj.innerHTML = '';
    var urlStart = "[(base_url)]" + folder + "/";
    var qtUrl = movieUrl.split('../')[1];
    qtUrl = urlStart + qtUrl;
    var myQTObject = new QTObject(previewUrl.split('.')[0] + ".gif", "contentMovie", "489", "280");
    myQTObject.altTxt = "Upgrade your Quicktime Player!";
    myQTObject.addParam("name", "contentMovie");
    myQTObject.addParam("href", movieUrl);
    myQTObject.addParam("controller", "true");
    myQTObject.addParam("scale", "tofit");
    myQTObject.addParam("target", "myself");
    myQTObject.addParam("autoplay", "true");
    myQTObject.addParam("saveembedtags", "true");
    myQTObject.addParam("enablejavasript", "true");
    content.obj.innerHTML = myQTObject.getHTML();
    As you can see I'm specifically checking to see if the browser is Safari, then I'm stopping the movie via javascript. It seems that Safari keeps all the movies in memory and somhow loads them on top of each other instead of disposing of them when the innerHTML is set to an empty string... this took care of one problem which was preventing Safari from playing multiple movies at once(somehow stacking on top of each other). However, the fastStart movies keep loading in the background so you could argue that Safari is leaking memory and loading movies in the background that should not be there.
    Does anyone have a clue on how to fix this? Wouldn't you define this as a bug? I took a look at the QT javascript API and it seems to me that there is no command that tells the movie to stop loading or howto dispose of it. Maybe I can swap the movie URL via javascript if the browser is Safari, but I'd like to know if there is another way since I'm using a poster movie and I imagine it will complicate things. Anyway, you can test for your self on www.koggull.com/index.php, if you don't understand the problem. I suggest that you keep Activity Monitor open, then you can see how Safari eats up memory when browsing my website. All help would be greatly appreciated.
    MacBookPro Core2 duo 2.33 Ghz   Mac OS X (10.4.8)  

    FYI I posted a similar question in one of the Quicktime forums. I haven't gotten any answers: http://discussions.apple.com/thread.jspa?threadID=764296&tstart=0

  • What is the best way to pass a var from php to a swf to swf

    Hi,
    Whats the best most correct or professional (less chances of error or most efficient) way of sending a var from php to a swf container and then to a swf that is loaded with the loader class from the container???
    Thanks

    Hi Kglad thanks for the answer,
    Yes using AS3, I think I didnt give u enough info though.
    The thing is the php file is actually the index file which has the first swf lets call it conatiner.swf embeded and conatiner.swf then calls the other swf lets call it main.swf by using URLloader. So I dont think I can user URLloader on the index.php file, and I cant put the code in another .php file and call it because I need data from the index.php file specifically.
    Any ideas?
    I know I can use flash vars for the first step of the index.php to container.swf but im trying to avoid it cause im not so familiar with it or embedding and theres two diferent embedding methods im using depending on the site and im probably going to have to change them again later on cause im still having an issue.
    Thanks

  • HTMLLoader loading local content (SWF files) problem

    Hello guys,
    I'm just finishing my application but I facing a problem.
    I'm currently developing a desktop application using AIR.
    I'm using HTMLLoader to load local SWF files when te user tries to access specific content on the application.
    I successfully accomplished this, but the loaded SWF also loads other files (assets and xml files with translations) and that is not working.
    When a SWF is loaded he just stops on his own loading screen (when loading the XML files).
    All this stuff is happening on my CustomNativeWindow:
    (my CustomNativeWindow "overlays" the main application)
    public function CustomNativeWindow()
             var nativeWindowInitOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
             nativeWindowInitOptions.systemChrome = NativeWindowSystemChrome.NONE;
             nativeWindowInitOptions.renderMode = NativeWindowRenderMode.DIRECT;
             nativeWindowInitOptions.resizable = false;
             nativeWindowInitOptions.maximizable = false;
             nativeWindowInitOptions.minimizable = false;
             super(nativeWindowInitOptions);
             alwaysInFront = true;
             this.activate();
    public function setProperties(contentName:String, contentURL:String, posX:Number, posY:Number, stageWidth:Number, stageHeight:Number):void
              this.stageHeight = stageHeight;
              this.stageWidth = stageWidth;
              this.contentURL = contentURL;
              this.contentName = contentName;
              this.x = posX;
              this.y = posY;
              this.width = stageWidth;
              this.height = stageHeight;
              this.title = contentName;
              this.addEventListener(Event.RESIZE, onWindowResize);
              SWFHTMLLoader();
    private function SWFHTMLLoader():void
              //REQUEST LOAD URL
              var request:URLRequest = new URLRequest(contentURL);
              //HTML LOADER SWF
              htmlLoader  = new HTMLLoader();
              htmlLoader.width = stageWidth;
              htmlLoader.height = stageHeight;
              htmlLoader.addEventListener(Event.COMPLETE, onHtmlLoaderComplete);
              htmlLoader.load(request);
              stage.addChild(htmlLoader);
    private function onHtmlLoaderComplete(e:Event):void
              trace("NATIVE WINDOW HTMLLoader complete");
              onWindowResize();
    private function onWindowResize(e:Event = null):void
              if (htmlLoader)
                        htmlLoader.width = stage.stageWidth;
                        htmlLoader.height = stage.stageHeight;
    Probably something related to security?
    How can I fix this?
    Is kinda urgente... deadline is coming...
    Thank you!

    Thank you kglad for your fast response...
    The reference to the content comes from a XML loaded on the main application.
    var xml:XML =      <Content  en="game" >
                                      <ImageSource>assets/images/gallery/resources/gameone.png</ImageSource>
                                      <ContentSource>content/gameone/gameone.swf</ContentSource>
                                </Content>;
    contentURL = xml.ContentSource;
    So contentURL is: content/gameone/gameone.swf
    Am I in trouble?

  • Code for Percentage Display of Loading Own Content

    I need an AS3 code for an external AS file that would provide
    the percentage of loading the content of its own swf ( library
    assets, etc ) and NOT external files. And then, after the loading
    is complete, it should add an instance of the main MovieClip ( from
    the library) into the stage.
    ( So far I only found code for preloading an external swf)
    Any idea ?

    Hi Andrei1
    I already have a code that goes embedded in first frame of a
    fla file and it works. The fla has two scenes, one called
    “preloader” and the other just “scene”.
    In the “preloader” scene I have this code in the
    first frame:
    import flash.events.ProgressEvent;
    function LoadingProgress(e: ProgressEvent):void
    var percent:Number = Math.floor(
    (e.bytesLoaded*100)/e.bytesTotal );
    t.text = ""+percent;
    if(percent == 100)
    play();
    loaderInfo.addEventListener(ProgressEvent.PROGRESS ,
    LoadingProgres);
    stop();
    It also has an instance of an animation movieclip in the
    stage that shows the loading progress.
    And in the “scene” scene it has a simple
    instruction as code in the first frame:
    stop();
    And it also has an instance of the main movieclip on the
    stage.
    It works fine, but my version of a separated AS file ( using
    package/class ) is not working.

  • TS2972 An Error Occurred Loading This Content Please Try Again Later

    This seems to be a pretty common issue that many of us users are having. But mine is a bit different...
    I had had no problem at all in the first 3 months of using my ATV, but then all of a sudden during a Tv Show i was watching via Home Sharing the error appeared, mid show!
    I have tried exiting to the main menu, restarting, rebooting anything and everything connected to eitehr my laptop, ATV, Router and TV.
    All of the files are mp4s and open in itunes no problem, and if I load them on to my iPad and start watching through the TV from the iPad's AirPlay it works fine.
    Some files work sometimes but not other times, and there seems to be no rhyme or reason as to why some work when others don't.
    Has anyone got any ideas of what the problem is and how I can fix it?!

    I bought Flight and have never been able to watch it.  Get the same error message every time. 
    "An error occurred loading this content. Please try again later."
    How do I get a refund?  Anyone know?

Maybe you are looking for

  • Capture XML data payload into database table (Oracle EBS R12)

    Hi All, We have a XML Publisher report which generates output in PDF format. We want to capture the XML data payload generated by this report and put it into a DB table once the PDF is generated. This report is generated through Oracle EBS R12 and XM

  • Moving iPhone from Mac to PC

    Hello there, I hope you can help me! I want to move my iphone from my very old macbook to my pc, the slight complication is that I want to merge my mac itunes library with my pc itunes library.  So far I have moved all of my stuff from my mac to my p

  • Acrobat 9.1.0 Standard ... Can a field type be changed?

    Created a new pdf form from Excel.  All fields were converted/created as Text fields.  Some I want to change to List fields and some I want to change to Check Box fields.  Can this be done within Acrobat Standard?  I can only find the ability of crea

  • Menu Not working right in Internet Expleror

    Hello, I just put my website I designed using muse onto the Internet, and it works great in Chrome, but when I use it in Internet Explorer, the menu is delayed when I hover over anything. It lags, and has to readjust where the image is located for th

  • Change properties of controls in an array of clusters

    Hello, my latest problem: i display larga amount of data using arrays of clusters. the user has to be able to inserst clusters in between, therefore the array solution seems perfect. However, for each cluster, once a sub-control is defined, i would l