Dynamic FLV content path

I'm currently displaying a Flash Video (instance name = vid)
through a movie clip (instance name = top) in my FLA with this
actionscript:
top.vid.contentPath = "0207.flv";
It works fine. But now I need to figure out how to make the
content path dynamic. A variable will be added to the SWF's parent
HTML file like this:
<param name="movie" value="test.swf?videoDate=0207" />
The goal is to make an SWF file that can play any FLV file
based on the value of the videoDate variable. So if videoDate=0207,
then the SWF will play 0207.flv. If videoDate=0307, then the SWF
will play 0307.flv. And so on.
I can see how this should work, but I'm just not enough of an
actionscript badass to know exactly how to code it. In plain
English, I think I need something like this:
videoArray = value of videoDate variable from HTML + .flv
extension
top.vid.contentPath = videoArray
Any help would really really be appreciated.

videoArray = videoDate + ".flv";

Similar Messages

  • Dynamic flv player with auto resize based on content

    Hi,
    I would like to build a .flv player which can accommodate 7
    different video sizes.
    This will probably be made using php and xml to dynamically
    control content.
    What I would like to know is if and how it is possible to
    have a holder.swf (just looks for variables to display the flv)
    that can automatically resize based on the flv dimensions. I dont
    want any kind of browserscreen resolution resizing of content, just
    an swf that will change its size from say 320x240 to 450x253
    depending on the dynamically loaded flv.

    The same thing has been reported for the T410. You can see how to fix it here:
    http://forums.lenovo.com/t5/T400-T500-and-newer-T-series/T410-unstable-screen-brightness/m-p/212492#...
    It appears to occur anytime you are on battery and the intel graphics power plan is set to anything other than 'maximum performance.' It's pretty subtle, but really annoying when it happens.

  • Dynamic FLV  Loading Entire Video

    Using Flash 8 and the tutorial at
    http://reallyshiny.com/tutorials/flash.php,
    I created a dynamic FLV player. Everything works but the player
    loads the entire FLV video when going to the URL. Is there an easy
    way to prevent FLVPlayback component from loading the complete FLV
    video until someone clicks play? If there were several videos on
    the page or one video was very large it could take an unnecessary
    about of bandwidth to display the page, especially if the end user
    wasn't going to view that video.

    Sorry, my mistake.
    Ok, I think that if you used a prebuilt component, the play
    button i used only to start the clip. You have to create your own
    Play button, that verify if the video exist or if it has to load
    it. So the first time, the video does not exist, then when the used
    will click on it, it will start the video load. Don't put the video
    path on the component, just feed it with actionScript. After that
    if the user stop the video or just pause it and press Play button
    again your code will check, then the video already exist and it
    will not start the load again, but just play it.
    Has I said, this is the way I think it should be, you have to
    Script your own play btn. May be there is other way, but I don't
    know them.
    Hope that can help you!

  • Video content path

    Dear forum,
    I am putting together a Cross platform (MAC/PC) CD Rom with
    streaming video content.
    All is fine when I publish and test on the Mac, but when I
    test on the PC the Video does not show at all.
    Could this be some thing to do with the content path?
    Or am I missing something obvious
    The flv file is in the same folder as the projector.
    Thanks for any help, Gareth.

    I should check again, but I believe I put them all in the
    same root folder, does the videos .SWF have to be uploded too? I'm
    trying to test the videos.swf from my local drives before I upload
    to the server, is that my problem? Do I need to put all files on
    the web server first before I run my test?

  • Dynamic generated content

    hello can somebody help me with adobe air + html how to make
    link to open in system external web browser in dynamic generated
    content?

    window.runtime.flash.net.navigateToURL(new
    window.runtime.flash.net.URLRequest("path to a file where you wrote
    dynamic content"))

  • Dynamically Updating Content Server Portlets

    [urlHi, I am currently having difficulty dynamically updating content server portlets.  I have a portlet of the following form:[/url]
    ArticleName Author Title Date mystory author1 title1 04/05/01
    story2 author2 title2 06/07/04
    story author3 title3 01/02/03
    So I have this table where each one of the line items is an article in the content server. So, for example the first line item is an article "mystory" by "author1", with title "title1" and date "04/05/01" additionally there is an article text field, but this isn't displayed unless I click on the article name.
    I can set up the basics of this portlet, but when I try to add any real functionality I run into one of two problems.
    First Problem: Passing Information
    I cannot find a way to pass information between content portlets. For instance, if the user would like to "re-sort" this table based on "date", I would like to have the user click on the "date" column heading and then reload the page. To do so, I would have to pass the section name back to the page so that it could resort based on this data. I have not found anyway to effectively pass information to a content server portlet. I am building these pages through use of the presentation template framework (so I can have access to the content items) but that seems to change the way portlets are handled.
    I got around this limitation with a regular portlet by creating an intermediary page which captures passed information and stores it to the session state. Once the information was in the session state, it is accessible to the portlet on the first page. However, this only works because remote portlets do not change their session id once loaded. Content Server portlets, on the other hand, change their session id after every reload of the browser or page change. I can send information from a content server portlet to an intermediary page, but I cannot send it back to the portlet because the session id has changed so I have no idea of knowing where to send the information. I can write it to a session state, but by the time I return to the portal page, the content server has changed its session id so it does not know where to look any longer.
    I suppose it would be possible to create an application state variable and append it with some static token (if there is some static variable per portal session) but I would rather not have to deal with application variables if at all possible.
    Second Problem: Dynamically Updating PCS Tags
    Even if I were able to the pass information back to my content server portlet, I run into another issue. The easiest way to sort content server items is using the filter command in the pcs:foreach tag. So, if I wanted to sort by author name, I could do something like the following <pcs:foreach var="item" expr="filter(folderByName('content'), filtered.name == '"name")" or something like that (the syntax may be incorrect, I just wrote this off the top of my head). However, it appears that the way the presentation templates are compiled goes in the order of PCS tags THEN JSP. So I would have no way of dynamically changing the variable on which I sort. For example, if I clicked on "Date" above in my table, I would like to be able to dynamically change my code so that I sort on date, and not name. I cannot find a solution to this problem.
    My workaround is to use the pcs tags to write out all the possible sortings to java array objects. This gives me access to the data on a JSP level and based on whatever the user will chose, I could then display that array. While this works, it is extremely ghetto and inefficient. Any help or suggestions would be fantastic.
    Thanks a lot,
    Jason Grauel

    You can use just about any javascript you want in any Content Server presentation template including ones that are used for portlets.
    However, you should be careful to name javascript functions and global variables uniquely so that they do not conflict with any other javascript on the page. To do this, you can append the item id to function and variable names, for example,
    function doSomething<pcs:value expr="pcs_id"></pcs:value>() {
    return true;
    Randy

  • Using linked flv content in swf file -for deployment on Breeze server

    Can anyone tell me the procedure for creating swf and linked
    flv file with Sorenson Squeeze for deployment on the Breeze server
    or in Breeze Presenter? All Adobe will share is the how to this
    with Flash. I feel certain this can be done but all my attempts
    have failed to have the swf show the referred flv link. To
    interpret the Flash procedure, it seems that all one has to do is
    add /output "file name" to the swf player flve linked url, but the
    published flv file only shows a white screen. It does not seem to
    load the linked flv file - even if I have allowed public viewing of
    the flv content.

    The procedure may be the same - I'm pretty familiar wit h
    that by now - but the results are not. I think the key difference
    is that the linked file url addendum "/output/filename" required
    from Breeze when creating the linked flv url call-out from the swf
    file, does not work is advertised in Sorenson Squeeze. Before
    attempting to insert this linked swf file in Presenter, I have
    attempted to elicit the same interactivity just by uploading the
    fwo files to the Breeze server. Sorenson does not seem to be able
    to recognize that additional linked url with the additional "output
    / file name" addendum that Breeze requires. I have replicated that
    same procedure in Flash 8 and the results work perfectly. I just
    don't like being forced to use a 900 lb gorilla like Flash 8 to
    create this simple task when a less costly program like Sorenson is
    squeeze should work correctly. Frankly, I think a lot of other
    Breeze authors, who are not as adept with this video encoding
    process, or who want to be using a developer tool like Flash to
    create their video clips. My experience with our users is that that
    most shy away from using video in Breeze because it is way too
    cumbersome. - Something Adobe should consider before more prospects
    move over to another similar authoring program that has actually
    dedicated itself to advancing their authoring software
    capabilities.

  • Error building content paths on Primaries - java error

    I am on v10.3.3 (Sles Primes) and I am receiving this error in servers-meesages.log:
    [DEBUG] [12/19/11 2:40:46 PM] [] [Content Web Service] [] [getContentInfoEx: Error building content paths for ca4dde135b3d0c4d699a2722d0d49d6
    [DEBUG] [12/19/11 2:40:46 PM] [] [Content Web Service] [] [java.lang.ArrayIndexOutOfBoundsException
    [DEBUG] [12/19/11 2:40:47 PM] [] [Content Web Service] [] [getContentInfoEx: Error building content paths for 56d095d31efaad80f26e51cc02f9294
    [DEBUG] [12/19/11 2:40:47 PM] [] [Content Web Service] [] [java.lang.ArrayIndexOutOfBoundsException
    [DEBUG] [12/19/11 2:40:47 PM] [] [Content Web Service] [] [getContentInfoEx: Error building content paths for 7549fb68f8256e3ffdd1380c5b4ebc6
    [DEBUG] [12/19/11 2:40:47 PM] [] [Content Web Service] [] [java.lang.ArrayIndexOutOfBoundsException
    This is causing the workstations to hang upon registering. Once they reboot and receive their Closest Server rules the situation improves (still slow).
    [DEBUG] [12/19/2011 13:36:45.843] [1788] [ZenworksWindowsService] [41] [] [ConnectMan] [] [FindNextContent: Sleeping 3000 ms] [] []
    [DEBUG] [12/19/2011 13:36:48.843] [1788] [ZenworksWindowsService] [41] [] [ConnectMan] [] [FindFirstContent()] [] []
    [DEBUG] [12/19/2011 13:36:48.843] [1788] [ZenworksWindowsService] [41] [] [ConnectMan] [] [ ] [] []
    [DEBUG] [12/19/2011 13:36:48.843] [1788] [ZenworksWindowsService] [41] [] [ConnectMan] [] [ ] [] []
    [DEBUG] [12/19/2011 13:36:48.843] [1788] [ZenworksWindowsService] [41] [] [ConnectMan] [] [ Found host lx147.company.net status: Busy] [] []
    [DEBUG] [12/19/2011 13:36:48.843] [1788] [ZenworksWindowsService] [41] [] [ConnectMan] [] [ Skipping IP address 10.74.5.147, status Busy] [] []
    [DEBUG] [12/19/2011 13:36:48.843] [1788] [ZenworksWindowsService] [41] [] [ConnectMan] [] [ Found host 10.74.5.147 status: Busy] [] []
    Has anyone seen this? Please help.

    pcwoodring,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • How to send dynamic flv video to video control

    Hi
    i put a looper in my page and inside it i click insert->media->flash video
    and the window appeared and i try to make the flv dynamic i mean by code and i found that it needs to specify a specific flv file !!! no parameters button to specify dynamic file
    how to specify dynamic flv to video control?
    if this control can't i want a control like that but accepts to specify dynamic file like

    Hi,
    I'm working from the Web UI. This is BSP. Here I add 2 Methods (GET_PDF and SEND_MAIL).
    The GET_PDF gets all data for the form and then sends the FORMOUTPUT to the SEND_MAIL method.
    Here I add the PDF as following:
    First I convert it to BINARY and then I add it as attachment.
    Do I need to add it as another TYPE or ....
    +  CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER                = ip_formoutput-PDF "PDF file from function module
        APPEND_TO_TABLE       = ' '
      IMPORTING
        OUTPUT_LENGTH         =
        TABLES
          BINARY_TAB            = lt_att_content_hex
      lo_document->add_attachment(
        EXPORTING
          i_attachment_type    = 'PDF'
          i_attachment_subject = 'Your appointment Details'
          i_att_content_hex    = lt_att_content_hex ).+
    Kind Regards,
    Maarten

  • Dynamic Import File Path

    Hi All,
    Please help me how to do dynamic import file path since we have multiple environment where our reports will be migrated.
    Thanks

    Hi,
    the link is helpful but it still throws an error from my end . . .
    I set the xdo.cfg to
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <properties>
    <property name="xslt.FILE_LOCATION">D:\OraHome_1\xmlp\XMLP\Reports\Reports</property>
    </properties>
    </config>
    and my import file is
    <?import:file://${FILE_LOCATION}/Global_Logo/Global_Logo.rtf?>
    <?import:file://${FILE_LOCATION}/Highlights/Highlights.rtf?>
    <?import:file://${FILE_LOCATION}/Benefit/Benefit.rtf?>
    in my main template it calls 3 sub templates . . .
    even I put a single quote in the 'D:\OraHome_1\xmlp\XMLP\Reports\Reports' in the xdo.cfg, I still get the error
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at RTF2PDF.runRTFto(RTF2PDF.java:629)
         at RTF2PDF.runXDO(RTF2PDF.java:439)
         at RTF2PDF.main(RTF2PDF.java:289)
    Caused by: java.net.UnknownHostException: ${FILE_LOCATION}
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
         ... 14 more
    Thanks,

  • Dynamic Flv percentage preloader

    Can anyone tell me where I can find a tutorial or somt to
    produce a percentage preloader for dynamic Flv's
    I have tried wot I know on hte subject but to know avail
    thanks for your help
    kev

    Hi
    Can you elaborate on the phrase 'Dynamic FLv's', then maybe
    we can get closer to an answer.

  • Read Dynamic Selection contents of a Variant for QE51N

    Hi Folks,
    Need your help here !
    In my report, I wish to read the Variants along with their contents created for transaction QE51N.
    I tried using function module RS_VARIANT_CONTENTS and its working good, but not to my requirements. The function module returns only the selection screen contents of a given variant. It does not return the contents in 'Dynamic Selection' (Free Selection).
    I read somewhere that the function module returns dynamic selection contents only if the report use Logical Database. To my understanding, the program for QE51N (SAPLQEES) do not use LDB.
    So is there any way by which I can get dynamic selection contents of a variant?
    Any suggestions / pointers would be a great help.
    Thank you.
    Regards,
    Sud.

    Hi,
    Did you find somethings? I have the same issue.
    I would like to add some new fields on Dynamic Selection screen of QE51N.
    Thanks in advance.
    KR,
    Arnaud

  • App-V 4.6 Content Paths

    Hi
    I have a question about App-V content paths using the 4.6 SP2 native infrastructure. From the App-V Management Console we have to configure the Default Content Path, then for each individual application we can configure OSD and icon paths. Additionally there
    is the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SoftGrid\4.5\Server\SOFTGRID_CONTENT_DIR key.
    What do each of these paths do in relation to each other? I.e. what is the difference between the Default Content Path and the SOFTGRID_CONTENT_DIR registry Key as I believe these can be set independently? Does the Default Content Path just dictate
    what is pre-filled into an individual application's path fields when it is initially created? When a client attempts to read an application's OSD, presumably this is always from the path specified in the individual application in the console?
    The context of the question is that we have two App-V streaming servers and RTSP traffic is directed to a Microsoft NLB namespace that translates to both servers. The content share on the secondary server is replicated from the other one by DFS-R. The problem
    I have is that DFS-R often takes a long time to copy the SFT files over to the secondary server, particularly if they are large in size. I'm assuming this is due to some hashing process going on as it certainly takes much longer than just copying the data
    across manually. This causes problems as if I'm testing a new package and having to upload various new revisions, or indeed just trying to publish a new version of an app that I've finished testing, it can take a long time for the SFT file to become available
    on the secondary server.
    I've set the ApplicationSourceRoute registry key on clients to the NLB namespace for resilience. My thoughts were that when initially testing a new app or update that I could manually change the OSD and icon paths from the default of the DFS namespace to
    that of the primary server. But it's not the OSDs that are the problem, it's the SFT files and presumably, being as I've set the ApplicationSourceRoot key to the DFS namespace, clients could still contact either server to try and stream content.
    I wondered if anybody else has had similar problems with DFS-R and had any suggestions for how to work around the problem and maximise availability? 
    Thanks

    Hello,
    You stated the OSD / Icon-files were not experiencing the problem?
    You can use ISR / OSR to set an override-package on a per-client basis. See this ADM-template walkthrough;
    http://kirxblog.wordpress.com/2011/04/13/app-v-client-configuration-with-admx-template/
    Nicke Källén | The Knack| Twitter:
    @Znackattack
    Hi
    Apologies, I probably wasn't very clear with my last comment. What I meant was, I can only dictate where OSD and Icon files are loaded from on an individual package basis (hence they aren't a problem). I can't do the same for SFT files as they'll be dictated
    by the registry path on the server.
    I can set the ApplicationSourceRoot key on a test client to use the primary (non DFS) server (as opposed to the NLB namespace) for testing purposes, but presumably since the SOFTGRID_CONTENT_DIR key on the server is set to the DFS namespace, it could
    still attempt to stream content from either server. Or does setting this key mean the content will stream from that server irrespective of what's held in the SOFTGRID_CONTENT_DIR key?
    The Microsoft documentation for this, which appears to be limited to this blog article, states that for resilience
    you must set the SOFTGRID_CONTENT_DIR key and the default content path in the console to the DFS namespace. I wondered whether instead of setting the SOFTGRID_CONTENT_DIR key to the DFS namespace on each server, I could set this to the UNC path of
    the content share on each server respectively. Being as there's only two servers in the replication group, and in the event of one of them failing it won't be serving any streaming requests, I wondered whether this would be a viable option.
    Doing this (assuming it would work) would still only get me round the problem of testing multiple versions of new packages, I'm still going to have to live with the delay in content being replicated to our secondary server when I publish a new app or an
    update to an existing one.

  • Dynamic web content base on 9i/10g database

    dear all,
    i need to find sample of build dynamic web content base on
    9i/10g database. i remember otn have a sample for dynamic
    web content. but not found in sample code at otn now.
    who can tell me where can find it ?
    best regards
    boris

    See the last section of this link. You will get version specific information.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1013164

  • Dynamic TabbedPanels  Content

    Hello,
    Can uuuuuuuuuuuuuuuuuuuuu helpppppp mmmmmmmmmeeeeee
    pleeeeeeeaassssssssssseeeeee ?
    I want to make my TabbedPanels dynamically.
    For example after every 3 seconds the tab and the
    TabbedPanelsContent changes automatically. It's the same principle
    of the Gallery.
    Is there a solution ?
    Thank u very much.

    Alderaan,
    Have you looked at Content Areas? They would be good for self service management of content.
    Have you looked at some of the content providers for Oracle9iAS Portal? They have dynamic data content portlets available. http://www.oracle.com/portals/partners.
    Rich

Maybe you are looking for