ScrollRect via crossdomain = NOGO!??

Hi i'm having problems setting scrollRect from a function in MovieA.swf to a movieclip in MovieB.swf. the SWFs are located on different domains.
Both files has the
Code:
System.security.allowDomain("*")
in top of first frame.
I've made a "sketch" of what i'm doing.
In MovieB, i have function/class:
Code:
var theApp = function(args:Object){
     import flash.geom.Rectangle;
     var oo:Object = this
     oo.applyScrollRect = function(){
          args.container.scrollRect = new Rectangle(0, 0, 200, 40)
This works within MovieB, i can do
Code:
var myAppInstance = new theApp({container:someMc})
myAppInstance.applyScrollRect()
Works fine..
Now, if i load MovieB into MovieA.swf, and then create an instance after its loaded, then it doesent work.
Code:
$scope = this
myApp = new loader_mc.theApp({container:$scope.box_mc2})
     myApp.applyScrollRect()
//I can create the instance allright, but i cannot apply scrollRect
I wan't to do it this way!!!.. but i guess it's not possible.
NOTE: if MovieB is gets loaded from SAME domain, then everything works!, so clearly, this only breaks when SWF's are in different domains. So apparently, SOME things you simply CAN NOT DO crossdomain.. no matter what security settings you apply. Is that right?..i think its crap!
EDIT: I attached a even more simplified example.. if you'd like to test, then upload theese two swfs on different domains, and make MovieA.swf load MovieB.swf..

Hi i'm having problems setting scrollRect from a function in MovieA.swf to a movieclip in MovieB.swf. the SWFs are located on different domains.
Both files has the
Code:
System.security.allowDomain("*")
in top of first frame.
I've made a "sketch" of what i'm doing.
In MovieB, i have function/class:
Code:
var theApp = function(args:Object){
     import flash.geom.Rectangle;
     var oo:Object = this
     oo.applyScrollRect = function(){
          args.container.scrollRect = new Rectangle(0, 0, 200, 40)
This works within MovieB, i can do
Code:
var myAppInstance = new theApp({container:someMc})
myAppInstance.applyScrollRect()
Works fine..
Now, if i load MovieB into MovieA.swf, and then create an instance after its loaded, then it doesent work.
Code:
$scope = this
myApp = new loader_mc.theApp({container:$scope.box_mc2})
     myApp.applyScrollRect()
//I can create the instance allright, but i cannot apply scrollRect
I wan't to do it this way!!!.. but i guess it's not possible.
NOTE: if MovieB is gets loaded from SAME domain, then everything works!, so clearly, this only breaks when SWF's are in different domains. So apparently, SOME things you simply CAN NOT DO crossdomain.. no matter what security settings you apply. Is that right?..i think its crap!
EDIT: I attached a even more simplified example.. if you'd like to test, then upload theese two swfs on different domains, and make MovieA.swf load MovieB.swf..

Similar Messages

  • LOCAL_WITH_NETWORK sandbox and SecurityError: Error #2121: BitmapData.draw

    We have an application we run in a localWithNetwork security sandbox.  This application loads many assets from an off-site web server.  In spite of a very permissive crossdomain.xml, swfs downloaded from site give a 2121 error when we convert them to bitmaps at runtime.
      <?xml version="1.0" ?>
      <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
      <cross-domain-policy>
        <allow-access-from domain="*" />
        <site-control permitted-cross-domain-policies="all"/>
      </cross-domain-policy>
    Now, I understand why this restriction with BitmapData.Draw exists in general, and from what I've read in other discussion threads the general solution is to allow less restrictive access via crossdomain.xml.  This is the most permissive I know how to make it, although the documentation on the subject is not the most concise.  Are there details I'm missing here?
    For the moment we're just running this as LOCAL_TRUSTED, but this requires folks to be setup with the debug plugin which is a maintenance problem.
    Thanks in advance for any guidance.
    jv

    Crossdomain isn’t used in localWithNetwork because there is no “domain” for the request.
    I didn’t think you needed a debug plugin for LOCAL_TRUSTED, I thought any trust file would work.  Did you try creating an AIR app instead?  It might have different security rules.

  • SecurityDomain? new instance?

    Hello again,
    Still having a dickens of a time with RE-loading modules (as per previous post, yet unanswered). Now trying to try Re-loading into a completely different security domain. How does one get an instance of SecurityDomain? I get an instantiation error when trying to create one (via 'new SecurityDomain()'). Have no idea how to get an instance of SecurityDomain to pass to the IModuleInfo.load method.
    Any help more than appreciated.
    Thanks mucho,
    -- niall

    You can't load modules across securitydomains unless you set up trust for
    that domain via crossdomain.xml in which case you'll be back in the same
    hole you are in now.

  • Downloaded 8.0.2, able to continue to connect to internet via wifi for approx. 2 hours, then, wham, no wifi connection, and when I attempt to join my wifi network, and enter my code, i am told that the code is incorrect.  I rebooted my IPad 3, nogo!

    I uploaded 8.0.2, able to continue to use my IPad 3, use internet, WiFi connectivity OK.  Then, about 1 1/2 hours later, I loose internet connection, and WiFi connectivity.   I rebooted the IPad and attempted to rejoin my WiFi network...no go, message says my password is wrong!!  I then, pursuant to a suggestion in the message boards, entered "Forget Network" and then attempted to again join my WiFi.   Again, message says "password is wrong"   Password is correct; I am on the internet on my desktop via my WiFi network!!    Is the 8.0.2 "update" defective and/or compromised??     My partner, who has an IPad Air, also updated to 8.0.2 this afternoon and has had the same problem!!!

    Actually, we up-loaded the new OS in the early evening!   We now have WiFi connectivity, and this is how it was achieved:   turned off the power to our WiFi modem, then turned it back on; wifi booted up; in IPad's Settings, WiFi:  toggled the Wi-Fi button off, waited a short while and toggled it back on; choose our network and entered our passcode...IPad finally accepted the passcode.  However, at the top left-hand portion of the screen, we now have a "No Service" statement, yet we are wifi connected and have internet service on our various apps!      

  • #2170 error calling a webservice from Xcelsius having crossdomain.xml

    Hello together,
    we are facing a #2170 error indicating we don't have a proper policy file in place when executing a published Xcelsius flash in SAP BI application portal.
    We created a WebService that is running an SAP BI System 7.01. The WebService is function module based and was generated following the wizzard. Afterwards we created a Xcelsius app that consumes data from this WebService (via data connection). The resulting flash from Xcelsius was pulished to SAP BI System (portal).
    Since there are many entries in the SDN and the internet in general we finally also created an crossdomain.xml file on the BI system which can be accessed and is visible by using "https://<server>/crossdomain.xml".
    Now the confusion begins: We exported the flash from Xcelsius to local desktop and executed the corresponding HTML-file. It's working and I can receive/see WebService data (after adjusting flash-security-settings). If we upload both exported files (html and swf) to the BI system (as MIME objects) and execute the html again we are also receiving WebServervice data. So far so good. But if we execute the link from the SAP BI Portal (Xcelsius menu > SAP > Start) we still get the error #2170 indicating we don't have a proper domain policy file in place. But for my understanding we do have. So currently I would assume the error message is somehow misleading.
    During all the activities I found out that this error is also raised if the user has insufficient authorization. My user has SAP_ALL authorization for testing purpose.
    In general I would say we are not that wrong with our Xcelsius/WebService if we are not coming from BI portal. So my questions are:
    1.) Are there any authorization on portal side that might not fit and lead to this error? If insufficient authorizations produces such an error ...
    2.) Did we miss any other stuff during our try/fail-operations?
    Many thanks in advance for your hints.
    Steffen

    Hi Rajat,
    This is how the default trace looks
    FATAL: Application Servlet failed to notify devices.
    Caught java.rmi.RemoteException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (503) Service Unavailable. The requested URL was:"http://<<server>>:50000/ManagementService/ManagementService?style=document"
         at com.om.mws.standaloneproxy.ManagementServiceBindingStub.notifyDevice(ManagementServiceBindingStub.java:1289)
         at com.om.mws.standaloneproxy.ManagementServiceBindingStub.notifyDevice(ManagementServiceBindingStub.java:1298)
         at com.om.ApplicationServlet$NotifyDevices.run(ApplicationServlet.java:86)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (503) Service Unavailable. The requested URL was:"http://<<server>>:50000/ManagementService/ManagementService?style=document"
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:980)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1430)
         at com.om.mws.standaloneproxy.ManagementServiceBindingStub.notifyDevice(ManagementServiceBindingStub.java:1282)
         ... 2 more
    java.lang.NoSuchMethodError
    at java.lang.Thread.destroy(Thread.java:779)
         at com.omApplicationServlet$NotifyDevices.run(ApplicationServlet.java:92)
    Rgds
    Shashank

  • AS2 Crossdomain.xml and sendAndLoad

    I have a flash form with input text fields. I am sending the data to a 3rd party server. I can send the information via getURL but I want to send the data without opening a browser window so I am utilizing sendAndLoad. It works great locally but not through a browser (tested in IE and Firefox). I have verified that all the variables and urls are in the correct case, I have tried both Post and Get, I have tried network and local... Ugh! I am losing my hair on this one please help asap!!!
    Here is the file - click on the second image...
    http://www.axonmediagroup.com/adimag...directbuy.html
    Here is the code...
    on (release) {
    if (first_name.text.length == 0) {
    error.text = "** First Name Required **";
    } else if (last_name.text.length == 0) {
    error.text = "** Last Name Required **";
    } else if (address1.text.length == 0) {
    error.text = "** Address Required **";
    } else if (city.text.length == 0) {
    error.text = "** City Required **";
    } else if (state1.value == "") {
    error.text = "** State Required **";
    } else if (postal_code.text.length == 0) {
    error.text = "** Zip Required **";
    } else if (phone_home.text.length == 0) {
    error.text = "** Phone Required **";
    } else if (email.text.length == 0) {
    error.text = "** Email Required **";
    } else {
    System.security.loadPolicyFile('https://app.leadconduit.com/crossdomain.xml');
    var myloadVars:LoadVars = new LoadVars();
    myloadVars.RName = 'AxonMedia';
    myloadVars.AdReferenceID = '944E5433-F8B5-44FF-8085-E4A1D0D844E9';
    myloadVars.ReferenceID = '040E5D57-3A1A-412D-A1F4-B45BD48AE791';
    myloadVars.SUBID = 1;
    myloadVars.xxNodeId = '050l0tjhd';
    myloadVars.xxTest = 'true';
    myloadVars.Country = 'USA';
    myloadVars.first_name = first_name.text;
    myloadVars.last_name = last_name.text;
    myloadVars.SpouseName = SpouseName.text;
    myloadVars.address1 = address1.text;
    myloadVars.city = city.text;
    myloadVars.state1 = state1.selectedItem.label;
    myloadVars.postal_code = postal_code.text;
    myloadVars.phone_home = phone_home.text;
    myloadVars.email = email.text;
    trace(myloadVars);
    myloadVars.sendAndLoad("https://app.leadconduit.com/v2/PostLeadAction?",myloadVars,"POST");
    myloadVars.onLoad = function(success:Boolean) {
    if (success) {
    error.text = "Thank you for contacting us!";
    } else {
    error.text = "Error connecting to server.";
    Here is the code that works via browser...
    on (release) {
    if (first_name.text.length == 0) {
    error.text = "** First Name Required **";
    } else if (last_name.text.length == 0) {
    error.text = "** Last Name Required **";
    } else if (address1.text.length == 0) {
    error.text = "** Address Required **";
    } else if (city.text.length == 0) {
    error.text = "** City Required **";
    } else if (state1.value == "") {
    error.text = "** State Required **";
    } else if (postal_code.text.length == 0) {
    error.text = "** Zip Required **";
    } else if (phone_home.text.length == 0) {
    error.text = "** Phone Required **";
    } else if (email.text.length == 0) {
    error.text = "** Email Required **";
    } else {
    System.security.loadPolicyFile('crossdomain.xml');
    var RName = 'AxonMedia';
    var AdReferenceID = '944E5433-F8B5-44FF-8085-E4A1D0D844E9';
    var ReferenceID = '040E5D57-3A1A-412D-A1F4-B45BD48AE791';
    var TimeFrame = 0;
    var SUBID = 1;
    var xxNodeId = '050l0tjha';
    var xxTest = 'true';
    var Country = 'USA';
    var first_name = first_name.text;
    var last_name = last_name.text;
    var SpouseName = SpouseName.text;
    var address1 = address1.text;
    var city = city.text;
    var state1 = state1.selectedItem.label;
    var postal_code = postal_code.text;
    var phone_home = phone_home.text;
    var email = email.text;
    getURL("https://app.leadconduit.com/v2/PostLeadAction?", "_blank", "GET");
    error.text = "Thank you for your response!";
    }

    Sounds like the update for Flash 8 may help.

  • FLASH and Co only via download?

    hi friends
    mostly I use my computer with my premiere elements 13 offline.
    but when I try to make exports for the internet on this maschine,( my private website where I will show my hollidayvideos) I cant do th exports/publishings cause premiere
    needs to go online. did I make mistakes while installing it? why cant export/publish -for example flash- in offline mode?
    my idea was to take the footage from the camera, edit it, export it to my harddisk, and when I am back home, than I will load it up the my website. seems to be a nogo?
    hope that there is a solution. if it is a feature, that premiere elements doesnt have all options and can only do the job when online with ADOBE, then I realy have a problem.
    but I cant beleive that, ADOBE must tell this prior to sell to the customer if the product doesnt work in offline mode with all features.
    brgds
    peter

    if you are interested...
    VirtualDub doesnt read my footage (unknown codec and format!)
    today I will check the free flash konverter, but this file needs AVI!my weekend will become exciting....I am downloading some more free stuff.
    and next time when I go to holliday maybe I take another option with my camera.I was so proud that this little thing does that realy good looking fullHDs, so I filmed the two months in Portuagal in this format.
    and -by the way- the Toshiba TV of my doughter also doesnt play the clips from the cam!!
    my Samsung and our Computers does!
    and it realy lookes great 1920x1080 60p!
    the sound from the cam is unusable, on the Algarve Cliffs there was a strong wind - I do the sound on my computer, ..
    brgds
           Von: Peter Kremeier <[email protected]>
    An: "[email protected]" <[email protected]>
    Gesendet: 12:22 Freitag, 20.Februar 2015
    Betreff: Re:  FLASH and Co only via download?
    hi
    I see the menue-point to publish to an private website. I thought this would give me a file which I can upload with my upüload-tool for my website later and first check it offline.
    but I cant export/publish or whatever, cause the prog always wants to connect to ADOBE.and -sometimes I am in my mobilhome or at home and there it collides with my firewall.it doesnt connect to youtube, ist ADOBE - I can see this!
    I have lost the game, yes I was missinterpreting but now I am much more clever..;-)
    so I must realy look for another software?
    and: if a company says that their software supports AC3 - I must be aware and ask what they meanandif they say that they will support YOUTUBE publishing, than this might be that first ADOBE wants to see the clip.otherwise I dont unerstand why the connection doesnt direct to YOUTUBE but to ADOBE!
    what ever I try the connection is always to ADOBE, everytime! (tried several times..and I can watch what the program does!) this is NOT a first time activation, looks like that they want give away the codec.
    for 5.1 (AAC) your first help was sufficient, I could made the mp4 with a 6-channel AAC, but cant mix the channels in PREMIERE.
    and I make the sound in channelorder for AC3 5.1, the channel with AAC are in different order as you know.so I cant use it....
    its stripping down my too high expectations, PREMIERE Elements is just for cutting off the unwanted parts of a clip or doing some transitions or assemble some takes together - thats all.
    this weekend I start testing VirtualDub and the other freeware programs. and I will write to see how VEGAS works.VirtualDub does cooperate with AFTEN - my AC3 encoder, anyway I am very sceptical,  and there should be a programm called DIRECTOR anything, I have to search for this..they say it supports AC3 (hahaha) and exports for internet use...(LOL)
    brgdsand have a nice weekendand thank you very much for the assistence
         Von: A.T. Romano <[email protected]>
    An: Peter Kremeier <[email protected]>
    Gesendet: 21:03 Donnerstag, 19.Februar 2015
    Betreff:  FLASH and Co only via download?
    FLASH and Co only via download?
    created by A.T. Romano in Premiere Elements - View the full discussionPeter Thanks for the reply with additional information about your situation.I am not affiliated with Adobe in any way. I am just a Premiere Elements user in the Adobe Premiere Elements Forum who has an over activetroubleshooting gene and shares Premiere Elements information. It seems like you might have misinterpreted PublishShare/Private Websites since I see no way for you to connect from there to your private website. As mentioned, Premiere Elements PublishShare/Private Websites points to Facebook, Vimeo, and YouTube (all requiring an Internet connection). Considerations about 1080p50 video with Dolby Digital 5.1 channel audio imported and exported from Premiere Elements....1. Premiere Elements offers project PAL NTSC AVCHD AVCHD1080p50 for stereo, but not the one which includes 5.1 channel in its description.But I can show you the way to create your own "PAL NTSC AVCHD AVCHD 1080p50 5.1 channel" project preset.ATR Premiere Elements Troubleshooting: PE11: Exporting a 1080p50 or 1080p60 file with 5.1 Channel AudioI have more information on Premiere Elements and 5.1 channel if you need it. Using these special presets you will have limited opportunities toexport to file which includes 5.1 channel audio, but the audio will not be Dolby Digital 5.1 channel....one example aac 5.1 channel. We can also discuss the extent of 5.1 channel editing in Premiere Elements. But right now your immediate need seems to be an offline software where you can pre-test your candidate uploads to your private web site.Premiere Elements offline can get you to the export to file in various formats saved to your computer hard drive. You can run into features whichrequire first time use one time activation. That is going to need an Internet connection.  If you need clarification on any of the above, please do not hesitate to ask. Best wishes. ATR If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7211431#7211431 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7211431#7211431 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" 
    Start a new discussion in Premiere Elements by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Crossdomain woes

    I have an http app that is making a webservice call via https
    to a remote server. I have (i think) defined the appropriate
    domains and ports in the crossdomain.xml place at apache's web
    server root. I get an error that says "security error accessing url
    destination: defaultHTTPS". Is there something i can set in the
    app's crossdomain or the web server host's cross domain to make
    this message go away - or can a http app not make https web service
    calls? thanks - dumb down your answer please - newbie here. p.s. -
    the error started with flash update 9.0.124.

    Ya, but that only works if you are using
    http://api.search.yahoo.com/crossdomain.xml
    for searching yahoo. I am not. I am actually getting the weather,
    which is a different domain (
    http://xml.weather.yahoo.com/forecastrss)
    so, I have to create the hack. ;)

  • Crossdomain restrictions

    I'm trying to make an app that will call out to two websites that I don't own, using HTTPService (and one of the websites I want to communicate via SSL). I read that Flash has some crossdomain restrictions on this, and that I'd have to have a crossdomain XML policy file on those domains to have my app be able to fetch information from them, but as stated I don't own the domains. I can't use a proxy either, because the site needs the actual user's IP logged and won't work otherwise. Is there a way I could have it connect? Even if it has to display a warning dialog for the user to click Agree on, that's ok.
    Sorry if I sound like a retard, I'm fairly new to this and this is probably the second thing I've made and first thing made from scratch.
    Regards

    The websites my application have to access is:
    My own, via HTTPS
    reCAPTCHA to fetch a challenge string, via HTTPS
    A separate website, via HTTP
    My own, I can host any type of required policy file. I'd of course need help with what the policy file needs to include, though.
    reCAPTCHA, I need to fetch a challenge string, which then is used to fetch the CAPTCHA (https://api.recaptcha.com/image?k=<challenge string> i think) and later I need to submit the answer there to check it.
    A separate website, after I check the answer with reCAPTCHA it will give me a token which my application then needs to submit to that website.
    All requests are currently through HTTP, I don't know how to communicate through HTTPS yet and need help with that.
    With the separate website, it's a type of ranking website that needs all of the requests to it to be through unique IP addresses, and so I need the applet to send/receive data to/from that website directly from the user's computer.
    reCAPTCHA checking involves submitting the value of $_SERVER['REMOTE_ADDR'] which reCAPTCHA checks to make sure is the IP address that requested the CAPTCHA, so I need the applet to send/receive data to/from that from the user's computer as well.
    My own website, I can add any workaround on that as I want.
    You may know, there's no hope of me getting Google to add a policy file or whatever onto reCAPTCHA without it going at least a few months of approval process and also there's no way I can use a proxy because then the IP logged is the proxy's IP rather than the user's IP.
    Not sure what you mean by sandbox. I'm currently using HTTPService if that helps at all, it works fine locally but if I try HTTPS it won't work, and if I try loading it onto my website it will never load the CAPTCHA.
    Regards.

  • Can I use third party web services that communicate via http-post with webui builder?

    Hi, 
    I have 5 computers (services) that are controlled via http-post. 3 of these services are implemented as labview webservices, 1 is labview socket (with python http-wrapper) and the last one is implemented with c# (lighttpd + cgi). 
    Can I use webui builder to controll all of them? Or, what is the simplest change so I can use webui builder?
    What I would like to do, is to change the current javascript-UI to labview-webui. For the interfaces implemented with labview webservices, this is not a problem. For non-labview services, I don't know if it is even possible.
    br,
    Juha

    To add to Mike's answer, the only caveat is that the server needs an appropriate clientaccesspolicy.xml file at the root level (http://yourserver/clientaccesspolicy.xml), or a completely open crossdomain.xml file, for the editor and built apps to be able to communicate with it. There's a help topic which explains this in the context of LV web services, but it's true for Web UI Builder to be able to communicate with arbitrary web servers also.
    Since it sounds like you control all the web servers in question, it shouldn't be too difficult to get this file in place, though.

  • Httpservice to localhost doesn't work in Flex4... Even with crossdomain.xml

    So, this was working before I recompiled with Flex4, (In Flex 3.5) and now I can't get the following to work....
    Story:
    I'm using httpservice in flex like:
    <mx:HTTPService id="getConfig" url="http://localhost/parser.php" method="POST" showBusyCursor="true" resultFormat="e4x" result="xmlresultHandler(event)" fault="faultHandler(event)" />
    Everything is in my root directory on my web server. When run in debug or directly from flashbuilder, the call works fine. If I run a release build, and FTP the release to /var/www (my root), and try to browse to the server, the website pulls up, and the swf file runs, but I always get a
    Fault:Channel.Security.Error
    FaultString:'Security error accessing url'
    faultDetail:'Destination:DefaultHTTP'
    when it trys to read the httpservice.
    I do have a crossdomain.xml file in my /var/www (webroot) folder with what I see as super permissive settings.... Below:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <allow-access-from domain="*" to-ports="*" />
    <site-control permitted-cross-domain-policies="all" />
    <allow-http-request-headers-from domain="*" headers="*" />
    </cross-domain-policy>
    Any help would be GREATLY appreciated.

    Thanks for the info Flex harUI,
    So I tried bringing up the 3 files (crossdomain.xml, main.swf, and parser.php) from a browser and they call exist and are reachable.
    So I get the localhost vs. absolute address this. That makes sense. So I recoded the httpservice call to url="http://10.101.50.60/parser.php". Which is the actual fully qualified address in this case (There is no DNS server), and what I'm pulling up in the browser is "http://10.101.50.60/index.html". So after making this change, I can still access and have everything working in Flash builder, but again, when I standalone compile and upload the main.swf to the var/www directory and pull it up in the browser via http://10.101.50.60/main.swf. I get "Security error accessing URL". So basiclly, same thing.
    Spent two days on it now.....

  • Will I need a crossdomain.xml file?

    I have been working on my first Flex application and it
    builds several menu structures based on data received from external
    XML files. Everything works fine when running the project within
    Flex Builder but when I move the build directory (/bin) to another
    location it does not load my menus. I have since found out this is
    because of the security setting the projects build directory gets
    and to get my files to work elsewhere I will need a crossdomain.xml
    file.
    After researching how crossdomain.xml files work I'm
    wondering if in my case I should even need one because the files my
    SWF are loading will already be placed on the local machine - not a
    server. Still, the application is not working so I have tried a
    crossdomain.xml anyways using the following code:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "
    http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <allow-access-from domain="192.168.*" secure="false"/>
    </cross-domain-policy>
    The file seems to have no effect (althought the "192.168.*"
    string I used may not be what I want) and I'm looking for other
    options. Also, I was originally getting my XML from an HTTPRequest
    but am now using a URLRequest() which then converts the content to
    XML which I find cleaner in the code.
    Any ideas keeping in mind this application will have all its
    content loaded from CD onto the users local drive?

    This is always a little confusing. Here's how it works. The
    Flash Player is aware of which domain is referenced when the first
    SWF is loaded. The "domain" could be www.adobe.com or
    labs.adobe.com or 192.168.0.100. The Flash Player thinks of this as
    its home domain. Any reference to any other domain is a security
    concern. Even if that happens to be "localhost".
    Things work from Flex Builder because Flex Builder registers
    its directories with the Flash Player and makes everything have the
    security level of "local-trusted". This means your Flex app can
    load files from anywhere - the local file system (via HTTPService
    for example, not a direct read of the file) or from the network.
    When you move your SWF to another place, such as a web
    server, that server's domain becomes the home, trusted domain for
    the Flash Player when it loads a SWF from there. If your data file
    is in the same domain as the SWF (eg, in the same directory or a
    sub-directory), then the Flash Player won't have a problem loading
    it.
    HTTPService url="mydata/myfile.xml" or
    url="/flex/mydata/myfile.xml" work because they are relative paths
    to where the SWF is located and thus, in the same domain. However,
    if you do: url="
    http://localhost/mydata/myfile.xml"
    and the SWF is now coming from a web server in a different domain
    (foreign domain), then its a security problem.
    In order for the Flash Player to be allowed to load data from
    outside the home domain, there must be something that authorizes
    it. That's the crossdomain.xml file. When the Flash Player sees
    that you are going to load a file from a different domain, it asks
    that domain for its crossdomain.xml file. The Player then looks to
    see if its home domain is among those allowed to access files. If
    not, security error. If the home domain is present, then the file
    is requested.
    The crossdomain.xml file should list the home domain of the
    SWF, not your machine's domain or IP address. For example, suppose
    the SWF is now on adobe.com and is launched like this:
    http://www.adobe.com/flex/YourApp.html.
    The Flash Player will assume that www.adobe.com is its home domain.
    Even if you are in the abcxyz.com domain.
    Now your Flex app wants to load
    http://localhost/mydata/myfile.xml.
    The Player will ask for
    http://localhost/crossdomain.xml
    and look to see if www.adobe.com is allowed access.
    To recap:
    The domain of the first SWF loaded
    into the Player is the home domain.
    Any access to data outside of the
    home domain requires a crossdomain.xml file.
    The crossdomain.xml file should be at
    the context root of the domain (eg,
    http://www.adobe.com/crossdomain.xml
    or
    http://localhost/crossdomain.xml).
    The home domain must be granted access to load any resources from
    the foreign domain.
    If you are using Flex Data Services and you have
    useProxy="true" on your data service request, then some different
    security rules apply. Let us know if that's the case.

  • Importing Video via USB??

    How can I import video vith sound via USB? I have some family cassets and I bought this analog to digital converter but it is for PC I tought I can just plug it in and capture it with i-Movie but I was wrong. Is there any other way to do this? Please help.

    Hi Roman,
    welcome to this forum
    iMovie is an edit app meant to work with firewire connected miniDV camcorders
    so, a usb connected PCconverter will not be recognized by iM, and probably will not be recognized by any Mac app... Mac: there's coming in some data from some usb-device, what shall I do? help....
    you can give the "image capture app" in your utilities folder a try, but I would be surprised, if THAT combo works... no, PChardware on a Mac... in many cases a NoGo....
    as Grandpa told me:
    buying cheap means buying twice......... :-/
    From VHS to DVD
    Give New Life to Old Movies
    http://www.macworld.com/2004/05/features/fromvhstodvd/

  • Graphical artifacts when animating scrollRect property in ENTER_FRAME handler?

    I tried to animate a drop down menu by assigning a rectangle to the scrollRect property of the menu.
    The rectangle's width is fixed, and the height of the rectangle is animated from zero to the final height of the menu over a 250ms interval.
    The alterations to the scrollRect originate from a master handler for ENTER_FRAME, which runs a series of registered task functions, one of which is my menu animation function.
    As the menu drops down, various areas of the child DisplayObjects, including the background, fail to draw completely.  If I resize the stage at all, then everything is redrawn properly.
    Are there any known problems with animating the scrollRect property when:
    altering a scrollRect from within an ENTER_FRAME handler
    when child objects also have a scrollRect set?
    The exact regions that fail to draw are inconsistent each time the menu drops down, but they occur in the standalone player as well as in web browsers such as Firefox and Internet Explorer.
    See video here: glitches2.mp4 - Google Drive
    It clearly doing something wrong, as evidenced by the redraw regions at the end of the animation (see image).  At the end of the animation, the scrollRect is set to null.  The bottom of the menu is still not updated, and neither is the drop shadow filter on the menu.
    Update: The artifacts go away if I set cacheAsBitmap to true: glitchesRemoved.mp4 - Google Drive
    Interestingly, they also go away if I remove the dropShadow filter from the background child control and leave cacheAsBitmap off.
    Anyway, this problem seems to manifest itself specifically when animating the scrollRect property of an object with cacheAsBitmap set to false that contains a child control with a filter applied.
    Here is a final video with everything working.  The drop shadow filter is on the object itself, rather than the background, which sets cacheAsBitmap to true as a side effect:
    glitchesFixed.mp4 - Google Drive

    I'm just animating the scrollRect property to achieve a simple clipping effect that reveals the menu.  Once per frame, it updates the scrollRect property, assigning a new rectangle with a height of "p * height", where p is the percentage through the animation (0 to 1).  There is nothing, otherwise, happening to the DisplayObject during the animation of that property.  The DisplayObject's height is not changing, nor are any other properties changing (besides scrollRect), so it's essentially static while it's being revealed.  When the scrollRect's size is increased frame-by-frame, Flash Player is simply failing to render the entire clipped area, almost as though there is a frame lag such that it's rendering the clipped area from the last frame, rather than the new area exposed by the latest value of scrollRect.  When I simply turn on cacheAsBitmap, it renders correctly and completely.  The only "interesting" thing about the menu would be the DropShadowFilter applied to a child, so my best guess is that there's some sort of bug in Flash Player's rendering system involving scrollRects whose size changes when one or more child objects have filters applied (just a guess from what I'm seeing).  To fix it, I moved the DropShadowFilter off the child object and onto the menu itself, which kills two birds by forcing cacheAsBitmap on (removes the artifacts) and also ensures the drop shadow is applied to the clipped area rather than being clipped by the scrollRect.  I'd imagine I could replicate this easily in a simple FLA that I could post, so I 'll try that.
    As far as the "sophisticated" nature of the framework, I was primarily referring to its layout engine, in the sense that it's non-trivial, finely-tuned, and powerful compared to existing offerings. There are no Stage3D effects; I ruled out using that years ago when I was seeing graphical artifacts throughout the display list whenever any 3D effects were applied (even setting DisplayObject.z to zero), because it seemed to change something about the overall rendering mode.  For example, I took these screenshots in 2010 and posted them to the bugbase:
    What started off as a slight offset that appeared when 3D rendering was active, turned into very obvious glitches at the edges of objects, as revealed in the latter two images; the random speckles of color and the yellow lines at the bottom and right edges of the button are not supposed to be there. (The striped lines in the overall background are supposed to be there; they are part of a "circle splash" shader filter that collapsed in from the edges of the screen making it look like the background is being eaten by the event horizon of a black hole, haha.)
    Anyway, the MenuTest.mp4 video I posted is actually using off-screen rendering to BitmapData via DisplayObject.draw, along with the application of a blur and tinting for the glass effect.  The real-time ripple effect is rendered with an animated ShaderFilter I wrote with PixelBender.

  • Unable to capture audio from BlackMagic HD Extreme via Voice Over tool

    Hi !
    I'm trying to capture audio via my BlackMagic HD Extrem card using the Voice Over tool in FCP6, but I can't, no audio is incoming.
    I can ingest audio with video using log and capture, then I know my card and my cables are working.
    I tried to set the BM card as audio input in my Audio's System Prefereces Pane, but it isn't working either.
    I've been looking on the BM website, but I found nothing.
    Can you help me ?
    Thx

    Thanks for the reply.
    Looking at system preferences I found that audio input was set microphone. Don't know how it happened. I switched it to DeckLink and now FCP displays 16 input channels in Log and Capture dialog. I didn't try to capture yet but I think it solved the problem, because before I had only two channels displyed.

Maybe you are looking for

  • Unable to run my pages from jdeveloper

    Hi all, From past 2 days am unable to run my OAF pages, actually what i did is i deleted the environment variable and again created a new one. I dont know why am unable to run the pages... The Error Which it is throwing is "Unable to run the page Dia

  • Question about writing a text file

    As we know, we can write a text file using class "FileWriter". I did a test (Please see the code below). I found that if I used Notepad to open it, it would show "ab", But if I used "MS Word" or "UltraEdit" to open it, it would show " 'a' , new line

  • TS3212 Error Message when Downloading iTunes 10

    When attempting to download itunes for windows (Windows XP), I get the following error message, "The system administrator has set policies to prevent this installation," so I am unable to complete the installation.  Any suggestions?

  • How to access links in album art in iTunes 11?

    In particular podcasts often have links in their album art. Clicking on it while the album art was shown in the lower left corner of iTunes 7(?) through 10 send you to a website with more info about the podcast or the particular song playing (what wa

  • HT4910 how can i backup my photos from my macbook pro into icloud ?

         hi can you help me how to backup all the files in my macbook pro into icloud in want to save may photos to icloud i hope for your kindly response thnaks