How can I get a swf file to load...

Not sure if this is the place to ask this question but I have a swf file embeded in a design of web pages.

Now, here is the question, the customer wants to add more photos making even greater.

I prefer not to expand it, but create 2 or 3 swf files that load randomly when the Web page is refreshed or reloaded.

Is it possible to encode a swf random loading in HTML?

Can I use javascript? I googled and found nothing on the subject.

Thank you

You can have the html code of the page that names the file written dynamically (I would use PHP instead of javascript if it is supported).

Alternatively, you can have a swf that loads another swf from a list of choices randomly.

Another approach would be to a swf file to dynamically load all the photos so that the size is not a factor.

Tags: Adobe Animate

Similar Questions

  • How can I get the SWF file to send a variable in HTML file

    I'm new to flash and trying to figure out how it works. I have a task to upgrade a website. I have a map of ND with a few cities on it. I needed to add a new city to the SWF that does not seem to be hard (asuming I did correct). Action on all buttons for each city we the same except the name after the # is the selected city.

    (release)
    {
    getURL ("locations_info.html #minot", "location_content");
    }

    In the code HTML snip that controls that looked like this:

    < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase =" " http://download.Macromedia.com/pub/Shockwave/cabs/Flash/Swflash.cab#version=7, 0,19,0 "width ="627"height ="400"> "
    < param name = "movie" value = "flash/map.swf" >
    < param name = "quality" value = "high" >
    < embed src = "flash/map.swf" quality = "high" pluginspage =" " http://www.Macromedia.com/go/getflashplayer "type =" application/x-shockwave-flash"width ="627"height ="400"> < / embed > "

    < table >
    < /tr >
    < b >
    "< td align ="left"valign ="top"> < IFRAME src ="locations_info.html"name ="location_content"width ="627"height ="190"scrolling =" "frameborder ="0"> < / IFRAME > < table >"
    < /tr >
    < /table >
    < table >

    capture from the file locations_info.html looks like:

    < b >
    < td align = "left" valign = "top" > < table width = "687" border = "0" cellspacing = "0" cellpadding = "10" >
    < b >
    < td align = "left" valign = "top" > < class p = "maintext12" > < / p >
    "< class p ="maintext12"> < strong > < a name ="minot"> < /a > Minot/Home Office < facilities > < br >".
    408 20th Ave SW, Suite 101, Minot, N.D. 58701 < br >
    Main line: (701) 852-5383 < br >
    Phone toll-free: (800) 735-4955 < br >
    Fax: (701) 852-6272 < br >
    Opening hours: Monday - Friday 08:00 to 17:00 < /p >
    < p > < / p >

    Can someone help me understand how when I run the present of my system it should load and process information for the correct city since the locations_info.html file but it doesn't. Nothing shows...

    Jeanne

    If all the other directives getURL() in the film use the same syntax for the named anchor link so that part should be OK. In the html document, locations_info, even once, if all named anchors look like the one you listed, then you can just need to clear your cache to get the new anchor to work.

    The anchor name = "XXX" is to be depricated in some browsers. You can use id = "XXX", or both, instead. Although if you're working, they should all work.

  • I need a file to an exact width and height and it must be in png format, because it allows to translucency. My graphics are only the top of the page and when I export only the graph is not exported the entire file. How can I get the entire file to ex

    I need a file to an exact width and height and it must be in png format, because it allows to translucency. My graphics are only the top of the page and when I export only the graph is not exported the entire file. How can I get the entire file of export including blank parts?

    in the export dialog box, you have chcked 'use of work plans? ''

  • How can I get my RAW files to open in photoshop?  I use a Sony Alpha NEX - 7 shooting JPEG and RAW.  Open end JPEG but RAW only.

    How can I get my RAW files to open in photoshop?  I use a Sony Alpha NEX - 7 shooting JPEG and RAW.  Open end JPEG but RAW only.

    This camera is supported in Camera Raw 6.6 and newer. This means that you need to Photoshop CS5 or newer version to have the support of the camera. What version of Photoshop are you using?

  • How can I get an AI. file? I did a drawing for a company who would like to use it on a shirt. But they need the file I. I did it with adobe illustrator for ipad.

    How can I get the AI. file? I did a drawing for a company who would like to use it on a shirt. But they need the file I. I did it with adobe illustrator for ipad.

    In Illustrator, Draw, you can send your Illustrator drawing on your desktop. Then save it from there.

    You need Illustrator CC on the desktop to be able to.

  • Try installing Acrobat 8 Standard on PC with Windows 7, 64 bit. During the installation I was asked to provide "files Adobe PDF.dll for Windows Vista. How can I get the required file?

    I'm trying to install Acrobat 8 Standard on a PC with Windows 7, 64 bit. During installation, you asked me to provide 'File PDF.dll Adobe for Windows Vista'. How can I get the required file?

    Hi Alan Horan.

    This link appears corresponding to your query, please visit this link ( error "the file AdobePDF.dll is needed" |) CS3 | 64 - bit Windows ) and let me know if you face any problem.

    Kind regards
    Rahul Tyagi

  • I just bought Elements 8 online. How can I get the exercise files? Thank you!

    I just bought Elements 8 online. How can I get the exercise files? Thank you!

    Do you mean the exercise files that are given with PSE8 box?

  • How can I get the .psd files to overprint in Illustrator cs5?

    Hello

    I have a client Illustrator file.  It has a placed image .psd (flower) and they did an another psd file as a strong support of the form even color of the flower psd. The solid is where a spot vanish will be printed on top of the flower.  How can I get the solid spot psd to overprint so that I can make a single pdf with all 4 color an tone?

    Thank you

    Thanks for the input guys.

    What I could do was select the image in Illustrator, make vectorization, remove white background, complete with the image with the color of the task vanish and place it to overprint.

    The goal was to get a pdf file that included the four colors and spot varnish without anything to be eliminated.

  • How can I get the configuration file for installed software to the other PC

    Hello

    My car is Zion & I'm managing the all COMPUTER software & hardware requirement, my request is that if I go to the option of payment, how can I get license information and the invoice of Adobe and can you install the software in different PC.

    I am not able to contact by phone if possible please contact me or send me email with the solutions.

    Thanks and greetings

    Executive Shaikh

    [personal information deleted - mod]

    Hi Rafiques27191756,

    Looks like you ask for assistance with a volume license. If this is the case, information about purchase of Adobe programs are available here: Adobe licensing, discounts | Adobe purchase programs. If you buy a volume license, you will be able to view and manage your account as well as learn how to deploy the software on different PC on the Site Web of Adobe License. In the meantime, you can get individual help in contacting customer service by using cat.

    In case you have any questions about the purchase and deployment of a volume license, I'm moving this discussion to the deployment to the Cloud, business, & CS creative team. If you are interested in individual licenses instead, please let me know and I will move the discussion in a more appropriate forum... For the record, every single license can be activated on up to two computers.

    Let us know if we can provide more information or assistance.

    Best,

    Del

  • I get the object already exists when loading Adobe. How can I get rid of it and load Adobe Reader

    How can I get rid of i t and get Adobe Reader again.

    Update of Windows KB2918614 to the Windows Installer Service because of similar problems with other software.  You might want to try to remove this update (it will be installed near the time you started to have this problem).  Restart and try again to install the Adobe application.

  • How can I get the width of a loaded swf scene?

    Is it possible to get the real of a loaded swf stageWidth?

    The problem comes when the loaded swf file has some items off the stage. In this case content.width becomes bigger then the scene.

    My code looks like this:

    var request: URLRequest = new URLRequest (file.url);

    var loader: Loader = new Loader();

    Loader.Load (request);

    loader.contentLoaderInfo.addEventListener (Event.INIT, CaseTailleAuto);

    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, addImg);

    private void checkSize(e:Event) {}


    That's where I need to see the width of my loaded swf

    trace (e.Target.Content.Width);

    }

    private void addImg(e:Event) {}

    trace ("complete");

    }

    Thank you

    Andrei

    I don't think you can get the width of the stage of the loaded file, unless you assign it as a constant somewhere in the file.  The loaded file loses its stage when it is loaded into another swf

  • How can I get data (txt file with data from the 5 sensors) in a graph?

    I have a txt file that reads

    time, data1, data2, data3, data4, recentes5, yes/no

    example:

    0,450,427,421,480,622,0
    4,561,513,478,466,540,0
    8,547,531,510,492,515,0
    12,528,524,513,495,525,1
    36,531,524,515,505,534,1
    65,537,528,519,511,539,1
    

    Where the last song realates to a buzzer

    I need a chart that shows all 5 data point (so a graph with 5 lines)

    How can I do this?

    Also, is there a way to show the Yes/No part in LanView?

    Here it is:

    It's very simple.

    1. open the text file in a spreadsheet file.  You can connect a control of path or if left blank, it will prompt for a path.

    2. set the comma as separator.

    3. display the values on the graph.

    I just added a digital table indicator so that you can see the values as exactly those of the file.

    To learn more about LabVIEW, I suggest that you try to watch some of these tutorials.

  • How can I get the program files deleted using CD for Windows XP system recovery?

    I used a CD to restore the system to reboot my computer and didn't back up my files.  Can I get back them?  I tried to go to the system restore, but it will not go back to the point before I ran CD.  Any suggestions?  My computer is a Dell Dim4500.

    Hello

    I suggest you to refer to this link and check if it helps:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-system/i-need-to-recover-files-after-a-system-recovery/075fda9e-5398-4AC4-B612-489f90c75a09

    It will be useful.

  • I sent my movie in windows Movie Maker, but it cannot be opened by the recipient. How can I get the supported file types? __

    I have Vista and Windows Movie Maker. I created a movie and he sent an email, but the recipient could not open. The message was that it was an unsupported file type. How can I help them?

    The file is a MSWMM. When I emailed the file to others they cannot open it because the message indicates that it is an unsupported file Type. How can I email the film so that my e-mail recipients can open it?

    ===================================
    The .mswmm file is project Movie Maker file... it's
    is useful for a re-issue of the project.

    To create a file .wmv video that your recipients can view
    You must publish the project.

    Take a look at the following article:

    Windows Vista-
    Publish a movie in
    Windows Movie Maker
    http://Windows.Microsoft.com/en-us/Windows-Vista/publish-a-movie-in-Windows-Movie-Maker John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How can I get all the file in a directory name?

    Purpose:

    Try to get all the file in a directory name.

    My code:

    FileConnection fconn = (fileDirectory) Connector.open (FileConnection);
    Listing files = fconn.list ();
    Listing files = fconn.list ("*", true); Try
    _SCREEN.updateDisplay (files); txt shows unreadable.
    String filename = fconn.getName ();
    _SCREEN.updateDisplay1 (fileName); Show WMMS.

    Try using fileconnection.getName (). -->, But fail.

    Could someone give a tip to solve the problem?

    Thank you for your attention,

    You cannot print just an enumeration.
    It is a collection that contains objects, in this case of strings, as you can see on http://www.blackberry.com/developers/docs/7.1.0api/javax/microedition/io/file/FileConnection.html#li...

    You can use a while construct to browse the enum, as:
    While (files.hasMoreElements ()) {}
    System.out.println (files. NextElement());
    }
    (do not know if you do not cast explicitly to a string for sysout, iirc)

Maybe you are looking for