Flash equivalent to refresh pragma (Linux API)

Hi folks,
I'm completely new to flash, just using what can be done with
it on a Linux
machine. Seems to be quite a lot, but of course it's not the
fully featured
API. So please apologize if my question happens to sound
strange to people
being familiar with the original application. :-))
I am already able to play a sound via Flash in the
background. Once, looped
or endless if required. But I would like to play a bunch of
sounds in
randomly randomly order, each one time.
HTML provides the refresh-pragma to reload content after a
defined amount of
time. With a CGI providing the random function, this would
work quick and
dirty. But since the length of a sound/movie differs and the
loading time
is not predictable, this is unlikely to be my choice of final
solution.
Is there a way to define in Flash what to do at the end of a
movie/sound,
e.g. like the mechanism a DVD makes the player load the next
part of a
movie at the end of the actual one? I have read about action
scripts. Could
it be done with this? Any hint appreciated. :-))
Thanks in advance
Tarper

Hello NG,
I found a workaround for this
[email protected] wrote:
> HTML provides the refresh-pragma to reload content after
a defined amount
> of time. With a CGI providing the random function, this
would work quick
> and dirty. But since the length of a sound/movie differs
and the loading
> time is not predictable, this is unlikely to be my
choice of final
> solution.
A given MP3 file offers information about its playlength in
mm:ss.ss via
mpginfo. This can be calculated to seconds to feed the
refresh tag of the
HTML page the Flash sound-movie gets embedded into. So after
conversion
wav->mp3 this information is available. Converting
wav->swf afterwards, all
it needs to do is integrating the total seconds of playlength
into the
filename of the flash file for further parsing.
Greetings
Tarper

Similar Messages

  • Linux-api-headers & python-imaging upgraded, Xorg fails.

    Hey archers, as the title says, I upgraded. It just asked me to replace kernel-headers with linux-api-headers and to replace php-(something?) with php-input(I think). It may not have been php, but it was something along those lines. Before, xorg wouldn't start, I would login, be flashed with a black screen, and then kicked back to the login screen again. Then I used 'sudo pacman -S slim' Now, Slim wont boot, the log says it's missing a library, and /etc/bin/slim doesn't exist anymore. I would post the logs of Xorg and slim, but i'm using the links browser in the terminal from within my broken system. Xorg complains of something along the lines: {WW}fail Drm device three or four times and then it loads my evdev (_Logitech gaming) mouse, did something along the lines of: {WW}module failed to load before quitting. I'm guessing the problem has something to do with upgrading to the linux-api-headers, since nothing went wrong until I rebooted my computer.
    Last edited by silversnakeeyes (2010-02-11 21:42:20)

    I checked the log, and you're right, it wasn't just the api-headers. What else was installed/removed & replaced:
    lxde-settings-daemon --> lxsession-lite
    pil --> python-imaging (where did I get php-input from?)
    upgraded slim
    upgraded libjpeg
    and the log for Slim(wrote it down this time):
    Dropping Master
    slim: unexpected signal 15
    (EE) intel(0): failed to initialize kernel memory manager
    setting master
    record: extension enabled at configuration time
    record: this extension is known to be broken, disabling extension now.
    record: bigs.freedesktop.org/show_bug.cgi?id=20500
    [config:Dbus] couldn't register object path
    dropping master
    Any ideas?

  • Linux-api-headers broke everything?

    I'm not exactly sure what happened but during a full system upgrade everything stopped working and all commands yielded "can not execute". Pacman.log shows that the last thing it did, infact the only thing it did during that upgrade was install linux-api-headers. Rebooting only provided a kernel panic as "failed to execute /sbin/init: No such file or directory". Any help is gladly appreciated.

    On that note I am unable to chroot into the installation as it gives me the same file not found.error for bash.
    EDIT: I mounted my filesystem, unpacked the latest glibc package and moved every file into it's proper place, and now it works.
    Last edited by milso (2012-01-05 06:57:40)

  • How can I run a Flash Projector(exe) under GNU/Linux without wine?

    I was received a flash on projector type(exe), there's no another swf file on there.
    I'd like to ask: How can I run that on a Linux?
    Thanks for reading and paying attention.

    This sounds like a question for the linux distribution forum that you're using.  The .exe is a stand alone executable, if you can run win32 binaries then you should be able to run this.
    Thanks,
    Chris

  • Can't install Flash plugin on 64-bit Linux (CentOS) system

    Firefox complains:
    "You need to upgrade your Adobe Flash Player to watch this video.
    Download it from Adobe."
    I download the latest version (Flash 11, Linux 64-bit) and placed the "libflashplayer.so" library in the Firefox installation directory and in /usr/lib, but Firefox doesn't see it.
    I've spent two full days on this now. Please help.
    Thanks,
    Steve

    Hello Chris,
    I have the same issue, but I've tried all the options you suggested and is not working either.
    this is what I get when trying to install it, the option you mention before "
    1. Download and mount the dmg from http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.235/install_flash_player_osx .dmg
    2. Right click on the "Install Adobe Flash Player" icon and select "Show Package Contents".
    3. Navigate into the /Contents/Resources/ folder and double click the Adobe Flash Player.pkg file. "
    is not coming up :/
    I will much appreciate your help
    regards

  • Flash Player Crashes in QT linux platform

    Hi
    I have written a small web browser code, which will invoke the youtube  site using NPAPI plugin support. I successfully installed the flash  player. In windows as well as Linux machines .
    In Windows - I can able to compile the program as well as i can able to  see the youtube videos in my machine.
    In Linux- I can able to compile the code but i am not able to run the  browser. Within a fraction of seconds the browser closed as well as i am  getting the following error in the console window.
    (process:11411): GLib-GObject-CRITICAL **: gtype.c:2458: initialization  assertion failed, use IA__g_type_init() prior to this function
    (process:11411): GLib-CRITICAL **: g_once_init_leave: assertion  `initialization_value != 0' failed
    (process:11411): GLib-GObject-CRITICAL **: g_object_new: assertion  `G_TYPE_IS_OBJECT (object_type)' failed
    The program has unexpectedly finished.
    Please any one help me to solve this problem.
    Regards
    A. Peter Jerald

    Here's an experiment I want you to try.
    Go to: [User]/Library/Application Support/Firefox/Profiles (hold the "Option" key when clicking "Go" from the Finder menu to access your [User] Library)
    Copy the "default" profile folder from there to ANYWHERE other than the Firefox folder (a Flash Drive preferably, so you can remove it)
    Trash the "default" profile folder and empty the trash.
    Relaunch Firefox.
    Go to YouTube and play ANY video there.
    If prompted to install Flash Player again do so.
    Let us know if that changes anything.

  • JDev extension SDK: How to refresh navigator via API?

    Hi,
    I'm developing a jdev extension, in which I create some files in the project source folder manually (in file system).
    These changes are not displayed in the projects navigator tree (of course). Is it possible to refresh the navigator view via SDK API, same like pressing the blue refresh-button on top of the navigation area?
    thx,
    Marcel

    Hi Harry,
    Sorry for the delayed response. I'm assuming we are on opposite sides of the world. :-)
    I looked deeper into the method that you pointed out and I've posted an internal question to some of the developers about how to get that TNode. I tried a couple of things myself, but kept running into a dead end.
    You can't get a TNode from the workspace. It has to come from the NavigatorWindow class.
    The Workspace and the NavigatorWindow are two completely different things. One is a representation of the jws and jpr files, and the other is the representation of the filesystem.
    I'm not quite sure that this will really do what you are looking for anyway. While it may refresh the Navigator window, I don't think it will go out and rebuild the tree with whatever is new in the project folder. When I look at the internal code for that Refresh button, it is doing a lot of re-reading of the filesystem and then rebuilding the tree.
    I was able to create my own menu item and have it call the action for the refresh button, but it still requires that the workspace be selected first, so it's in context when the menu us selected. Doesn't quite achieve what you're looking for.
    I'm assuming that you are looking to refresh the navigator window programmatically after you have add one or more files to the filesystem for a project. Is that correct? Just want to make sure I'm working with the same goal that you are.
    I'll keep looking into how this is done with some of our internal wizards. There has to be a way to do it.
    --jb                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Flash cs3 or 4 for linux?

    i know this subject has come up 80 times before, however
    recent news makes me wonder how likely it is that adobe will soon
    release flash for Linux,
    news bit 1:adobe donated code to the Mozilla foundation
    2:with the recent newcomer silverlight not supporting
    Linux-browsers, it seems like adobes best move would be to cater to
    true universal support and the growing Linux market
    3:dells recent Linux endeavour, should be a sign to adobe
    that the market for linux is expanding rapidly on the desktop
    4:adobe joins open source development labs
    it may be wishful thinking on my part but i think adobe is
    seriously considering this

    Hmmm, perhaps they put a *true* minimum spec, and a recommended spec, because when I tried to install CS3 on a computer with 512MB RAM it wouldn't allow the install to go through.
    Glad to hear it worked out for you though!

  • How to add the flash plugin in firefox beta linux x86_64

    Someone give me the solution in a live chat session so I share it here.
    If you are testing firefox under linux (x86_64 in my case) and the flash plugin is installed but not detected by firefox, it's probably because you are testing it in a single user environment.
    For example, you have downloaded and unarchived firefox beta in your home directory :
    /home/toto/downloads/firefox
    And flash plugin was already installed in :
    /usr/lib64/mozilla/plugins/libflashplayer.so
    All you have to do is to create a personal plugin directory :
    mkdir -p ~/.mozilla/plugins
    And then, copy the flash plugin :
    cp -a /usr/lib64/mozilla/plugins/libflashplayer.so ~/.mozilla/plugins/

    A symbolic link to that file should be sufficient.

  • How to partition a USB flash-drive to install Arch Linux?

    Good afternoon,
    Could anyone please guide me in the right direction, how would I go about partitioning my USB flash-drive in order to install Arch Linux onto my Acer Aspire One? I've found guides, but none of them are specific enough - the static assumption being that the OS is already partitioned onto your flash-drive, and that is not the case for me.
    Much appreciated,
    A Swiftly Tilting Planet

    assuming your usb key is /dev/sdz
    # dd if=/dev/zero of=/dev/sdz
    //cleans the usb drive
    # fdisk /dev/sdz
    // press m and read the help, make a partition, make it bootable
    // you have to press (double check anyway):
    // n, p, 1, <enter>, <enter>, a, 1, t, b, w
    # mkfs.vfat /dev/sdz1
    // formatting
    The first passage can actually replaced to something more modest, like:
    # dd if=/dev/zero of=/dev/sdz bs=1024 count=1
    Last edited by ezzetabi (2009-01-03 16:37:04)

  • Flash refuses to Refresh on FireFox

    Hello,
    Having difficulty finding the solution to this problematic issue.
    I've created a Network Menu in Flash that ties all of the sites and pages together. It works fine.
    The problem comes in when running it via FireFox. Safari seems to reloads/refreshes the Flash fine. As does IE on PC. But both PC and Mac refuses to refresh the file if using FireFox.
    But for some reason, FireFox  on the Mac refuses to refresh the Flash file. It keeps showing an older  version that has since been over-written with the updated version.
    I'm posting this thread on Adobe & FireFox threads.
    I just need a solution to this issue. It happens with other Flash files as well. But mostly with Custom Built SWFs
    Thanks in advance.
    The file in question can be found here (There should be more links and a "LIVE" button at the bottom) >> http://www.dovm.org/DOVM_AVP.html

    Hi, you may think so, but I disagree. You don't understand Flash Player and I don't understand Flash nor Custom Built SWF's nor do I know what you mean about a Network Menu in Flash, LOL
    Take a look at the threads that are posted here on the Flash Player Forum, they are about Flash Player. Also, there is a Sticky at the top of the Flash Player Forum :
    Please note that this forum category is for help with the Flash Player and NOT for users seeking assistance with programming Flash and/or Flex. If you are seeking assistance with programming, click here and choose the proper category to post in.
    The Adobe experts on what you do and your problems are not on this Flash Player forum.
    eidnolb

  • No sound in flash after resume from suspend (linux debian)

    Using 10.0.r42, iceweael and linux 2.6.32 kernel.
    If I close the lid on my HP laptop which causes it to suspend, and the resume from suspend, other audio playing programs work, but I cant get any sound from iceweasel/flash until I kill all instances of iceweasel and restart the web browser.
    Is this a bug that is tied to flash?

    What a coincidence, mine is also from scratch.
    Good question about how sound is handled. ldd libflashplayer.so doen't give an answer.
    So somehow xulrunner can catch the sound.
    Libxpcom is linked to libasound. components/libmozgnome.so to libesd in my case.
    Maybe you can try fuser /dev/snd/* to identify which process is locking the device.

  • Adobe flash 10 RC released for linux

    http://blogs.adobe.com/penguin.swf/2008/08/10rc1.html
    YEAHHHHHHHHHH

    skottish wrote:
    fettouhi wrote:
    Is it just me or flash gotten worse and worse since with the releases of the Flash 10 betas and now the RC? Most sites don't recognise that I have flash installed with the latest RC (from archlinux.fr repo) and I can't visit blabbermouth.net anymore (haven't been able to since the stable Flash 9). Under windows flash runs so much better, why does Adobe put a plugin for Linux when it is so buggy and crashy?
    Regards
    André
    I checked blabbermouth.net and Flash is working fine for me. I've seen nothing but memory and performance improvements with Flash with every release. I have yet to find a page that didn't recognize Flash 10, but my Flash usage is fairly limited.
    I just figured out that Adblock Plus was causing the crashes so I uninstalled it. Flash 10 RC seems pretty good at the moment.
    Regards
    André

  • Problem with Arabic text with flash player 10 32bit under linux platforms

    Arabic encoding characters do not show correct in the right form at all linux distributions .
    note: with windows platforms, it shows arabic characters correctly.
    this video contains captions and subtitles, in the attachement two snapshots,
    First, show the arabic sentences in the right form with "swfdec mozilla" plugins.
    The other, show the arabic words with "adobe flash player 32bit" plugins,
    for example: Arabic font enconding cp-1256
    the character ب
      in the beginning of the word " بـ ".
    in the middle " ـبـ "
    at the end "ـب"
    isolated character "not in word "ب"
    the word
      كتب in the right form
    begin from right with " كـ "
    with adobe flash player
    ب ت ك
    it shows from left to right and use only isolated characters.
    I report to adobe and they response
    Hi Ghost,
    Since you do not have a 64 bit machine please proceed to reinstall the
    32 bit edition.
    For the current release version of Flash player 10, it does support
    Right to left, But you can’t use a text field on stage and have it
    work. When authoring the content in Flash cs4, you would have to use
    the Flash text engine. more information on that can be found here:
    http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS6C0BB8ED-2
    Thank you.
    Regards,
    Thomas S.
    Technical Support Engineer
    Adobe Systems, Inc.
    Get the answers you need, when you need them!
    Knowledge Base: <(><<)>http://www.adobe.com/support>
    Support Plans: <(><<)>http://www.adobe.com/support/programs

    I too am having this problem. On all of my linux distributions, including Ubuntu 8.04, 8.10, knoppix 5,1, fedora 8,9,10 flashplayer 10 is broken in the same way.  It reports that it cannot find webcam, and the settings dialog refuses to recognize mouse clicks.  I've poked around the web quite a bit and have not yet found a solution.  I saw the problem mentioned on an adobe bug reporting site and their response was to close the issue saying it wasn't repeatable on their system.  I tried to re-open it and my post was deleted without comment (I may have posted incorrectly or something)
    Looking here  and elsewhere I see that the problem is very common and I don't see any posted bug-fixes, or even acknowledgement that a bug exists.  Has adobe lost interest in being cross-platform compatible?

  • Can't access usb flash drive while running a Linux OS

    Hello, 
    I'm a student taking a UNIX class at a local university.  I downloaded required Linux software for my class, called Knoppix version 4.0.2, on my Toshiba Satellite L305D-S5895.  The program runs fine but I cannot save the script I create to my usb flash drive.  The flash drive is a 4Gb Sandisk.  The light comes on the flash drive when plugged in but no icon is displayed on my desktop and the Knoppix OS won't recognize the flash drive.
    I've discussed this problem with my Instructor and he can't identify what's causing the problem.  I've ran the Knoppix software on a friend's computer and it runs and recognizes my flash drive fine.  So the disk is good.  I've searched on the Internet and have had no luck discovering a solution.  I'm thinking now the problem could be with my processor, AMD Turion 64 X2.  But, I've been reading online, other computer users with an AMD Turion 64 X2 are having no trouble running Knoppix OS.  Below are the Knoppix system requirements and what is loaded on my computer.
    Knoppix system requirements:
    Intel processor (i486 or later)
    32 MB of RAM for text mode, 64 MB for graphics mode
    Bootable CD-ROM drive
    Standard SVGA compatible graphics card
    Serial or PS/2 standard mouse
    My system:
    Toshiba Satellite L305-S5895
    Model: PSLC0U-01S01F
    Processor: AMD Turion 64 X2 Mobile Technology TL-60 2.00 GHz
    3.00 GB RAM
    32-bit operating system
    Windows Vista Home Premium with Service Pack 2
    Please give advice on what you think could be my problem.
    Thank you,
    Bradley

    Try to manually mount it via Terminal.
    Open Terminal and runs this command.
    >sudo /sbin/fdisk/ -l
    That should list the available disks. They will be sda1, sda2, sda3, sdb, ect. Usually the USB will be sdb if you don't have a second hard drive.
    Now run this command.
    >sudo mount /dev/sd*
    Replace * with what the USB is.
    That should mount your USB

Maybe you are looking for

  • I can no longer use my husband's phone to find mine?

    I have used my husband's phone several times in the past to Find My Phone; and we were prepared to find his the same way... until the updates.  Now, I don't see a way to sign in to the app for my devices on his phone nor the reverse.  Would we actual

  • Smart form in Web dynpro ABAP

    Hi experts,                In my scenario i have to display smartform from WDA. The smartform will show the employee records when i pass PERNR as the input parameter. i have used the following FM's SSF_FUNCTION_MODULE_NAME and CONVERT_OTF. and conver

  • How to set local file copy buffer size?

    Is there any sysctl parameter or any other mechanism to set or change file copy buffer sizes? I'm backing up a huge number of files to a local hard drive connected by firewire, and I'd like to play with file copy buffer sizes for the best performance

  • GL Field Status Validation @ PO Creation

    Hi Gurus, We are facing the issue summarized below:- In FI, itu2019s set up that internal order field as mandatory for GL account 38701404. This is achieved via the field status group at GL account level. However, with indirect procurement, itu2019s

  • Machine authentication with MAR and ACS - revisited

    I'm wondering if anyone else has overcame the issue I'm about to describe. The scenario: We are happily using ACS 4.1 to authenticate wireless PEAP clients to an external Windows AD database. We do have machine authentication via PEAP enabled, but at