LoadMovie without having to use full path/URL

I've always used loadMovie to call external swf files from a
main/menu swf file, but it seems that some new security settings
and restrictions, I'm not able to do this anymore - at least not
online. All my swf files are in the same directory, and when I play
the swf locally, it loads all the external swfs without a problem.
I tried changing the path to my swf in the loadMovie command
to the pull path on the server, and this worked. The problem is, I
have to hand off my website to another company, and it will go
through many rounds of testing (and servers) before eventually
going online. Is there any way to avoid having to use the full
path/domain in the loadMovie command for a situation like this
where the domain/path will change?
I have this in the Flash embed tag:
<PARAM NAME="allowScriptAccess" VALUE="sameDomain" />
I have this as my loadMovie command:
loadMovie ("flashfile.swf", 1);
But it only works when I have it like this, which is a
problem because the URL will change many times before launch.
loadMovie ("
http://www.website/media/flashfile.swf",
1);
Any help would be appreciated!

Yes, I've done this all the time too, and never had this
problem, which is why I'm stumped.
I've changed my code to this, with module_proxy being an
empty movie clip. This works. But when I take out the URL and path,
even though the swf files are in the same directory, it's doesn't
play.
loadMovie ("
http://www.website/media/01_Mixie_Pixie_Telegram_Service.swf",
"module_proxy");
_parent.gotoAndPlay("dim_menu");
//openCountdownFile();
stop();
Then, I tried to create a varible for the URL/domain, so I
can change it out more easily (although when I hand this off, I
won't be able to do that):
var domainPath = "
http://www.website/media/"
function (openCountdownFile){
var linkToSWF = domainPath + eval(PgFile[item_chosen]);
loadMovie (linkToSWF, "module_proxy");
parent.gotoAndPlay("dim_menu");
var swfPageLabel = item_chosen.toString();
gotoAndPlay(swfPageLabel);
This doesn't seem to work either. So, if swf files SHOULD be
able to communicate using loadMovie, why am I having this problem?
Thanks.

Similar Messages

  • Discoverer URL - Hide password without having to use public connection

    Hi,
    I would like to call Discoverer Viewer without having to expose the schema password and without having to use public connections. Is this possible? Disco Viewer is called directly from my application, with custom authorization and authentication. I do not want to expose reports to the public by creating public connections.
    TIA.
    Tamas

    Hi,
    If you use an HTTP Post in your application to pass the viewer URL to the Discoverer server then you can supply the password as a hidden input that will not be visible to the users.
    Rod West

  • How can i remove pictures from my droid turbo without having to use the touch screen on the phone at all?

    how can i remove pictures from my droid turbo without having to use the touch screen on the phone at all?  my screen is cracked and i am waiting on a replacement phone.  as far as i can tell in order to access the phone storage through my computer, i have to use the touchscreen to enable it so that the computer will see it as a camera.  I can't do that as the top half of the touschscreen is unresponsive.  any suggestions?  teaches me to use the backup services offered in the future, but i still need a short term solution for this time.

        I'm sorry to hear your screen is cracked spence425. I know its difficult to use the phone while its damaged. I'm happy you are receiving a replacement device. Have you saved any of your pictures and other data to the cloud? Here is a link about the cloud http://vz.to/1mF0GIx . Unfortunately, you will be unable to remove any data from the phone if the screen is unresponsive but if you are looking to transfer data to your new phone, it would have needed to be saved via the cloud first. Keep us posted.
    Kinquana_VZW
    Follow us on Twitter @vzwsupport

  • HT3819 Can I authorize mulitple apple ids on the same device so that what is purchased on either account will be loaded in both devices without having to use the same ID?

    Can I authorize mulitple apple ids on the same device so that what is purchased on either account will be loaded in both devices without having to use the same ID?
    My wife has a laptop and an iphone 4s, I have a laptop and and iphone 4s, our two sons have our old iphone 3s, we have an old laptop for our sons to use.  Our old iphones for our sons are deactivated as phones - so they are used as i-touches for songs, pictures and aps.  I want to use icloud (which I'm new to) to hopefully have all four iphones and all three computers stay synced with at least music - if not aps and pictures.  My wife has an apple ID and I have one.  I'd like to authorize all three laptops for both apple IDs so that we will still have our own accounts, but everything either of us buys will be automatically loaded into all three laptops and all four iphones.  Can this be done?
    Thanks,
    sstultzcostello

    Each person in your home can have their own Apple ID provided it is tied the their own separate email address.
    iTunes permits up to five authorized computers connected to a single Apple ID: iTunes Store- About authorization and deauthorization.
    For this all to work well, however, each user in your household should have a separate user account on the computer they commonly use.

  • I recently bought a macbook pro and i made a new apple id. my last macbook had a different id as well and i was wondering if there's a way of transferring all my music from the other laptop to the new one without having to use my old apple id?

    i recently bought a macbook pro and i made a new apple id. my last macbook had a different id as well and i was wondering if there's a way of transferring all my music from the other laptop to the new one without having to use my old apple id? if it makes any type of difference i have an iphone 5 so i tried transfering the music but it only transfered certain things and not my entire album.

    Making a new Apple ID was the worst thing you could of done. This is very bad to do. Not sure why people do that. Your Apple ID is Your Apple ID. You only need one and it is best to only have one Apple ID for all apple devices.
    Sorry I don't have any suggestions for you.

  • Is ther a way to send music to multiple airplay speakers on my ipad without having to use itunes

    Hello all, l have a question that relates to air play and my ipad 4.
    ls there a way to send music to multiple airplay speakers with my ipad 4 without having to use itunes as the master controller on my other PC. l know it is possible with itunes, but surely the ipad should be able to play to more than one airplay device at a time, we are living in the year 2013.
    Is there an alternative and if there is not, could someone please explain or point me in the wright direction why it is so!
    Thank you all in advance for your comments

    Yes there is and I'll be happy to email you how. [email protected] is my address.

  • Can you use Crystal Reports on a webpage without having to use session?

    In all of the examples I have seen it shows using the session to store the reportdocument object between postbacks.  That means that clicking the page buttons fires a postback.  Other reporting tools such as PDF, ActiveReports, and others do not have to do this.  Is this a limitation of Crystal and a COM backend or is it just a common sample and not the only option? 
    How do you get paging to work without having to use session and do postbacks?  AJAX, Javascript, converting to a PDF, etc. would all be possible ways to not require a postback.
    My problem is that I am using SQL Server to store the session and the reportdocument object is not serializeable.  I have been told I can buy Crystal Report Server for $5000 and this will work.  But in reality I can buy other reporting tool for $500 or convert them to SQL Reporting and it will work as well.  So I am trying to be reasonable and figure out what I need to do.  That seems like a bit much to need a whole server application to serve the reports just to turn on paging for a couple of simple reports.  I'm hoping there is a way to not use session to get paging to work. 
    I have consider pushing the report into viewstate and not session.  But I would rather not push it into either.  Is this a valid option? 
    What is the typical way to handle this sort of thing?  Do you really have to push it into session to get the CrystalReportViewer control to page on an ASPX page.  What other options are there?   
    Any suggestions, thoughts, or ideas would be very much appreciated.  This is causing enough of a problem where the company is asking me to look at alternatives if we cannot solve this. 
    Best regards,
    Jon

    Acrobat doesnu2019t cause postbacks when paging because the acrobat reader installed locally, so its viewing is in a client-side control.  I imagine the same thing is the case for ActiveReports (some sort of client-side activex control installed). 
    If the winform viewer was used on in your web page, then you wouldnu2019t get postbacks either, but then you'd need Crystal Reports runtime on the client to view in that control. And placing a winviewer in a web page give me shivers...
    So, to avoid  using session, recreate the reportdocument and re-load the report on postbacks.
    As Surabh mentioned, you can serialize the report but you will have to use teh InProc RAS. There is an issue thought; you start to get load errors and otehr errors after viewing 3 reports. I belive this has been reported to R&D for a fix  comment, but I do not have and ETA at this time. The code for the InProc RAS SDK would be as follows:
               If Not IsPostBack Then
                Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                Dim boReportClientDocument As CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument
                '           rpt.ReportAppServer = "Inproc:multithreaded"
                rpt.Load("c:inetpubwwwroot     estSerializeInprocRASEmployee Profile.rpt",
               OpenReportMethod.OpenReportByTempCopy)
                boReportClientDocument = rpt.ReportClientDocument
                Dim x As String = boReportClientDocument.DataDefController.Database.Tables(0).Name
                '     boReportClientDocument.DatabaseController.logon("sa", "admin")
                Dim convertUtil As New CrystalDecisions.ReportAppServer.Utilities.Conversion()
                Dim serializedDoc As String
                serializedDoc = convertUtil.ToString(rpt.ReportClientDocument)
                Session.Add("SerializedDoc", serializedDoc)
                'ViewState.Add("SerializedDoc", serializedDoc)
                Response.Write("The document has been serialized.")
                CrystalReportViewer1.ReportSource = boReportClientDocument.ReportSource
            Else
                Label1.Visible = False
                Button1.Visible = False
                Dim x As String
                x = ViewState("SerializedDoc").ToString()
                Dim deSerializedDoc As ISCDReportClientDocument
                Dim convertUtil As New Conversion
                deSerializedDoc = convertUtil.ToReportClientDocument(Session("SerializedDoc").ToString())
                'deSerializedDoc = convertUtil.ToReportClientDocument(ViewState("SerializedDoc").ToString())
                CrystalReportViewer1.ReportSource = deSerializedDoc
                Response.Write("You are viewing a de-Serialized report" & "<BR>")
                Response.Write(ViewState("SerializedDoc").ToString())
            End If
    [1542991 - How to serialize the ReportClientDocument using the RAS .NET SDK?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343332333933393331%7D.do]
    - Ludek
    Edited by: Ludek Uher on Dec 9, 2011 11:16 AM

  • Is it possible to set a song in my itunes library as a ringtone straight from my phone, without having to use my computer?

    Is it possible to set a song in my itunes library as a ringtone straight from my phone, without having to use my computer?

    Hi,
    According to your post, my understanding is that you want to make the Workflow Tasks work out with a pre-determined due date that it's 2 days from today in your client list workflow.
    I recommend that you can create this client list workflow as below in your environment.
    Then, you can go to “Start Options” to check “Start workflow automatically when an item is created”, publish this workflow and test if it works.
    When an new item is added in the client list, its corresponding Workflow Task is shown as below:
    Best Regards,
    Yumi Fu

  • Is it possible to burn onto CD a 1hour voice recording recorded via your ipod2 directly to a USB external hardrive CD burner attached to your ipod via USB, without having to use itunes or be online (wifi).

    Is it possible to burn onto CD a 1hour voice recording recorded via your ipod2 directly to a USB external hardrive CD burner attached to your ipod via USB, without having to use itunes or be online (wifi).
    i would like to reduce my carry load when traveling abroad with work, and if this did work then great no more lumpy laptops Mmmmmmmm nice.

    No, you cannot do that at this time.

  • Delete on key board stopped working. I have been using fn-delete and shift-delete. Any solution to resolve this without having to use fn/shift??

    delete on key board stopped working. I have been using fn-delete and shift-delete. Any solution to resolve this without having to use fn/shift??

    Yes but there's no point doing it here. As the Terms of Use make quite clear this is a User to User forum. It's Users like you talking to other Users. It's not a channel to communicate with Apple.
    Regards
    TD

  • How to verify my app store account without having to use a credit card ?

    How to verify my app store account without having to use a credit card ?

    - Whenn Yhuu First Gett A Iphonee &&'d Wanna Set Uhpp A App Storee Account Will Thee Credit Card Stuff Bhee Ohnn There ?'. &&"d Do Yhuu Havee oo2 Confirm Thee Apple Account From Yahoo .com ?'.
    Some Plz Help Lbvs I'vee Madee Likee 5 Alreadyy Ihmm Neww Do Ihtt '.

  • Multi row edit without having to use htmldb field

    Hi guys,
    a question: have someone ever implemented a multi-row edit report, like the one on Oracle HTML DB Handbook, without having to use htmldb field?
    If so how? Only describe the steps or provide me some links. I think is enough.
    Other little question:
    When you use the syntax like:
    htmldb_application.g_f05(i) (inside a for loop), can i use another naming style instead of using gf05 ?
    Let's assume that g_f05 is sal, for me would me more clear use a synthax like htmldb_application.sal(i).
    I think would be a good improvement in the future version of APEX.
    I
    thank you very much

    hey,
    i think that what i saw in the sample application / section admin can't work for my needs, such i'have a quite complex query (pl/sql f body ret sqlquery).(infact the demo is based on a simple query, while i need to use a psqlf.b.r.q)
    However what i need is only a row selector, using a report based on a psqlf.b.r.q.
    By me i've to use the htmldb_item.
    Maybe for my purpose a collection can simplify the problems, however this is briefly what i'm trying to do:
    I've 2 set of data.
    D1 and D2.
    D1 is based on complex filter(which i think it can't be managed from a normal query at all / you have to use pfbrq)
    D2 is not(quite simple).
    D1 AND D2 have the same type and nr of columns.
    The user can choose from a radio group this 3 mode of view.
    1 - The user see D1 (UNCHECKED) UNION D2 (CHECKED).
    2 - The user see only D2. CHECKED.
    3 - The user see only D1 UNCHECKED.
    Both D1/D2 can be displayed in the same report.
    If Data of D1 are already in D2 they are checked.
    (i think here a not in select can do quite well the job).
    Hope that somebody understand what i've tried to explain, or maybe has had the same type of problem.
    Thank's a lot
    Message was edited by:
    Marcello Nocito
    Message was edited by:
    Marcello Nocito

  • Can you purchase older versions of adobe products without having to use Creative Cloud?

    I think it's because of security reasons or the firewall, my work won't purchase Creative Cloud. So I was wondering if you can purchase adobe products like After effects without having to use Creative Cloud?

    Yes Creative Suite 6

  • I am looking for a way to automate index creation using Adobe Reader Pro without having to use the screen user interface, as the indexing has to be run by a batch process.

    I am looking for a way to automate index creation using Adobe Reader Pro without having to use the screen user interface, as the indexing has to be run by a batch process.

    [discussion moved to Creating, Editing & Exporting PDFs forum.]

  • How can i mirror an iPad 2 without having to use a TV?

    I am trying to find a way to use airplay to mirror an ipad and view on apple tv but without having to have a huge HDTV.  I would liketo be able to "see" how an educator uses an ipad 2 during instruction from the back of the room.  I was thinking that if you can use a portable monitor "hook up" to Apple TV I would be able to use Airplay as long as the portable monitor had an HDMI input? 
    Is this possible?  Is there a better way?
    Thanks in advance.

    pinkapalooza159 wrote:
    I am trying to find a way to use airplay to mirror an ipad and view on apple tv but without having to have a huge HDTV.
    As long as the display has an HDMI input, you should be able to connect an AppleTV 2 to it.

Maybe you are looking for

  • When copying a chart, title is not included

    I created a line chart in Numbers. The chart includes a title. I right-click the chart and click Copy. I open Preview and select File > New From Clipboard. The chart is pasted, but does not include the title. Is this a bug in Numbers? Or do I need to

  • BDB3017 error

    Hi, I'm trying to change default page size (16K on my system) using set_pagesize method of Db class. But any values greater than 16K causes the following error during execution of my code BDB3017 unable to allocate space from the buffer cache Abort (

  • HT2486 add relationship to address book

    How do you add your relationship to the contact on your address book, like your daughter,husband etc?

  • HELP!!! Upgrading from Snow Leopard to OS X Maverick

    I'm trying to upgrade my Macbook Pro from Snow Leopard to OS X Maverick. I downloard the Maverick and in the process of installing it but then during the installation an error message popped out " OS X upgrade couldn't be started because the disk Mac

  • Ss d boot drive for Mac pro

    which graphics adapter for MacPro 1.1 running cs6