Need Your Help with Swapping SWF files

Hello,
I am need to swap Two SWF files. I am acheving this by make
one swf as a holder. call it main.fla main.swf file. Embed that
file into my html document. In that file I placed one button with
the
following action :
on (release) {
loadMovieNum("second.swf", 1);
in that file have a button with action to load the 3rd file :
on (release) {
loadMovieNum("3rd.swf", 1);
by loading them in same level (1) they will replace each
other. My problem is that my SWF files obtain some information
using combination of PHP and XML file. I have noticed when I place
the SWF with it’s required PHP and XML in separate folders
the SWF file is uploaded (swapped) but since the PHP files are NOT
run by the server my dynamically generated XML files are empty and
therefore the uploaded SWF file has not information expect the SWF
file. Is there any way to get round this problem?
Thank you in advance for your help and hope you have a great
day.
Cheers,
Babak

Khoramdin wrote:
> Hello,
>
> I have two separate Flash SWF files which I would like
upload into the same
> HTML file. But I would like to load only one of them at
the time and would
> like to have a Button on each SWF Flash file which
causes the other SWF to be
> loaded.
>
> hmmm.. I am not sure if I managed to make sense. :o) Let
me try it one more
> time. :o) I would like to swap one SWF file for another
SWF file by clicking
> on the buttons which are placed on the SWF files! :o)
make one swf as a holder. call it main.fla main.swf file.
Embed that file in your html document. In that file place
button with the
following action :
on (release) {
loadMovieNum("second.swf", 1);
in that file have a button with action to load the 3rd file :
on (release) {
loadMovieNum("3rd.swf", 1);
by loading them in same level (1) they will replace each
other.
Pretty simple..uh ?
Regards
Urami
Happy New Year guys - all the best there is in the 2006 :)
<urami>
http://www.Flashfugitive.com
</urami>
<web junk free>
http://www.firefox.com
</web junk free>

Similar Messages

  • Need your Help with Swapping SWF File Problem

    Hello,
    I have two separate Flash SWF files which I would like upload
    into the same HTML file. But I would like to load only one of them
    at the time and would like to have a Button on each SWF Flash file
    which causes the other SWF to be loaded.
    hmmm.. I am not sure if I managed to make sense. :o) Let me
    try it one more time. :o) I would like to swap one SWF file for
    another SWF file by clicking on the buttons which are placed on the
    SWF files! :o)
    I was wondering if that is possible or I should think of
    another way to get around this problem of mine.
    Thank you very much for your help and have a great day.
    Cheers,
    Babak

    Khoramdin wrote:
    > Hello,
    >
    > I have two separate Flash SWF files which I would like
    upload into the same
    > HTML file. But I would like to load only one of them at
    the time and would
    > like to have a Button on each SWF Flash file which
    causes the other SWF to be
    > loaded.
    >
    > hmmm.. I am not sure if I managed to make sense. :o) Let
    me try it one more
    > time. :o) I would like to swap one SWF file for another
    SWF file by clicking
    > on the buttons which are placed on the SWF files! :o)
    make one swf as a holder. call it main.fla main.swf file.
    Embed that file in your html document. In that file place
    button with the
    following action :
    on (release) {
    loadMovieNum("second.swf", 1);
    in that file have a button with action to load the 3rd file :
    on (release) {
    loadMovieNum("3rd.swf", 1);
    by loading them in same level (1) they will replace each
    other.
    Pretty simple..uh ?
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006 :)
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • Need Your Help with Loading SWF into another Flash Movie!

    Hello,
    I have created TWO Flash movies. They work just fine
    individually, but I get problem when I put one into another one!
    The main Flash is a Menu and the second one if a Photo Album.
    The Menu is series of animation (Moving Objects) which finally
    comes into rest and create the menu. The photo album is another SWF
    file which is called with in the first Flash Movie (The Menu). The
    SWF file is loaded as follow into the Main Flash.
    MovieClip.prototype.drawRect = function(x, y, w, h) {
    this.beginFill(0xFF0000, 100);
    this.moveTo(0, 0);
    this.lineTo(0+w, 0);
    this.lineTo(0+w, 0+h);
    this.lineTo(0, 0+h);
    this.lineTo(0, 0);
    this.endFill();
    this._x = x;
    this._y = y;
    this.createEmptyMovieClip("mc6", 6);
    mc6.lineStyle (3, 0x000000, 100);
    mc6.drawRect(-77, -17, 20, 20);
    mc6._xscale = 100;
    mc6._yscale = 100;
    loadMovie("photoAlbum.swf", mc6);
    Problem arises when I click on the Play Button of the
    photoAlbum.swf (Photo Album) since the execution of the play button
    causes the Flash starts once again from the beginning of the entire
    Flash Movie (Beginning of the animation creating the menu) and it
    simply jumps into the Firm One of my Flash Movie.
    Could you tell me how I can isulate what is in layer 6 (Where
    the photoAlbum is loaded to) from the rest of my Flash Movie?
    I hope I managed to explain my problem. I would like to take
    this opportunity to thank you in advance for your help.
    Cheers,
    Babak

    Hello Anya,
    I have realized the problem arises from the Wait Function
    which causes the Photo Album to pause for a period of time (Two
    Seconds) once a Photo is fully displayed (I have Fade in/out Photo
    Album). I realized everything works OK once I remove the function
    and rather left the Photos to be flipped without any pausing (This
    is an Auto-loading Album which simply Flips the photos!).
    Here is the Wait Function which is causing all the trouble.
    function wait()
    stop();
    var myInterval = setInterval(function ()
    play();
    clearInterval(myInterval);
    }, 2000);
    Thank you so much for your help.
    Cheers,
    Babak

  • I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980's and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my

    I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980’s and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my own folder and file naming conventions. I currently have over 23,000 images of which around 60% are scans going back 75 years.  Since I keep a copy of the originals, the storage requirements for over 46,000 images is huge.  180GB plus.
    I now have a Macbook Pro and will add an iMac when the new models arrive.  For my photos, I want to stay with Photoshop which also gives me the Bridge.  The only obvious reason to use iPhoto is to take advantage of Faces and the link to iMovie to make slideshows.  What am I missing and is using iPhoto worth the effort?
    If I choose to use iPhoto, I am not certain whether I need to load the originals and the edited versions. I suspect that just the latter is sufficient.  If I set PhotoShop as my external editor, I presume that iPhoto will keep track of all changes moving forward.  However, over 23,000 images in iPhoto makes me twitchy and they are appear hidden within iPhoto.  In the past, I have experienced syncing problems with, and database errors in, large databases.  If I break up the images into a number of projects, I loose the value of Faces reaching back over time.
    Some guidance and insight would be appreciated.  I have a number of Faces questions which I will save for later. 

    Bridge and Photoshop is a common file-based management system. (Not sure why you'd have used ACDSEE as well as Bridge.) In any event, it's on the way out. You won't be using it in 5 years time.
    Up to this the lack of processing power on your computer left no choice but to organise this way. But file based organisation is as sensible as organising a Shoe Warehouse based on the colour of the boxes. It's also ultimately data-destructive.
    Modern systems are Database driven. Files are managed, Images imported, virtual versions, lossless processing and unlimited editing are the way forward.
    For a Photographer Photoshop is overkill. It's an enormously powerful app, a staple of the Graphic Designers' trade. A Photographer uses maybe 15% to 20% of its capability.
    Apps like iPhoto, Lightroom, Aperture are the way forward - for photographers. There's the 20% of Photoshop that shooters actually use, coupled with management and lossless processing. Pop over to the Aperture or Lightroom forums (on the Adobe site) and one comment shows up over and over again... "Since I started using Aperture/ Lightroom I hardly ever use Photoshop any more..." and if there is a job that these apps can do, then the (much) cheaper Elements will do it.
    The change is not easy though, especially if you have a long-standing and well thought out filing system of your own. The first thing I would strongly advise is that you experiment before making any decisions. So I would create a Library, import 300 or 400 shots and play. You might as well do this in iPhoto to begin with - though if you’re a serious hobbyist or a Pro then you'll find yourself looking further afield pretty soon. iPhoto is good for the family snapper, taking shots at birthdays and sharing them with friends and family.
    Next: If you're going to successfully use these apps you need to make a leap: Your files are not your Photos.
    The illustration I use is as follows: In my iTunes Library I have a file called 'Let_it_Be_The_Beatles.mp3'. So what is that, exactly? It's not the song. The Beatles never wrote an mp3. They wrote a tune and lyrics. They recorded it and a copy of that recording is stored in the mp3 file. So the file is just a container for the recording. That container is designed in a specific way attuned to the characteristics and requirements of the data. Hence, mp3.
    Similarly, that Jpeg is not your photo, it's a container designed to hold that kind of data. iPhoto is all about the data and not about the container. So, regardless of where you choose to store the file, iPhoto will manage the photo, edit the photo, add metadata to the Photo but never touch the file. If you choose to export - unless you specifically choose to export the original - iPhoto will export the Photo into a new container - a new file containing the photo.
    When you process an image in iPhoto the file is never touched, instead your decisions are recorded in the database. When you view the image then the Master is presented with these decisions applied to it. That's why it's lossless. You can also have multiple versions and waste no disk space because they are all just listings in the database.
    These apps replace the Finder (File Browser) for managing your Photos. They become the Go-To app for anything to do with your photos. They replace Bridge too as they become a front-end for Photoshop.
    So, want to use a photo for something - Export it. Choose the format, size and quality you want and there it is. If you're emailing, uploading to websites then these apps have a "good enough for most things" version called the Preview - this will be missing some metadata.
    So it's a big change from a file-based to Photo-based management, from editing files to processing Photos and it's worth thinking it through before you decide.

  • I need your help with buying one of your software programs.

    I need your help with buying one of your software programs.
    First of all I do not want to join this “Creative Cloud” for a monthly plan.
    Adobe Illustrator CS6 is what I am wanting but every time I click on the buy button is keeps sending me to a rent page to use but I don’t want this I want to buy it program for my own use. I don’t want to rent it I want to buy it like all the other Adobe software programs that I have bought from you in the past.
    Can you help with problem?
    Tim Adams
    [email protected]

    You can buy CS6 from this page
    Creative Suite 6

  • I need your help with solving a non-standard solutions.

    Hello!
    I need your help with solving a non-standard solutions.
    My name is Andrii and I represent the civil charity. Not so long ago, one man gave us the iPhone 4S (as a donation).
    But later - it became known that this iPhone can not work with SIM cards Ukrainian mobile network operators, as it is blocked by Verizon.
    Is there a way to unlock it with your help, and how it can be done?
    I hope for your understanding and assistance in this matter!
    Thank you.

    Contact a third party unlocking service.
    Purchase an unlocking code.

  • Need your help with the SaveAs function plz

    Good day everyone, 
    I need your help yet again to figure out if what im trying to acomplish is even possible within Livecycle designer.
    My issue is simple in nature, prevent the SaveAs "open window" to show up when they press the disk icon or use the saveAs option from the File menu if some of my fields are not fill-in.
    To do so, i placed the code into the Pre-save area of my form and that code checks if certain fileds are filled-in are not.
    If there not, i want to tell the user to fix this before the SaveAs occurs.
    But right now, the problem is that the "SaveAs open" window shows up FIRST i have to tell where i will save the file and all that good stuff and THEN my code gets activated.
    I was able to create my onw SaveAs button and it works well, the problem is that i want to also capture any save's that are executed around the form (the disk icon, the SaveAs in the FileMenu and the Ctrl+s)
    Is there a way to do just that? right now i would be ok in just being able to tell Livecycle to cancel the SaveAs action if that was possible, but i cant find anyway of doing that neither
    Your help is always appreciated
    Thanx a lot.

    I am having same problem with a 2011 year tax PDF fill in form I JUST got from IRS website.
    The actual form is the 2011 8829.
    I am running Windows 7 64 bit,   Adobe Reader X version 10.1.4.
    After trying to open the doc (nothing displays) I go to properties, and it says ...
    Title:  2011 Form 8829
    Author:  SE:W:CAR:MP
    Created: 12/23/2008
    PDF Producer:  Adobe LiveCycle DSesigner ES 8.2.
    PDF Version:  1.7 (Acrobat 8.x)
    Tagged PDF: No
    Fast Web View:  No
    Yikes ... was hospitalized last year ... now I have 9 days to file.

  • Hello  I need your help with installing the flash drive into my laptop

    Hi
    I am Rachel Friedman asking for your help with installing the flashdrive player into my laptop.
    Thanks
    Rachel

    To give you any useful advice, I'm going to need to know more about your computer and browser:
    https://forums.adobe.com/message/5249945#5249945

  • Absolue beginner need your help with basics of shell / applescript and xode

    Guys,
    I'm an absolute beginner in both xcode and applescript trying to wrap a few shell commands with some basic graphical elements.
    I will need your help after 2 days of tests and un-successful trials.
    Trying to display "$ifconfig en0" shell results into a text box.
    Here is what I'm doing:
    property networkif : missing value
    property dhcpview : missing value
    set the dhcpview to do shell script "/sbin/ifconfig " & networkif
    I can't have this accepted:
    set contents of text field "hmmm" to "DHCP " & dhcpview
    hmm is the name I have set under Interface Builder to a text box (NSTextView object)
    Xcode compiler returns me an error :
    ToolAppDelegate.applescript:99: error: A “"” can’t go after this identifier. (-2740)
    Command /usr/bin/osacompile failed with exit code 1
    while doing this is absolutely working but on a separate popup window:
    display dialog " Here is your IP address in ALU's network: " & dhcpview
    I have no clue what I'm doing wrong.

    It looks like you are trying to use *AppleScript Studio* syntax in an AppleScriptObjectiveC project - the way you connect the user interface items to your script is different in the new framework. If you are creating a new ASOC project, take a look at MacScripter's entry level tutorial AppleScriptObjC in Xcode for some examples.

  • Hi guys, need your help with iCloud notes on Mac 10.7.5; I've found this feature's more useful comparing with stickers, however can't pin notes to desktop or dock, "double click"on the note doesn't work with this version of software.

    Hi guys! Need you help with iCloud Notes on Mac Pro 10.7.5. I've found this apllication more useful comparing with "stickers", however can't pin it to desktop or dock. Thanks a lot in advance!

    Hi guys! Need you help with iCloud Notes on Mac Pro 10.7.5. I've found this apllication more useful comparing with "stickers", however can't pin it to desktop or dock. Thanks a lot in advance!

  • [Need help with a swf file]

    Hello,
    I need help with a flash demo that I am creating. I have a
    main swf file that contains links to other sub swfs that I have
    created. What I really want this to do is... when I click on one of
    the link on the browser, the other swf have to load in the window.
    I tried to code it with .loadMovie,.... but for some weird reason,
    it is not showing up.
    Can anyone help me on this?
    Thanks

    you might have a security violation and you do have a
    load-target issue. remove that "_parent": there's no 2nd parameter
    in the loadMovie() method.
    if you want to replace the main swf with that url, loading
    into _root is fine. otherwise, you want to use a different
    target.

  • Need help with combining swf files together

    Hi Everyone
    I have problem with my project.
    I created several SWF files, now i want them to interact with each other
    So there is main SWF file lets call it:
    main.swf
    then within that file(main.swf) i would like to create buttons which will be calling other swf files for instance by pressing one button one.swf will be open by pressing other button two.swf will be open and so on.
    Then I would like to create buttons within one.swf and two.swf which will allowed to go back to main.swf
    If someone could help me how to do it I will be grateful.
    AS2.0 i am working with
    many thanks

    thanks for quick respond
    So the first of all my main.swf would load, within it i would have a button. If i click on button will take me to frame 40 ( just example ) where i will have this.loadMovie("first.swf"), when this file will be loaded i want to have other button with in the first.swf which will take me back to main.swf and now you are suggesting to use this.removeMovie("first.swf")?
    I am not sure if i got you answer right
    Thanks again for help i am quite new to ActionScript as you can tell.

  • Full screen with swapping swf file

    I am creating a projector presentation in which a swf file is
    being loaded (loadmovie) and replacing the currently running one.
    And I have the movie set to be full screen mode (both movies are
    set to that using the fscommand). The problem I'm having is that
    once the new movie is loaded, it goes from being full screen (movie
    is not being scaled, so there's black behind it) to jumping into
    the left hand corner of the monitor at the movie's size. It still
    kinda acts like it's full-screen, there's no menu items and no
    window frame.
    Any idea what's going on here, and better yet, how I can fix
    it?
    thanks for your help.

    Don't load external files into _level0 or _root.
    Replacing the main swf with another is not a good practice.
    There are a few other examples of problems caused by this.
    AFAIK this only happens on the Mac platform. Is that what you
    are using? Also I don't think there is any other solution. If
    anybody knows anythings else, please let us know.

  • Help with inserting SWF file into .html page

    I created a photo gallery in Flash CS5.5, using the advanced photo gallery template. It works fine as a standalone SWF file but it's not displaying properly when I try and insert it into the Gallery page of my website.
    The thumbnails are showing as blank white boxes and the main image holder isn't showing at all, though the controls beneath it are showing. The SWF file and all the images are stored in site/images/gallery/ and my Gallery page is in the root. What's going on here? Can anyone help please?
    Thanks

    If you are storing any of your Flash assets in sub-folders and having problems... it's most likely because of pathing problems. For review:
    Pathing issues
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    What it boils down to is that you need to path the Flash assets from the Web page that you place the main .swf on... NOT the physical location of the .swf
    Best wishes,
    Adninjastrator

  • I need your help with pixels!

    I recently upgraded to PSE9 from PSE6 for Mac.  When I work, I start with a document set at 100 ppi because I will be saving it for web applications.
    With the previous program, I could layer files on this document that were 300ppi and they would size beautifully on the document. I would actually need to make them larger. Now when I layer a 300ppi image on top of my 100ppi document, the image is HUGE and I have to shrink the document way down in order to find the resize boxes to make it fit. Is there something I can do to make these 300ppi images not show up in their actuall size on a document that is only 100ppi???
    Thanks for your help!
    Karen

    I recently upgraded to PSE9 from PSE6 for Mac.  When I work, I start with a document set at 100 ppi because I will be saving it for web applications.
    With the previous program, I could layer files on this document that were 300ppi and they would size beautifully on the document. I would actually need to make them larger. Now when I layer a 300ppi image on top of my 100ppi document, the image is HUGE and I have to shrink the document way down in order to find the resize boxes to make it fit. Is there something I can do to make these 300ppi images not show up in their actuall size on a document that is only 100ppi???
    Thanks for your help!
    Karen

Maybe you are looking for