LoadVariables, works in DE, doesnt work when published

Hi guys,
I need some help with a Flash App I've made, it uses
loadVariables to load in values from an ASP.net page, it works fine
in the development environment, but when I publish the App as a swf
file it doesnt work.
My code is this
loadString = "
http://www.mySite/myPage.aspx?functionId=getQuestions"
+ "&rand=" + randomNumber;
aspxInterface.load(loadString);
aspxInterface.onLoad = processQuestions
the processQuestions function then assigns the returned
fields into flash variables.
I know that the link stored in loadString is correct as I can
go to the webpage and see the variables on there. And I know my
code is right as it works every times when I test the movie in the
development environment.
Does anyone know if there could be anything that changes
between developing and publishing that I am not considering? Or
anything else which might help?

Arrgh! I was so sure I'd tried that already, but you're right
it worked.
Still seems strange that I can't put the full URL in,
probably a security feature.

Similar Messages

  • Works in preview but not when published in captivate 8?

    My youtube widget used in captivate 8 works just fine in the preview, but when published there's nothing where the video should be, any idea as to why?

    Hi Robert,
    as far as I understand your post, you are missing some kind of "button-artwork" in the published file, but do not report a problem with the "action" that the script should perform.
    My guess would be that it will be hard to help you without having a better understanding what your trying to achive and how (are you using a prebuilt component, or did you build the button fron scratch etc....)
    It might be even necessary to have a look at the fla itself.
    M

  • Security Filter: Computer works, Computer Group doesnt works

    Hi @all,
    Server W2K12R2 ... Name Computer1
    When i make a FPO with security filtering on
    1.) Computer ... works
    2.) Security Group, Global, Security with Member Computer1 ... doesnt works
    Read, Apply Group Policy are set
    Why?
    Help

    > When i make a FPO with security filtering on
    I suppose this shoud read "GPO" and not "FPO"?
    > 1.) Computer ... works
    > 2.) Security Group, Global, Security with Member Computer1 ... doesnt works
    How do you determine that it works/doesn't work? Do you filter on the
    GPO at all or on a specific setting (Group Policy Preference) within the
    GPO?
    Greetings/Grüße,
    Martin
    Mal ein
    gutes Buch über GPOs lesen?
    Good or bad GPOs? - my blog…
    And if IT bothers me -
    coke bottle design refreshment (-:

  • PayPal button action works in preview but not when published

    Hi! 
    Any thoughts as to why this works correctly in CS5 publish preview but when I publish it I either get no action or (XP comupter) or a blank page (vista).  Any thoughts or insight would be appreciated.  Also, I'm new to flash and here's the button action:
    on (release) {
            //create the LoadVars that will hold our paypal information
            var paypal = new LoadVars();
            //specify the business, amount of the item, shipping, etc.
            paypal.cmd="_xclick";
            paypal.upload="1";
            paypal.business="[email protected]";
            paypal.currency_code="USD";
            paypal.amount="275.00";
            //paypal.handling = "0";
            //paypal.no_shipping = "0";
            paypal.item_name="One Session";
            //added
            //paypal.lc="GB";
            paypal.bn="PP-BuyNowBF";
            //paypal.no_note="1";
            //send our information to PayPal, including all the optional  variables we have collected from customer
             paypal.send("https://www.paypal.com/cgi-bin/webscr","_blank","POST");
    Thanks!
    Robert

    Hi Robert,
    as far as I understand your post, you are missing some kind of "button-artwork" in the published file, but do not report a problem with the "action" that the script should perform.
    My guess would be that it will be hard to help you without having a better understanding what your trying to achive and how (are you using a prebuilt component, or did you build the button fron scratch etc....)
    It might be even necessary to have a look at the fla itself.
    M

  • Masking works in preview but not when published

    I am dynamically loading higher-res images into a movie clip
    that
    correspond to the place in a 360 degree rotation the main
    clip is at,
    then resizing that movie clip to "zoom" the image. Since I
    don't want
    to overflow the whole screen, I've created another movie clip
    that
    masks the loader movie clip.
    When I preview the flash file, it works perfectly. When I
    publish the
    file, the mask doesn't get applied. Thoughts?
    zoom_btn.onPress = function(){
    if(iszoomed == false){
    loadMovie("zoomimages/" + Math.floor((_currentframe-4)/3) +
    "big.jpg", image_mc);
    stop();
    zoom_btn.onRelease = function(){
    if(iszoomed == false){
    Loading progress loop begins, extra code
    removed...
    if (pcLoaded >= 99){loader_mc._alpha = 0;
    image_mc._visible = true;
    myMask_mc._visible = true;
    image_mc.setMask(myMask_mc);
    .....Loading progress loop ends}
    iszoomed = true;
    }

    Hi Robert,
    as far as I understand your post, you are missing some kind of "button-artwork" in the published file, but do not report a problem with the "action" that the script should perform.
    My guess would be that it will be hard to help you without having a better understanding what your trying to achive and how (are you using a prebuilt component, or did you build the button fron scratch etc....)
    It might be even necessary to have a look at the fla itself.
    M

  • I have an iPod touch 5th generation 32 GB .. My home button is stuck i resd here that if i keep my ipod in rice for 6hrs it will work but it doesnt work. What should i do? And how much does it cost to change your home button?

    Home button isnt working.. What should i do?
    how does it costs to change the home button?

    Apple will exchange your iPod for a refurbished one for $99 for a 16 GB 5G and $149 for the other 5Gs. They do not fix yours.
    Apple - iPod Repair price                                    
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens         
    Fix it yourself if you are up to it
    iPod Touch Repair – iFixit                  

  • All hyperlinks are not working when published

    All of the links work on iweb 09; however, when published some of the links are not working. To get an idea of what I mean you can go to the site, thinkwhatif.org and see it. Would someone be able to provide an answer how to solve it? I have unlinked and relinked too and that didn't work (at least the one time I did it).
    Thanks in advance for helping me figure it out.
    I am learning..

    Bonjour,
    It's a layout issue. Two of your buttons (who or what) are in the navigation part of your page (nav_layer), which is back layer of your page. In your page, the content (body_layer) overlays the bottom of this layer (nav_layer) where the buttons are.
    !http://i22.servimg.com/u/f22/09/02/44/99/layout10.jpg!
    Show layout (iWeb > View > Show layout) and replace the buttons in the content. As you can see , you 've got also a empty textbox in the content

  • Background image displays locally in HTML5 template but not when published

    I have used an excellent HTML5 template which uses JavaScript to display background images. However while this file works locally it doesn't when published. The site structure is sound and I notice this happens with the source files I downloaded also so it's nothing I have done in my build which could have caused this.
    This is the link to my site, everything is fine except the background image not showing.
    http://www.khawkinsdesign.com
    Any ideas, as I say fine locally, not fine when published?
    Message was edited by: Kyle Hawkins

    Hi Kyle,
    I realise you posted your question a couple of days ago but it looks like your background image issue may now be fixed?
    In any case, your site has a few issues. Not sure who told you the template was HTML 5 but they might be yanking your chain. There is nothing HTML 5 about the code used and the DOCTYPE is from HTML 4. As such, some of the code you have used is throwing up errors - some related to the DOCTYPE and some where you haven't closed the tags:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.khawkinsdesign.com%2F&charset=%28detect +automatically%29&doctype=Inline&group=0
    <ul id="footer-nav">
    <li><a href="index.html">Home</a></li>
    <li><a href="portfolio.html">Portfolio</a></li>
    <li><a href="about.html">About</a></li> /*The closing tag is missing in your code */
    <li><a href="contact.html">Contact</a></li> /*The closing tag is missing in your code */
    </ul>
    It would be best to amend the errors but some might disappear when you add the HTML 5 DOCTYPE in to your code. Things like your lack of "type" on the sources is a required v4 attribute, but not in v5.
    <!DOCTYPE html>
    Have a read through this for more info - this is a great resource for everything HTML 5. http://diveintohtml5.info/
    Rik
    EDIT:// It seems that the DOCTYPE is the 5 version on all but the home page so you may only have one to correct. However, there are still no HTML 5 elements used to take advantage of the new DOCTYPE.

  • Slideshow won't work when published

    I have published my first Muse site and it looks great & works perfectly, except the one slideshow wont run.
    I have uploaded, then reuploaded my script files and it still doesnt work. Its hosted on a non-BC server.
    Any ideas?

    Please refer to the suggestions in the following topic:
    My site doesn't work when I upload to my own web host, but it's fine in Preview. How do I fix this?
    http://forums.adobe.com/message/4300529#4300529
    If you are certain that your files are uploaded properly and in the correct locations, it is likely a permissions issue related to your scripts directory/files (suggestion #2).

  • On Safari, ipad connects to the internet.  But when in applications such as Keynote, I try to e-mail presentattion it doesnt work.

    I am a teacher and have my own iPad with a data plan.  We also have a router in teh classroom for wifi, and it has a very strong signal.  On Safari, the ipads can connect to the internet.  But when in applications such as Keynote and HTML Egg, I try to e-mail presentat. or post website to web, it doesnt work.  I tried re-setting the proxies and the router, no luck.  Please Help!  I am a teacher and want my students to be able to post their websites on to the web, and e-mail themselves and their parents their Keynote Presentations.

    Try this. Turn your iPad Off. Then disconnect the power going to the router for 30 seconds or longer. Then replug the power to the router (allow it to initialize) and turn On the iPad. Hopefully everything will connect. If not, see below.
    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • I've just installed CS6 creative suite mainly for photoshop CS6. It comes with camera raw 7.0.something, but need something newer to use my canon 6d. When I download camera raw 8.5 and install the raw converter doesnt work anymore, wont even open or isnt

    I've just installed CS6 creative suite mainly for photoshop CS6. It comes with camera raw 7.0.something, but need something newer to use my canon 6d. When I download camera raw 8.5 and install the raw converter doesnt work anymore, wont even open or isnt available anymore in the plugin list. Tried to reinstall everything for a few times, but nothing helps.

    When I search for updates the raw converter doesnt get update automaticly. Frustrating, is costing me the whole morning.

  • People Cannot Hear Me When I make Calls on iPhone 4, Bought a new iPhone 4, uploaded all of my own information from the backup, and it still doesnt work, help!

    I went in to apple, they couldnt figure it out, I am on AT&T so I was figuring on going into their store today and seeing if its something with the network, if not I am going back to apple, but this is literally a brand new phone i bought yesterday, not refurbished or anything, brand new, does anyone know why this isnt working? Everything else works fine, the mics both work, its just when I make calls or someone calls me the mic doesnt work.

    When you see the same issue on more than one hardware device, it means that the problem is likely to exist outside of the hardware.  Two things to investigate would be the software/firmware on the backup and issues with the cellular network.  It's probably safe to rule out the cellular network as well.
    First, make sure that you have imported copies of all the information (pictures, videos, documents) on the device.  Do this thorough itunes, and the applications (photographic and document processing) on your computer.  Perform a firmware update then restore the device as new.  If the problem persists, then you may actually have the worst luck and discovered two devices with an identical issue.
    Read each of the steps before initiating the DFU.
    !.  Connect the iPhone to any computer running a fully updated version of iTunes.
    2. Press and hold both "home" and "sleep/wake" buttons
    3. After eight seconds let go of only the sleep/wake button.
    4. Keep holding the home button until you see a popup mesage in iTunes.
    5. Read all all the popups, then use iTunes to update the iPhone's software.
    If the popup fails to show, repeat steps 2 through 4

  • Report works fine in VS2010 but simply doesn't show when published

    Problem:
    Crystal Report works fine in VS 2010 but doesn't show when published to web-server, there is no error, it simply doesn't show.
    Background:
    Installed VS2010 on a freshly installed and fully updated (.net 4.0 is included in the updates) windows server 2003 box with production release Crystal Report 2010. Nothing else is on the server.  IIS 6 is running.  My web-server and VS2010 is on the same box.
    I went ahead and created a new asp.net 4.0 web project called webapplication1. Thereafter, i put a few controls (text-boxes, list-boxes and so on)  on the default.aspx page. Then i created a report.aspx page. This page will have the crystal report viewer on it. I went ahead and set the report up without much hassle (got how-to's from the internet).  I successfully tested my web app with the built-in testing server, the beautiful crystal report presented exactly what i asked it to. There was one recurring "Sys.Application is null or not an object" hiccup that occured every time during testing when i navigated from the default.aspx page to the report.aspx page (the page the report is on). Clicking ignore or continue  on the dialogue box that comes up because of the hiccup will allow testing to continue.  Here's a screen-shot of this recurring hiccup.
    http://i440.photobucket.com/albums/qq122/ricom_19/Testing-Error.jpg
    As i've shown, testing went great, except for the hiccup. I now moved to setup a publish profile. Since my web-server and VS2010 is on the same box this seemed relatively straight forward. All the files went over except the report, i.e. crystalreport1.rpt  file. I solved this by  setting the build action to 'Content' in the CrystalReport1.rpt properties. I did a republish. Now i have all my files, see screenshot: [http://i440.photobucket.com/albums/qq122/ricom_19/Application-Home-Directory.jpg], on the web-server.
    I proceeded to try to browse to my app from another computer on my network. This was successful until i tried to navigate to the report.aspx page that the crystal report is on. The the report.aspx page loaded but the crystal report was simply not on it. No errors, not even the hiccup from testing occured. Its as if the crystal report viewer was never on the page to begin with. Only when i right clicked on the page and 'view source'  did i see some remnants of the crystal report viewer.
    Here is the Report.aspx page when tested in VS2010:
    [http://i440.photobucket.com/albums/qq122/ricom_19/successful-Test.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/successful-Test.jpg]
    Here is the Report.aspx page when published to the web-server and browsed to from another computer on the network:
    [http://i440.photobucket.com/albums/qq122/ricom_19/Reportviewer-Disappear.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/Reportviewer-Disappear.jpg]
    Details of adding report to my web app:
    1) Populate my dataset then write the XML schema, reportschema.xml
    2) Added the crystal Report to the project then used the wizard to navigate to the reportschema.xml. Of course i had to create new connection in Database expert. see screen-shot:
    [http://i440.photobucket.com/albums/qq122/ricom_19/CR-Database-Expert.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/CR-Database-Expert.jpg]
    3) I formatted the report the way i wanted it
    4) Added the Crystal report viewer on the Report.aspx page
    5) In the code-behind of the Report.aspx page i bound the viewer to a report document that is loaded with CrystalReport1.rpt file
    see screenshot: [http://i440.photobucket.com/albums/qq122/ricom_19/Report-Page-Code-behind.jpg]
    That's it.  As mentioned, it tested fine in VS2010 but the viewer doesn't show when i publish to the webserver. I wrote a crystal report in .net about 8 years ago. Things have changed soooo much since then.
    I am wondering if its a license issue? Was also wondering if it had anything to do the testing hiccup, even though research is suggestion the two are unrelated.
    I've described my actions as best as i could (without getting into ridiculous detail) and have included screen-shots of relevant stages of the process. Have a look and tell me your thoughts. Thanks.

    The "Sys.Application is null or not an object" issue is known, submitted for a resolution and documented in KB #1528503. Unfortunately the KB search has been down the last couple of days...
    However, the issue is limited to compile time and does not affect a completed application.
    Re. the viewer missing. Sounds like the viewer directory did not get created or configure correctly. Before I get to that. You mention:
    "I proceeded to try to browse to my app from another computer on my network."
    This bring up the question: If you run the app right on the app server. e.g.; not a client computer, does the viewer and report come up? Is this issue isolated to client computers on the network?
    I suspect that the issue exists irrespective of which computer you try to see the report from - but that is an assumption. If the assumption is correct, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a] article on configuring the viewer. The article does not have CR4VS2010 documented, but you should be able to guide your self using the article. I think the pattern will be obvious.
    Ludek

  • My Ipod Touch conects to my wi-fi, but when I open safari, or any other app that needs internet, it doesnt work. what should I do and why is this happening?

    My sister bought me an ipod touch less than a month ago. when he first came, he was conecting normal to my wifi, but today, he isnt. I use the same wifi at my laptop, and its perfectly working. My ipod identify the network, conects to it, but when I open an app that needs it, it doesnt work. What should I do?
    And why is this happening?

    - Reset the iPod. Nothing will be lost
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections

  • Re: i was charging my iphone 3GS yesterday in electricity when once it turned off suddenly while it was in quarter battery. I tried charging it again but it didint open, i tried to plug it into my laptop but itunes didnt recognize it and it doesnt work.

    Re: i was charging my iphone 3GS yesterday in electricity when once it turned off suddenly while it was in quarter battery. I tried charging it again but it didint open, i tried to plug it into my laptop but itunes didnt recognize it and it doesnt work.

    Hello candymerna,
    At this point I would recommeng resetting the device if if will not turn on.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    From: iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
              http://support.apple.com/kb/ht1430
    If it does turn on, but will not charge then take a look at this part of the article iPhone: Hardware troubleshooting found http://support.apple.com/kb/ts2802
    Power/Battery
    Battery does not charge from the USB power adapter
    Important: Only original iPhone can be charged from a FireWire-based power source. If iPhone is connected to a computer that's turned off or is in sleep or standby mode, the battery may drain.
    Verify that the outlet being used is working.
    Try another USB power adapter if available.
    If no other USB power adapter is available, try connecting to a high-power USB 2.0 port (not a keyboard). The computer must be turned on and not in sleep or standby mode.
    Try another USB cable if available.
    Also refer to iPhone and iPod touch: Charging the battery.
    If it is charging, but not recognized in iTunes take a look at one of these articles depending on your Operating System.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    or
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/ts1591
    Cheers,
    Sterling

Maybe you are looking for