URLLoader throws Error#2048 on Mac

Hi,
are there any known issues regarding URLLoaders and Macs?
My flash application seems to run correctly on Windows but not on a mac.
It is supposed to retrieve data from a php file with the following code:.
<?php require_once(connect...); ?>
<?php
mysql_select_db($database_conn, $conn);
// OUTPUT TO FLASH
//all name=value pairs are separated by &
$query = "SELECT * FROM news ORDER BY id DESC";
$resultado = mysql_query($query,$conn);
$total = mysql_num_rows($resultado);
$output = "";
if ($resultado) {
  $i=0;
  while ($myrow = mysql_fetch_array($resultado)) {
  $output .= "&data".$i."=".urlencode($myrow['data']).
        "&hora".$i."=".urlencode($myrow['hora']).
        "&noticia".$i."=".urlencode($myrow['noticia']);
  $i++;
} else {
  $error = "Sorry could not access Events Database";
// send the data to Flash using the URL encoded format
echo "total=".urlencode($total)."&error=".urlencode($error).$output;
?>
When loaded directly from a browser, the php code works fine both on Windows and Mac.
But the flash app throws a Error #2048 on Mac.
here's the code for the app:
public class main extends MovieClip
   private var l:URLLoader;
  private var l1:URLLoader;
  private var tx:txField;
  private var tx1:txField;
  public function main():void
  l = new URLLoader
  l.addEventListener(Event.COMPLETE, comp);
  l.addEventListener(SecurityErrorEvent.SECURITY_ERROR, err);
  l.addEventListener(IOErrorEvent.IO_ERROR, IOErr)
  l.load(new URLRequest("http://.../myPhp.php"));
  l1 = new URLLoader
  l1.addEventListener(Event.COMPLETE, comp1);
  l1.load(new URLRequest("http://mariofranco.net/resources/home.txt"));
  tx = new txField("", 200);
  tx.move(500, 50)
  addChild(tx);
  tx1 = new txField("", 200);
  tx1.move(200, 50)
  addChild(tx1);
  private function err(e:SecurityErrorEvent):void
  tx.text = "erro seguranca: " +e.text;
  private function IOErr(e:IOErrorEvent):void
  tx.text = "erro IO: "+ e.text;
  private function comp(e:Event):void
  trace (l.data);
      tx.text = l.data;
  private function comp1(e:Event):void
  tx1.text = l1.data;
Thank you in advance for any help.
Alex

Got it.
The URLRequest works if I remove http://domainName/ and leave only the "myPhp.php file" reference there.
this works (both on Mac and Windows):
l1.load(new URLRequest("resources/myPhp.php"));
this doesn't work on Mac:
l1.load(new URLRequest(http://myDomain/resources/myPhp.php));

Similar Messages

  • I am using Mac OS X 10.7.5 as of now and when I am trying to upgrade to Mavericks, it is throwing error "The product distribution file could not be verified. It may be damaged or not signed".

    I am using Mac OS X 10.7.5 as of now and when I am trying to upgrade to Mavericks, the App Store is throwing error "The product distribution file could not be verified. It may be damaged or not signed".
    Is there anything I should do differently? Is anyone else facing the same issue?
    Kindly help.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef 
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; crontab -l 2> /dev/null; } | open -ef 
    Step 4
    ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of login items' | open -ef 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Error #2048: Security sandbox violation

    I've been developing Flex apps for a couple of years now and feel comfortable with my development environment.
    I'm testing out Gumbo in my same environment (new workspace): WAMP based
    My test app works fine on my localhost set up... but when I upload the files to my hosted domain server... I get Error #2048: Security sandbox violation.
    Specifically:
    - I'm invoking an HTTPService by setting the url to a relative path (folder/file in same dir as the swf)
    - I set method to POST and useProxy to false
    (<fx:Declarations>
            <s:HTTPService id="contentService" url="data/verd_content.xml" method="POST" useProxy="false" resultFormat="e4x" />
        </fx:Declarations>)
    - I wrapped the send call in a try / catch block and show an Alert with the error message in the catch... here's what it says
    body = (null)
      clientId = "DirectHTTPChannel0"
      correlationId = "F4B9A542-8B00-5CDB-3C36-1316919FC255"
      destination = ""
      extendedData = (null)
      faultCode = "Channel.Security.Error"
      faultDetail = "Destination: DefaultHTTP"
      faultString = "Security error accessing url"
      headers = (Object)#1
        DSStatusCode = 0
      messageId = "E629F555-EF8B-E535-7CE4-13169662A82A"
      rootCause = (flash.events::SecurityErrorEvent)#2
        bubbles = false
        cancelable = false
        currentTarget = (flash.net::URLLoader)#3
          bytesLoaded = 0
          bytesTotal = 0
          data = (null)
          dataFormat = "text"
        eventPhase = 2
        target = (flash.net::URLLoader)#3
        text = "Error #2048: Security sandbox violation: http://****.com/Main.swf cannot load data from http://localhost:***/data/verd_content.xml?hostport=***t.com&https=N&id=F4B9A542-8B00-5CDB -3C36-1316919FC255."
        type = "securityError"
      timestamp = 0
      timeToLive = 0
    *NOTE: I obfuscated parts of the url for security reasons
    I read the other similar posts here about problems like this when using the PHP / Zend set up... but I checked the .actionScriptProperties file and it does not have any URLs in there (like localhost:port#)
    I'm not using a service-config.xml file in this project... but I have set up WebORB for PHP servers and use that all the time... so I know how that works...
    Is this a bug or am I missing something new in the Gumbo ?
    Again: my swf file is in a folder in the webroot on my ISP
    also inside that folder is another folder with an XML file in it
    I'm setting an HTTPService call using the url parameter on a POST with a relative file path (folder/filename.xml)
    changing the url to an absolute makes no difference...
    thanks in advance for any help

    Sure...
    here's the code that contains both the HTTPService setup and the URLLoader setup... like i said in the original post.. the HTTPService call throws the error described, whereas the URLLoader call does not:
    private var loader : URLLoader = new URLLoader();
    private var req : URLRequest = new URLRequest("data/***dant_content.xml");//path obfuscated
    protected function Application_creationComplete():void
        // This works...
        loader.addEventListener( Event.COMPLETE, parseContent );
        loader.addEventListener( IOErrorEvent.IO_ERROR, contentFault );
        // This does not...
        /* contentService.addEventListener( ResultEvent.RESULT, parseContent );
            contentService.addEventListener(FaultEvent.FAULT, contentFault ); */
        try
            loader.load( req );
        catch (err:Error)
            Alert.show("In Try Catch Error Block: " + err.message);
            currentState='home';
    the HTTPService was set up like this: (again, i obfuscate the URLs for security)
        <fx:Declarations>
            <s:HTTPService id="contentService" url="data/***dant_content.xml" method="POST" useProxy="false" resultFormat="e4x" />
        </fx:Declarations>
    the parseContent function setup in the event listener justs reads the XML file and uses that data to build an image gallery.
    hope this helps (for what its worth: I'm not doing anything serious with Gumbo as of yet due to these kinds of bugs)

  • Error - 2048 not a valid movie file

    hello,
    I'm a NAPP member and had been following the photoshop TV casts on QT....however, now I get the error message 'error - 2048 not a valid movie file'...its an mpeg4 QT file, but I get the message whenever I attempt to play the downloaded file...or when I try to just watch the stream, it won't open the URL...these are the only movies that I'm having this problem with...as I can watch other movies from other sites w/o incident...NAPP hasn't replied to my inquiries except that they don't support the TV shows.
    Any ideas?...would be appreciated...
    Thanks...
    G5 - dual 1.8 ghz - 2ghz ram   Mac OS X (10.3.7)   Dell Inspiron Core Duo notebook w/ XP home

    T S
    Thank you very much for the link to videolan.org. I was having the same problem playing downloaded Photoshop TV videos. I tried MPlayer which worked but was not comprehensible. I had never heard of videolan, but it works like a charm.
    Thanks again.
    17 PowerBook, 1.33 Ghz   Mac OS X (10.4.6)   2 GB Ram, iWeb 1.1.1

  • Error -2048 when wanting to watch September Webcast

    Ey guys.
    Whenever I want to watch the Setpember release of the apple webcast (http://www.apple.com/quicktime/qtv/showtime06/), I recive the following error: "Error -2048. The file is not a movie file". I assume that this is a problem at my end because people I know can access it fine.
    I have tried with Firefox 1.5 and IE 6.0, QT Pro and then unistalling to QT Basic.
    Does anyone know how to fix this problem?
    AMD 64 3500+   Windows XP   1 Gig RAM, 6600GT

    I get the same error message as craigsman when I try to open a movie file on Windows Quicktime Pro 7.0.4. that I created with GarageBand.
    As I can play the same file on Mac mini with Quicktime Player 7.1.3 without any problem I guess it's a software issue.
    Note that Windows Quicktime Pro 7.0.4. opens other files than those created with GarageBand without any problem and even the http://www.apple.com/quicktime/qtv/showtime06/

  • Error-2048

    I expect this forum abounds with questions on this issue but I have not seen anything yet to help me that works.
    I have the full QTPro version 7.1.3 and every time I try and open an mpeg2 file (that plays fine in Media Player) it says error-2048 not a movie file.
    Can someone please help me to fix this as I want to covert mpg2 files to mpg4 in QT for easier emailing and quick viewing in iTunes.
    Thanks
    Julian
    Tiny PC   Windows XP  

    I just wanted to second QuickTimeKirk. Downloading MPEG-2 Playback fixed my 2048 parsing error as well.
    I'd also like to add my two-bits regarding QuickTime's Application lack of feedback. When trying to play a Client's Windows generated MPG on the Mac running QuickTime 7.1.3 the only error message generated was a very generic "Can't open File" or something equally as vague. I was totally at a loss. It wasn't until I tried to open the same file in iMovie that I discovered the "couldn't parse - 2048" message which led me here. Come on Apple... if I am going to believe your ad campaign comparing Mac's multimedia prowess compared to Windows, why not try a little harder! Very frustrating to have to spend an hour troubleshooting QuickTime in 2006!!!
    Power Mac G5 2.5 GHz   Mac OS X (10.3.9)   QuickTime 7.1.3

  • Publishing my flex application in external server (Channel.Security.Error error Error #2048)

    when i publish my flex application in an external server i get that error if my flash builder beta 2 is closed in my system , i did configure an endpoint to the dataservice to point to the external server and if i run my flash builder and any body browser the site it open and they can access the data from my application but if i close my flash builder we have this error all of us
    Send failed
    Channel.Security.Error error Error #2048: Security sandbox violation:
    http://www.dcecrak.com/Maine.swf cannot load data from
    http://localhost:37813/flex2gateway/?hostport=www.dcecrak.com&https=N&id=-1. url:
    'http://www.dcecrak.com/flex2gateway/'
    i created a crossdomain.xml file and put it in the web root , if i try to open the link http://www.dcecrak.com/flex2gateway  it open with blank page this means that every thing is oky , my service-config file looks like that :
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service-include file-path="remoting-config.xml" />
            <service-include file-path="proxy-config.xml" />
            <service-include file-path="messaging-config.xml" />
        </services>
        <security>
            <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/>
            <!-- Uncomment the correct app server
            <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>
            <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/>
            <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/>
            -->
            <!--
            <security-constraint id="basic-read-access">
                <auth-method>Basic</auth-method>
                <roles>
                    <role>guests</role>
                    <role>accountants</role>
                    <role>employees</role>
                    <role>managers</role>
                </roles>
            </security-constraint>
            -->
        </security>
        <channels>
            <!--  CF Based Endpoints -->
    <channel-definition id="dcecrak" class="mx.messaging.channels.AMFChannel">
                <endpoint uri="http://www.dcecrak.com/flex2gateway/" class="coldfusion.flash.messaging.CFAMFEndPoint"/>
                <properties>
                      <add-no-cache-headers>false</add-no-cache-headers>
                            <polling-interval-seconds>8</polling-interval-seconds>
                            <serialization>
                                  <enable-small-messages>false</enable-small-messages>
                            </serialization>
                            <coldfusion>
                                <!-- define the resolution rules and access level of the cfc being invoked -->
                                  <access>
                                        <!-- Use the ColdFusion mappings to find CFCs-->
                                        <use-mappings>true</use-mappings>
                                        <!-- allow "public and remote" or just "remote" methods to be invoked -->
                                        <method-access-level>remote</method-access-level>
                                  </access>
                                  <!-- Whether the Value Object CFC has getters and setters. Set the value of use-accessors to true if there are getters and setters in the Value Object CFC. -->
                                  <use-accessors>true</use-accessors>
                                  <!--Set the value of use-structs to true if you don't require any translation of ActionScript to CFCs. The assembler can still return structures to Flex, even if the value is false. The default value is false.-->
                                  <use-structs>false</use-structs>
                        <property-case>
                            <!-- cfc property names -->
                            <force-cfc-lowercase>false</force-cfc-lowercase>
                            <!-- Query column names -->
                            <force-query-lowercase>false</force-query-lowercase>
                            <!-- struct keys -->
                            <force-struct-lowercase>false</force-struct-lowercase>
                        </property-case>
                            </coldfusion>
                </properties>
            </channel-definition>
            <channel-definition id="cf-polling-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpolling" class="coldfusion.flash.messaging.CFAMFEndPoint"/>
                <properties>
                    <polling-enabled>true</polling-enabled>
                    <polling-interval-seconds>8</polling-interval-seconds>
                            <serialization>
                                  <enable-small-messages>false</enable-small-messages>
                            </serialization>
                            <coldfusion>
                                <!-- define the resolution rules and access level of the cfc being invoked -->
                                  <access>
                                        <!-- Use the ColdFusion mappings to find CFCs-->
                                        <use-mappings>true</use-mappings>
                                        <!-- allow "public and remote" or just "remote" methods to be invoked -->
                                        <method-access-level>remote</method-access-level>
                                  </access>
                                  <!-- Whether the Value Object CFC has getters and setters. Set the value of use-accessors to true if there are getters and setters in the Value Object CFC. -->
                                  <use-accessors>true</use-accessors>
                                  <!--Set the value of use-structs to true if you don't require any translation of ActionScript to CFCs. The assembler can still return structures to Flex, even if the value is false. The default value is false.-->
                                  <use-structs>false</use-structs>
                        <property-case>
                            <!-- cfc property names -->
                            <force-cfc-lowercase>false</force-cfc-lowercase>
                            <!-- Query column names -->
                            <force-query-lowercase>false</force-query-lowercase>
                            <!-- struct keys -->
                            <force-struct-lowercase>false</force-struct-lowercase>
                        </property-case>
                            </coldfusion>
                </properties>
            </channel-definition>
            <channel-definition id="my-cfamf-secure" class="mx.messaging.channels.SecureAMFChannel">
                <endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure" class="coldfusion.flash.messaging.SecureCFAMFEndPoint"/>
                <properties>
                    <polling-enabled>false</polling-enabled>
                            <add-no-cache-headers>false</add-no-cache-headers>
                            <serialization>
                                  <enable-small-messages>false</enable-small-messages>
                            </serialization>
                            <coldfusion>
                                <!-- define the resolution rules and access level of the cfc being invoked -->
                                  <access>
                                        <!-- Use the ColdFusion mappings to find CFCs-->
                                        <use-mappings>true</use-mappings>
                                        <!-- allow "public and remote" or just "remote" methods to be invoked -->
                                        <method-access-level>remote</method-access-level>
                                  </access>
                                  <!-- Whether the Value Object CFC has getters and setters. Set the value of use-accessors to true if there are getters and setters in the Value Object CFC. -->
                                  <use-accessors>true</use-accessors>
                                  <!--Set the value of use-structs to true if you don't require any translation of ActionScript to CFCs. The assembler can still return structures to Flex, even if the value is false. The default value is false.-->
                                  <use-structs>false</use-structs>
                                  <property-case>
                            <!-- cfc property names -->
                            <force-cfc-lowercase>false</force-cfc-lowercase>
                            <!-- Query column names -->
                            <force-query-lowercase>false</force-query-lowercase>
                            <!-- struct keys -->
                            <force-struct-lowercase>false</force-struct-lowercase>
                        </property-case>
                            </coldfusion>
                </properties>
            </channel-definition>
            <!--  Java Based Endpoints -->
            <channel-definition id="java-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
            </channel-definition>
            <channel-definition id="java-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
                <endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
            </channel-definition>
            <channel-definition id="java-polling-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
                <properties>
                    <polling-enabled>true</polling-enabled>
                    <polling-interval-seconds>8</polling-interval-seconds>
                </properties>
            </channel-definition>
            <!--
            <channel-definition id="java-http" class="mx.messaging.channels.HTTPChannel">
                <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/http" class="flex.messaging.endpoints.HTTPEndpoint"/>
            </channel-definition>
            <channel-definition id="java-secure-http" class="mx.messaging.channels.SecureHTTPChannel">
                <endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/>
            </channel-definition>
            -->
        </channels>
        <logging>
            <target class="flex.messaging.log.ConsoleTarget" level="Error">
                <properties>
                    <prefix>[BlazeDS] </prefix>
                    <includeDate>false</includeDate>
                    <includeTime>false</includeTime>
                    <includeLevel>false</includeLevel>
                    <includeCategory>false</includeCategory>
                </properties>
                <filters>
                    <pattern>Endpoint.*</pattern>
                    <pattern>Service.*</pattern>
                    <pattern>Configuration</pattern>
                    <pattern>Message.*</pattern>
                </filters>
            </target>
        </logging>
        <system>
            <manageable>false</manageable>
            <!--
            <redeploy>
                <enabled>true</enabled>
                <watch-interval>20</watch-interval>
                <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file>
                <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file>
                <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file>
                <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file>
                <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file>
                <touch-file>{context.root}/WEB-INF/web.xml</touch-file>
            </redeploy>
             -->
        </system>
    </services-config>
    and my crossdomain.xml looks like that :
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    <allow-access-from domain="localhost" to-ports="*" secure="false"/>
    <allow-access-from domain="*" to-ports="*" secure="false"/>
    <allow-http-request-headers-from domain="*"/>
    </cross-domain-policy>
    really its strange only the site works if my flash builder is running , please help

      Thanks all for your attention, i have solved my problem and i think its a bug in the flash builder , the problem was that when you compile the application and you enabling Network Monitoring , the communication of the AMF channels done throw the  http://localhost:37813/flex2gateway/
    and that was the problem if you close the flash builder on your system that getaway dose not exist and on the hosted server there is no such address localhost by this port also so the client application witch is catch in you system try to access your localhost and that cause a security error and the address is also not exist .
    so the solution or we have to compile the project after we disable the Network Monitoring in flash builder .

  • Samsung laser printer error msg on Mac Mini since update

    samsung ml-2955DW laser printer throws error msg - rasterosec, filter - since recent update to OSX 10.8.3, but *only* when printing in Word for Mac. have deleted printer and reinstalled twice. no luck.
    any ideas?

    candace200 wrote:
    samsung ml-2955DW laser printer throws error msg - rasterosec, filter - since recent update to OSX 10.8.3, but *only* when printing in Word for Mac. have deleted printer and reinstalled twice. no luck.
    any ideas?
    Microsoft for Mac Support

  • Can't open Quicktime .mov file (Error -2048)

    I can't open and run an 11mb QuickTime .mov file that was created, I'm pretty sure, on a Mac. I'm using a PC running QuickTime 7.2. Colleagues using PCs with QuickTime 7.0 and 7.1 can't run it either. The guy who created the file apparently has no problem running it on a Mac. My full error measage is "Error -2048: Coundn't open the file because it is not a file that QuickTime understands". Any ideas anyone?

    Ask the guy that made the file what codecs are used in it. Mac users can open, save and edit .wmv files and he may have put one inside a .mov container. It will never play on a PC unless saved as .wmv extension.

  • Error #2048: Security sandbox violation: Urgent Checked the forum none of the solutions worked

    Hi all,
        I am new to flex . I am trying to connect to my localhost using the XMLSocket like below
        var xmlsock:XMLSocket = new XMLSocket(); // Line #187
        xmlsock.connect(127.0.0.1, 8080);
        xmlsock.send(xml);
      But after a Minute I get this below error
      Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: app:/main.swf cannot load data from 127.0.0.1:8080.
        at main/handleLogin()[C:\Documents and Settings\Vulcantech\My Documents\Flex Builder 3\src\main.mxml:187]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[C:\autobuild\3.2.0\framewor ks\projects\rpc\src\mx\rpc\http\mxml\HTTPService.as:290]
        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\AbstractInvoker.as:193]
        at mx.rpc::Responder/result()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responde r.as:43]
        at mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\ AsyncRequest.as:74]
        at DirectHTTPMessageResponder/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\s rc\mx\messaging\channels\DirectHTTPChannel.as:403]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/onComplete()
    Thanks in advance
    Balaji

    Hi Alex,
       Thanks for the Link . I saw the link and have done the same steps as said in that . I have created a crossdomain.xml file in my 127.0.0.1 and i can also see that the policy being accepted in the  "C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs" . I have pasted the lines in policyfiles.txt below.
        OK: Root-level SWF loaded: app:/main.swf
        OK: Policy file accepted: http://127.0.0.1/crossdomain.xml
       But I still get that sandbox violation error. I have tried the below solutions and none of them worked
           1) security.allowDomain("*");
           2) crossdomain xml in the webroot of the accessing server like below
                        <?xml version="1.0"?>
                         <!DOCTYPE cross-domain-policy SYSTEM “http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd”> 
                         <cross-domain-policy>
                            <site-control permitted-cross-domain-
    policies="all" />
                             <allow-access-from domain="*" to-ports="*" />
                       </cross-domain-policy>
           3) I saw that adding the Application path in the  "C:\Documents and Settings\username\Application Data\Flash Player\#Security\FlashPlayerTrust\flexbuilder.cfg" will remove the sandbox violation but this also didnt work        
           4)  "Project - Properties - Flex Compiler - Additional compiler arguments:" add   -use-network=true  and then recompile and post to server
           5) I have also checked the policy file logs
    Thanks in advance
    Balaji

  • Windows Media File error 2048

    Anyone know how to convert a Windows Media file to run on Quicktime? I get a message that say's Error 2048 and that it's not a movie file.... Thanks.

    Be aware that even if you get Apple's MPEG2 QuickTime Component, that if the file uses AC3 audio QuickTime Player will not be able to play the audio from that. Apple use the feeble excuse that this is because QuickTime does not support muxed video files (where the audio and video are mixed together). Normally QuickTime files keep the audio and video as separate streams in a single file.
    I regard this as a feeble excuse because a) it should have been fixed years ago, after all other software does not have this problem even WMP copes with this, and b) even when using QuickTime and Apple's MPEG2 component the free third-party tool MPEGStreamClip (for Windows or Mac) can play AC3 audio in these files. I repeat this tool uses the same QuickTime and Apple's MPEG2 component and yet it can play AC3 audio when Apple's own QuickTime Player cannot.

  • File won't play in Win only (Error 2048)

    Hi,
    I've read through lots of the posts regarding 2048 and haven't found a solution.
    A QT movie was prepared for me and delivered to me on a DVD. I'm currently running WinXP SP2 with QT 7.1.3. Here are the things that will and won't work:
    1. Try to play the .mov file on the DVD; Win QT gives me error 2048.
    2. Drag the .mov file to my desktop; error 2048.
    3. Drag the .mov from my desktop to my flash drive and take it to a Mac -- now Mac QT won't play it.
    4. Put the DVD in a Mac -- the file plays fine.
    5. On a Mac, copy the file to my flash drive -- the Mac will play it fine from my flash drive.
    Looking at 3-5, what grabs me is not just that Mac will play the file and Win won't, but that if the file just passes through my PC, then Mac won't play it either. This almost sounds like one of the old data fork/resource fork problems that used to plague Mac/PC compatibility, except that we shouldn't be seeing that anymore.
    I have tried this with 2 different machines running Windows, so I know it's not just my machine.
    Any suggestions would be appreciated.
    Thanks,
    Aaron.

    Open the file (on a Mac) using QuickTime and open the Movie Info window. Report back what codecs and formats are in the file.
    The (-2048) error message usually means the format is MPEG-2 and it requires the QuickTime PMEG-2 Playback Component to view.
    You could also try installing the free VLC app (Windows version) to play the file.

  • LiveType template error # - 2048

    I am having trouble with LiveType templates. Everytime I try to open some of the templates that came with LiveType (version 2), I get the error message "Cannot Render: error # - 2048". this hapens on all but a couple of the templates that came with the software. I would really like to use these templates, but I am stuck.
    Thanks,
    Louis
    Mac G4   Mac OS X (10.4.5)  

    Considering the probelm you're having, if I were you I'd trash the LiveType application and all the data files, and the LiveType Receipts. Then install both the app and the data files again.
    The application is in your main /Applications folder. The Receipts are in /Library/Receipts. The data files are probably here:
    /Library/Application Support/LiveType/
    Before you trash those, though, take a look at them in the Finder window. See if, in the Kind column, it says LiveType Template.
    You are saying that when you try to use one of these templates in LiveType, you get the -2048 error, right?

  • Error #2044 & Error #2048

    Hello,
    I am running Flex 4 SDK and a beta of Flash Builder 4 on an Eclipse IDE. I have two files: one is a small flex program that establishes a XML Socket on the localhost, the other is a Java program that writes a simple string to the port that the flex program listens to. The purpose of this program is to get used to TCP with flex. Both programs run inside of the Eclipse IDE. However, when I run the program, I get the following error message:
    Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation
    I have searched quite a bit for a solution to this problem to no avail.  Any help would be greatly appreciated.
    Thank you.

    For what it's worth, I just put together something simple and it seems to work:
    Both are run from a common folder.  Note that (AFAIK) you can't create a socket server in Flash (only clients)...so the java socket server needs to be started first:
    Keep in mind that things won't work out of the box (due to security issues) - an easy way to get things up and running (sans crossdomain file returned from your socket server) is to ensure your app is running in the local-trusted sandbox.
    To do this you need to add the path (where your Client.swf resides) to a text file living in either your global "FlashPlayerTrust" folder or your user level FlashPlayerTrust folder.
    For example, on Mac I've added a file called 'trust' containing one line:
    file:///Users/clucier/apps/SocketTest/
    ... to my "global" FlashPlayerTrust folder located at: /Library/Application Support/Macromedia/FlashPlayerTrust.
    See http://livedocs.adobe.com/flex/3/html/help.html?content=security2_25.html
    Pardon the verbose post, attachments don't work too well for me lately so included src inline...
    SimpleServer.java:
    import java.io.*;
    import java.net.*;
    public class SimpleServer
            public static void main(String args[])
                    // Message terminator
                    char EOF = (char)0x00;
                    try
                            // create a serverSocket connection on port 9999
                            ServerSocket s = new ServerSocket(9999);
                            System.out.println("Server started. Waiting for connections...");
                            // wait for incoming connections
                            Socket incoming = s.accept();
                            BufferedReader data_in = new BufferedReader(
                                  new InputStreamReader(incoming.getInputStream()));
                            PrintWriter data_out = new PrintWriter(incoming.getOutputStream());
                            data_out.println("Welcome! type EXIT to quit." + EOF);
                            data_out.flush();
                            boolean quit = false;
                            // Waits for the EXIT command
                            while (!quit)
                                    String msg = data_in.readLine();
                                    if (msg == null) quit = true;
                                    if (!msg.trim().equals("EXIT"))
                                            data_out.println("You sayed: <b>"+msg.trim()+"</b>"+EOF);
                                            data_out.flush();
                                    else
                                            quit = true;
                    catch (Exception e)
                            System.out.println("Connection lost");
    Client.mxml (Flex 4):
    <?xml version="1.0" encoding="utf-8"?>
    <Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/halo"
                 width="1024" height="768">
        <!-- Compiled FXG placed on the left -->
        <layout>
            <VerticalLayout/>
        </layout>
        <fx:Script>
            <![CDATA[
                import flash.net.XMLSocket;
                import flash.events.*;
                private var hostName:String = "localhost";
                private var port:uint = 9999;
                private var socket:XMLSocket;
                public function connect():void {
                    socket = new XMLSocket();
                    configureListeners(socket);
                    socket.connect(hostName, port);
                public function send(data:Object):void {
                    socket.send(data);
                private function configureListeners(dispatcher:IEventDispatcher):void {
                    dispatcher.addEventListener(Event.CLOSE, closeHandler);
                    dispatcher.addEventListener(Event.CONNECT, connectHandler);
                    dispatcher.addEventListener(DataEvent.DATA, dataHandler);
                    dispatcher.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
                    dispatcher.addEventListener(ProgressEvent.PROGRESS, progressHandler);
                    dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
                private function closeHandler(event:Event):void {
                    ta.text += String("closeHandler: " + event);
                private function connectHandler(event:Event):void {
                    ta.text += String("connectHandler: " + event);
                private function dataHandler(event:DataEvent):void {
                    ta.text += String("dataHandler: " + event);
                private function ioErrorHandler(event:IOErrorEvent):void {
                    ta.text += String("ioErrorHandler: " + event);
                private function progressHandler(event:ProgressEvent):void {
                    ta.text += String("progressHandler loaded:" +
                                event.bytesLoaded + " total: " + event.bytesTotal);
                private function securityErrorHandler(event:SecurityErrorEvent):void {
                    ta.text += String("securityErrorHandler: " + event);
            ]]>
        </fx:Script>
        <Button label="connect" click="connect()"/>
        <TextArea id="ta" width="300" height="200"/>
    </Application>

  • Cross domain scripting: error #2048

    Hi,
    This is my first entry in this forum but I already found a lot of answers by browsing it. However, altough many references seem to solve the problem I'm hurting on, it doesn't seem to work for me...
    Now, here's the case:
    I made a flash web site that will be hosted on an external web server (let's call it server «www.external.com»).
    My flash needs to get some info from my internal server (let's call it «www.internal.com»).
    On «www.internal.com», I don't have access to the root, only to the folder «myfolder» so my website reads like this: «www.internal.com/myfolder».
    Being aware of some sandbox security issues, I made a crossdomain.xml file and uploaded it to «www.internal.com/myfolder/crossdomain.xml» to provide acces to «www.internal.com/myfolder» from «www.external.com» wich is the following:
    <?xml version="1.0"?>
    <cross-domain-policy>
         <allow-access-from domain="www.external.com" />
         <allow-http-request-headers-from domain="www.external.com" headers="*"/>
    </cross-domain-policy>
    In my flash, there is the code i use to retrieve my info:
    Security.loadPolicyFile("http://www.internal.com/myfolder/crossdomain.xml");
    var myData:URLRequest = new URLRequest("http://www.internal.com/myfolder/myapp/datarequest.cfm");
    var loader:URLLoader = new URLLoader();
    loader.load(myData);
    That's where I get the raging error #2048 in an error #2044 telling me this (excuse the french, my player and I use this language):
    Error #2044: securityError non pris en charge : text=Error #2048: Violation de la sécurité Sandbox : http://www.external.com/flashapp.swf ne peut pas charger de données à partir de http://www.internal.com/myfolder/myapp/datarequest.cfm.
    According to what I saw and read, loading a policy file should allow me to access info. Once I read that the crossdomain.xml file absolutely had to be on the root of the web server, unfortunately, I don't have access to the root.
    There surely is something wrong with what I am doing, anyone has a thought?
    Thanks in advance and sorry for the long message...

    just a guess here - it looks mainly as though you are on the right track, and you are correct if you so not have access to the root, then you must target the crossdomain.xml location as you have specified.
    the one thing i don't see that you have listed here is a call to:
    Security.allowDomain("www.external.com");
    which *might* be the issue

Maybe you are looking for

  • Addition of a new column to the standard program

    Hi Friends, I have a requirement to add a new column Group Key to the existing report a standard program RFD0PR10 and display the fields based on the group key . The standard program uses methods write _header etc... can any one guide me in this issu

  • Printing from non airplay WIFI enabled Cannon from iphone

    Is there a way to print from a non airplay WiFi enabled Canon MG6120 from my iphone or ipad using my airport extreme when not in range of my network? Note: when in range or out of range, I use the Printer Pro app - but my computer has to be left ON.

  • Missing Features in PV

    Are there any plans for following features: 1: Be able to customize color themes 2: Be able to have more scaling options in Charts 3: Flatten maps, maps not showing contours.. 4; Improved KPI viewing, in ecample be able to create scorecard like those

  • Projects in iPhoto

    When creating projects from albums in iPhoto, is there a way to include the titles/ keywords associated with the photos? I know that one can choose various page layouts which allow text, but oftentimes, I simply want the pictures with the names of th

  • Setitng up CCMS functionality  (CCM4x agents)

    Hello CCMS-experts! I am about to set up the CCMS functionality for two business systems: SAP R/3 4.7 and SAP SRM 5.0 (on Web AS 7.0) With the first system (SAP R/3 4.7)  everything went fine. The registration was successfully and the status in RZ21