WebService with remoting and AS3

Hi at all,
last day i have ask the solution in order to work with
Webservice with AS3;
I have try to use Remoting before download and install many
3th party
webservice class (like wellconsiderer.com component), but
without
success: i can't call ASMX file with remoting.
<CODE>
import flash.net.NetConnection;
import flash.net.Responder;
var myResult:Function = function(o:Object)
trace("result="+o);
var myStatus:Function = function (o:Object)
trace("status="+o.code+"__"+o.description);
var myResponder:Responder = new Responder(myResult,myStatus);
NetConnection.defaultObjectEncoding = ObjectEncoding.AMF0;
var a:NetConnection = new NetConnection();
a.objectEncoding = ObjectEncoding.AMF0;
a.connect("
http://localhost/webservices/management/Manager.asmx?WSDL");
a.call("loginAdministrator", myResponder,
"username","password");
</CODE>
Why i receive "Error opening URL..." ?
andrew

While I can offer a couple ideas, you'll need to spend some time figuring out how to use Flash... maybe get some formal training with it.
For the photographs, create each set of them as a movieclip, and give each movieclip an instance name so that you can control its visibility using code.  Initially you will want to set the visible property of them all to false, likely done in the first frame of the timeline (ex: imageGrp1.visible = false; ).  Then you will use your buttons to make them visible.
To code one of the buttons, you need to assign it an instance name as well.  Then you need to assign an event listener for that button to detect when it gets clicked, and an event handler function to go with the event listener... the listener calls the function into action when the event occurs.
ex:
// the event listener for a button with an instance name of imgGrp1Button...
imgGrp1Button.addEventListener(MouseEvent.CLICK, showGrp1);
// and the event handler function for the CLICK listener
function showGrp1(evt:MouseEvent):void {
      imageGrp1.visible = true;
If you want to hide any visible set when you select a new one, then you can create a function that sets them all visible = false and call that function both at the start in frame 1 and in each button event handler function (before you set the selected set to be visible).

Similar Messages

  • Does the ipod nano come with Apple Earphones with Remote and Mic

    does the ipod nano come with Apple Earphones with Remote and Mic

    Click on the Ipod gray tab at the top of this site.  There you will find all the information you need about the model iPod you wish to purchase. 

  • My Apple Earphones with Remote and Mic White For iPhone says: made ​​in vietnam. i want to know if they are OEM?

    My Apple Earphones with Remote and Mic White For iPhone says: made ​​in vietnam right in the cord. i want to know if they are OEM? here my email: [email protected], thanks.

    Accidental damage is not covered under the warranty but if possible to reset the screen without causing additional damage, the Apple Store should do this without charging for it.

  • Using Apple Earphones with Remote and Mic on my Macbook

    Is it possible to use the remote to control volume on my macbook? I know the mic works but I can't get the remote to. Is it even possible to use the remote?

    I have a unibody Macbook with OSX 10.6.1 and it works with my Apple Earphones with Remote and Mic. However, whenever I plug them in to the Macbook it takes up to 10 seconds for the volume and tracking controls to start working on the earphone remote. Also, if there is music playing in iTunes, the audio drops out for about the same amount of time. The hardware buttons on the Macbook also stop functioning during this time. The same behavior occurs when unplugging the earphones.
    Basically, it seems like the Macbook is extremely slow when adding / removing the earphones as an audio control device.
    Has anyone else noticed anything like this? Thanks!

  • Does Apple make/sell the new "Apple In-Ear Headphones with Remote and Mic" with a one sided configuration? So that a person that is deaf in one can hear both sides of a stereo recording? Also, since the "other" bud is not necessary/useful...it's removed.

    Does Apple make/sell the new "Apple In-Ear Headphones with Remote and Mic" with a one sided configuration? So that a person that is deaf in one can hear both sides of a stereo recording? Also, since the "other" bud is not necessary/useful...it's removed.

    As far as I know, Apple sells no such configuration.  However, under Settings > General > Accessability, there is an option to play back audio in monoural mode, which would then play both halves of a stereo mix in each earbud.
    Hope that helps.

  • Develope complex WebService with JDeveloper and deploy to tomcat

    Hello,
    I am thinking of developing a complex WebService with JDeveloper and deploy it to tomcat.
    The WebService should retrieve a few "normal" datatypes and a pdf and a few images. I try to store the pdf and the image in an Oracle DB as BLOB.
    My idea ist to create a Package which selects the values, pdf and the image and retrieve them as the output paramter.
    Then I want to create a WebService with the JDeveloper which calls this Package. This WebService should be published on a Tomcat.
    My first question is if that is possible?
    I think there are few problems.
    I searched the forum about deploying a JDeveloper WebService to Tomcat, but I can not find a whole solution which is going to work. I read something about JAX-RPC, but I am new to this topic. So it would be very nice, if anyone could tell me where I can find the solution or post a quick guide to solve that.
    Another question is how I have to decode the images and the pdf to provide those files in a WebService?
    I would be very glad if anyone can help me or tell me where I can find information about that, becaus I am new to this topic!
    Thank you,
    Tim

    Hi,
    does anybody have an idea about that?
    Thanks,
    Tim

  • Hello!  I need Apple (!!!) headphones for Ipod Shuffle 3! (only apple earphones with remote and mic!!!) Tell me, what distinguishes the model are presented in black and white boxes? They may differ in features? Can one model is more modern than the other?

    Hello!
    I need Apple (!!!) headphones for Ipod Shuffle 3! (only apple earphones with remote and mic!!!)
    Tell me, what distinguishes the model are presented in black and white boxes? They may differ in features? Can one model is more modern than the other?
    Thanks in advance!

    Hi Fencer1986,
    I apologize, I'm a bit unclear on your request. If you have questions about headphone compatibility for your iPod shuffle 3rd Gen, you may find the following article helpful:
    iPod shuffle (3rd generation): About headphone compatibility
    http://support.apple.com/kb/ht3472
    Regards,
    - Brenden

  • Earphones with Remote and Mic (for Voice Recorder??)

    Hello, today I find this Earphones with Remote and Mic on Apple store:
    http://store.apple.com/us/product/MB770
    It will work on iPod touch (2nd generation), so does it mean the voice recorder app (bought from App Store) is going to work on the iPod touch (2nd generation) as well?? Or the Mic is just working for the phone function??
    Anybody know?
    Thanks.
    Raymond

    We were talking about the $29 ones...they seem to be out of stock online (?)..the $79 haven't been released yet....
    here's some real cheap ones on amazon....varying reviews....other options listed as well...
    http://www.amazon.com/Stereo-Headset-Built-Microphone-Button/dp/B000VVERJI/ref=s r1_1_s9rk?ie=UTF8&s=electronics&s9r=8a10809b1c651770011c93b305dd04c4&itemPosition=1&qid =1224523249&sr=1-1

  • How does Apple EarPods with Remote and Mic(MD827ZM/A) work with iPod 3rd Generation

    I have recently bought EarPods With remote and mic (MD827ZM/A) for my old iPod shuffle (3rd generation) Software V 1.1,  capacity 2GB
    but these EarPods doesn't seems like working with my iPod, any possible solution ?

    You can also get an "adapter," that has compatible remote control buttons.  There are several such products, for example
    http://www.amazon.com/iLuv-iEA15wht-Adapter-Earbuds-Headphones/dp/B002RL9WE0
    You can then connect the any standard headphones to the adapter, including Apple EarPods.

  • Will the iPod touch come with Earpods with Remote and Mic?

    Will the iPod touch come with Earpods with Remote and Mic? Will they be the Sam that come with the iPhone?

    No, it does not come with Remote and Mic, but it will come with the new design. (dosen't say on tech specs)

  • Problem With Remote, and strange error that crashes diagnos

    Hey guys. I'm a n00b to the forum, but I think this is my best hope. I'm having this problem getting my remote to work, and I'm getting an error that appears to common, but I haven't been able to find a solid solution. I can't do a reload, since I have savegame files that can't be backed up, and a large home-video backup on this computer. I don't have enough DVDs to back it all up onto. The one thing that I REALLY want to work is the Remote. For some reason it won't work. I know it isn't the battery, because it worked fine before I reloaded this system last (September?), and I have tried a new battery in it. I've also tried turning up the sensitivity settings. I've noticed the red light occaisionally flickers on the Creative Hub thing when I'm not even touching the remote. When I try to run the diagnostic program I get an error (The instruction at "0x77f536f7" memory "0x00000000". The memory could not be "written". Click OK to Terminate the program, or Click CANCEL to Debug the program) I've tried clicking CANCEL on this, and that does nothing but pop up the error message (The instruction at "0x084c42f" referenced memory at 0x00000008". The memory could not be "read". Click OK to terminate the program). Clicking OK on the previous window also gives you that error. Clicking OK on the error just mentioned closes down the diag program. I've tried using the Restore Defaults option, and that didn't fix the problem either. I've also run DocMemory on my computer, and according to it, my RAM is fine. As far as product updates go, I've downloaded them all and installed them all too. Everything works but the remote... and I think it may be partially b/c of the supposed RAM-based error. I haven't tried running it in safe mode yet... I'll try that and get back to you ASAP.
    --> Creative Soundblaster Audigy 2 ZS Plat. Pro.
    --> 52mb OCZ DDR400.
    --> AMD 64 3000+
    --> 20gig WD HDD
    --> 28mb PowerColour ATi Radeon 9200se
    --> Asus WiFi B
    --> XP Home
    I'm a huge computer junkie so feel free to go technical on me. Hopefully somebody can fix my problem.
    Thanks,
    -Richard-
    btw: I often see these same errors when shutting down my computer.
    [EDIT: 2/26/2004 @ 0:43PM]
    Okay, I just tried running the diag in safemode... still came up with the errors.
    -Richard-Message Edited by wardrich on 2-27-2004 03:40 AM

    Wardrich,
    There are a couple of things I would suggest. First off I would make sure that the remote control is enabled in Mediasource, it is not by default. To do this go into Mediasource and go to Tools/Settings. In here there is a remote control tab. Make sure the remote and the OSD is enabled in here. If it is then we need to look at doing a cleansweep and reinstall of the card. Here are the instructions on cleansweeping the card:
    http://forums.americas.creative.com/...&message.id=72
    Jeremy

  • Trouble using exact_fit with Gaia and as3

    I'm building a flash site (with Flash CS4 and AS3) inside of the Gaia framework.
    I want to let my visitors toggle between Exact_Fit and No_scale, and I've attached the following code to be triggered by the toggle button.
    function toggleExactFit(event:MouseEvent):void
                trace ("Here in toggleExactFit to change StageScaleMode");
                if (stage.scaleMode == StageScaleMode.NO_SCALE)
                       stage.scaleMode = StageScaleMode.EXACT_FIT;
                       this.stage.align=StageAlign.TOP_LEFT;
                else
                    stage.scaleMode = StageScaleMode.NO_SCALE;
                           //  stage.align=StageAlign.TOP_RIGHT;
                trace ("Here in toggleExactFit - stage.scaleMode now = " + stage.scaleMode);
    Here are my import statements:
        import flash.display.*;
        import flash.events.*;
        import com.greensock.TweenMax;
        // Imports used by Global Navigation
        import net.kaegi.navigation.NavigationManager2;
        import net.kaegi.navigation.NavigationButton2;
        import net.kaegi.events.NavigationEvent;
        import flash.text.StyleSheet;
        import flash.text.TextField;
        import com.greensock.easing.*;
        import gs.*;
        import flash.media.*;
        import flash.text.*;
        import flash.display.StageDisplayState;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.utils.Timer;
        import flash.events.TimerEvent;
        import flash.events.MouseEvent;
        import flash.ui.*;
        //import fl.video.MetadataEvent; - ONLY with flv playback component maybe
        import flash.media.SoundMixer;
    This partially works.  When the toggle button is clicked, the site does stretch out to try  to fill the whole screen, but everything is shifted down by about a  hundred pixels and to the right by a couple hundred, so I can't see the  right side or lower part of my website.  I have my stage set to 960 x  620 pixels, and I checked through my different FLAs to make sure content  wasn't spilling past that boundary.
    I was trying to get help on the Gaia forums, but one of theri moderators moved the post, saying this was an actionscript question, not a Gaia issue.
    So, before going back to the Gaia forums, I want to make sure I have my as3 right and haven't overlloked anythying.
    Any suggestions as to what I might have messed up or how to fix it?

    Thanks.  I ran the very test you suggested last night in a standalone fla and the code worked fine, and I sent a note to the moderator this morning (who'd originally pulled my thread as 'non-Gaia related').  The moderator steered me in a new direction (away from exact_fit and toward an onResize function included in Gaia) so trying to get that worked out right now.
    I left my post here because I often get a more nuanced understanding of things after asking questions in the Adobe forums and I don't have much experience with exact_fit, noscale and best practices for resizing and scaling content in accord with browser changes.
    Thanks for your help.

  • What am I missing here with Remote and AppleTV?

    I have my iPhone connected fine. I have an AppleTV with audio played through Apple HIFI speakers. I have a dedicated MacBook Pro that feeds all movies, TV Shows and music to my AppleTV. And it works great. But when I select a movie with Remote, it will only play the movie on the compter screen and not through AppleTV to the large HD screen connected to the AppleTV.
    In my Remote settings I have AppleTV checked and Computer unchecked. I thought this would do it. But no. Movies will only play on the computer screen and not through the AppleTV to the large screen.
    Is this function not supported? The MacBook Pro is setup to stream content to AppleTV. Could this be the problem. I buy all the movies on the MBP and not the AppleTV with only a 40gb hard drive.
    Thanks

    Hello. Can you be more specific about your setup? I have Apple TV synching to an iMac with a 2TB video library. It also streams to my MBP library. Remote will pair and work great with any of our computers but not with ATV. The instructions for ATV say say "choose Remotes from the General menu". I have done that and my iphones shows up there. Trouble is, when I open Remote on my iphone, ATV STILL only shows up under "Speakers", not "Library". What am I doing wrong? Since the ATV has both synched data on it's HD, successfully streams and sees my iPhone under "Remotes" - why can't I control the ATV? How do I get ATV to show up under the "Library" section?

  • Using CreateObject for Webservice with username and password

    When using createObject() to call a web service how do I pass
    in the user name and password required by the service?
    If I do a cfdump on the webservice object I see it has
    setUserName() and setPassword() methods but they don't seem to be
    working.
    I also see there are properties named "USERNAME_PROPERTY" and
    "PASSWORD_PROPERTY" but I can't seem to modify them in code. I
    suppose they are protected.
    example:
    ws = createObject("webservice", "
    http://url.to/wsdl.xml",
    "serviceport");
    ws.setUserName("myawesomeusername");
    ws.setPassword("myawesomepassword");
    myReturn = ws.serviceMethodCall("bla");

    quote:
    Originally posted by:
    MACRStockHolder
    For anyone that encounters the same issue/question;
    apparently you can't apply a username/password to the object call
    like you can when using <cfinvoke> to make a web service
    call.
    FYI Adobe: this is VERY limiting, I have to use a web service
    that uses in/out parameters which to the best of my knowledge
    requires the use of createObject() but at the same time the web
    service requires a username and password which I can only do with
    <cfinvoke>. Looks like I will be writing a compiled custom
    tag just for a workaround.
    According to the docs you can provide a username and password
    by passing a struct containing these items to CreateObject
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_c-d_18.html#45 14398
    If you like cfinvoke use it. You can get return values by
    using the returnVariable argument. I would assume mutliple output
    parameters would be returned in a struct.
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_i_10.html#4001127

  • Webservices with APEX and base64binary

    Hi,
    I'm trying to integrate stellent content management with APEX 3.2. for this I need to create and consume webservices. Stellent has some basic WSDL's that I can use to integrate. One of them is called checkin service and under checkin service we have a sub service called checkinuniversal that I am using to check in content into the content server. the issue that I am facing is that I dont know how to pass base64binary data to the webservice as the filecontent in that WSDL has a format of base64binary. I can manually create the webservice request and post the data to the webservice but that will not be the optimal way. So long story short is there any way to post base64binary data to a WSDL based webservice in APEX?
    Regards,
    Anand

    Anand:
    No, you cannot yet post binary base64 encoded data with a Web service reference based on a WSDL. You will have to use PL/SQL. I have written a blog post on how to do exactly what you are trying to accomplish. See:
    http://jastraub.blogspot.com/2008/06/flexible-web-service-api.html
    Regards,
    Jason

Maybe you are looking for

  • Issue in deleting the old batches in SARA

    Hi, I need to delete few old batches inorder to convert the batch from plant level to material level. I tried tcode SARA. I have run the write portion and system shows the number of objects selected in the job log. I can see the archive sessions also

  • Can I temporarily use the Mac Book Power Adaptor on MBP?

    Hi-- I'm on vacation and forgot my adaptor. But I have access to the Mac Book one. I looked up and they have different wattages--85 vs. 60 for the Mac Book. Can I use the 60 Wattage on my MBP meant for 85? Thanks for you help--Elise

  • ITunes Downloads Wont Burn

    I installed iTunes 7 after re-installing Windows (because I couldn't get the MS Installer to work), and now iTunes will not let me burn songs that I've downloaded from the iTunes Store. I authorized my computer and everything...but nothing gives.

  • Convert from jchar to char

    Does any one know how to convert from jchar to char? Thank you,

  • Problems when enterprise SW selection is driven by non-IT department?

    I have been reading that IT is increasingly being left out of the decision of which Energy & Sustainability Mgt (ESM) system to buy.  Same is said to be true for Corp Social Responsibility (CSR) reporting software.  From my experience this could crea