Is this possible.........? connect to rtmp from XML

AS3 Code
var myXML:XML;
var myLoader:URLLoader = new URLLoader();
myLoader.load(new URLRequest("xmlfile.xml"));
myLoader.addEventListener(Event.COMPLETE, processXML);
function processXML(e:Event):void
          myXML = new XML(e.target.data);
          trace(myXML.Server);
var videoFile:String = "videofilename";
var nc:NetConnection;
var ns:NetStream;
var video:Video = new Video();
nc = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nc.connect(myXML.Server);
function netStatusHandler(event:NetStatusEvent):void
          switch (event.info.code)
                    case "NetConnection.Connect.Success" :
                              connectStream();
                              break;
                    case "NetStream.Play.StreamNotFound" :
                              trace("Stream not found:");
                              break;
                    default :
function connectStream():void
          ns = new NetStream(nc);
          ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
          ns.bufferTime = 5;
          vidDisplay.attachNetStream(ns);
          ns.play(videoFile);
XML Code:
<?xml version="1.0" encodeing="utf-8"?>
<Connections>
<Server Title="office">rtmp://server.rtmp.com/folder</Server>
<Connections>
i getting this error
TypeError: Error #1009: Cannot access a property or method of a null object reference.
          at player_fla::MainTimeline/frame1()[player_fla.MainTimeline::frame1:46]
Line 46: nc.connect(myXML.Server);

myXML is not defined yet... it happens in the processXML function, which does not execute before that line you showed

Similar Messages

  • Is this possible - connect ipod to my macbook and play

    This is one thing I always end up wanting/needing to do, but thanks to DRM I don't think it's possible. But maybe there is a third party hack.
    I'm on the road with 2 ipods (mine and girlfriends). THey contain all my music. THey are synced with my Mac Pro at HOME. I am on the ROAD with my MacBook and iPods. I'm in a hotel and need to play ipod on speakers. There is no inputs on the stereo here and I don't want to lug around speaker every where I go.
    I want to hook my Mac Pro synced iPods to my MacBook, sync TO the MacPro replicating what I have on there, and play. OR connect via USB/Firewire the two, and play on iPod but output top speakers on my MacBook.
    How can I do this, what seems to me, a simple thing. Crimminy!
    Thanks!

    For the first issue, instead of jacking directly into the stereo with no jacks, how about an iPod FM transmitter that you can then play your iPod through any FM receiver?
    As to the second question...
    Copying from iPod to Computer threads...
    http://discussions.apple.com/thread.jspa?threadID=776996&tstart=0
    http://discussions.apple.com/thread.jspa?threadID=805256&tstart=0
    http://discussions.apple.com/thread.jspa?messageID=797432&#797432
    Also these useful internet articles...
    http://www.engadget.com/2004/11/02/how-to-get-music-off-your-ipod/
    http://playlistmag.com/help/2005/01/2waystreet/
    iPod: Frequently Asked Questions
    http://docs.info.apple.com/article.html?artnum=60920
    Patrick

  • Is this possible without PBR - Routing from Specific Host to Any

    Hi,
    I have an issue where I don't currently have PBR options on my core switch. Now I know I can amend the SDM template and enable the routing one then reboot (I'm also runing ipservices). At the moment though this is not an option.
    I have a host - 10.44.129.34 /24 which is a VM.
    Current Gateway is 10.44.129.1 which is SVI on our Core.
    On the Core I'm looking to say -  anything from this specific host going to any remote network - use gateway 10.44.157.6. Is there a way for me to achieve this without PBR?
    I cannot amend the IP of the host IP either due to licensing issues with the software I can;t think of a way to do this without PBR.

    You can identify the traffic with an extended access list. But I can not think of anything you could do with that to achieve your objective other than PBR.
    HTH
    Rick

  • Is It possible connect two router**from console port to console port

    Hi,
    I need this for doing reverse telnet.
    Thanks very much

    No
    you can connect router 1's aux port to router 2's console port.
    line aux 0
    password blablabla
    login
    modem InOut
    transport input all
    find the aux port's line number which depends on the router model then telnet to a live ip on router 1 on that port.
    Worc_3640#sh line
    Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
    0 CTY - - - - - 0 0 0/0 -
    129 AUX 9600/9600 - inout - - - 0 0 0/0 -
    * 130 VTY - - - - - 75 0 0/0 -
    so say 10.1.1.100 2129 if 10.1.1.100 is on that box.
    should get you going..
    Chris

  • I want to upload HTML code from an existing site and then revise in Muse. Is this possible?

    I want to upload HTML code from an existing site and then revise in Muse. Is this possible?

    HTML files from an existing site cannot be reused in Muse as Muse works only with files having extension as .muse.
    However, you use apps like Dreamweaver to edit your existing HTML files.

  • Invoke task from another process defnition - Is this possible

    Is this possible to invoke task from another process defnition?
    PD1 has task1
    PD2 has task2
    call PD1.task1 from PD2.task2
    If possible, then what API method should I use.
    Thank you!

    You would start by using the findObjects API to find all the objects for a specifc user. Then you would want to find the appropriate one from the result set. Then once you find this, you will need to either query the database or use apis to find the task key for the specific task name you want for that process definition. Once you have the process instance key and the task instance key for that user, you can then use the api to insert task into the users process instance.
    Not sure all the APIs to use, but in the end you'll use addProcessTaskInstance found in the tcProvisioningOperationsIntf. You can search the forums for that API and examples of it's usage.
    -Kevin

  • I have the djay app on my ipad and i want to record the set i'm playing on my iphone through garageband. i need to take the sound from the headphone jack of the ipad, as the 30pin connector will be used to connect to the DJLive accessory. Is this possibl?

    i have the djay app on my ipad and i want to record the set i'm playing on my iphone through garageband. i need to take the sound from the headphone jack of the ipad, as the 30pin connector will be used to connect to the DJLive accessory. Is this possibl?reco

    You may get a better response in this community:
    https://discussions.apple.com/community/app_store/garageband_for_ios

  • HT3798 my iPod was originally connect to an old HP. The HP has since died and now I own a Macbook pro. I want to transfer the music from my iPod (originally synced with the HP) to my Macbook Pro. Is this possible without losing the music on my iPod?

    my iPod was originally connect to an old HP. The HP has since died and now I own a Macbook pro. I want to transfer the music from my iPod (originally synced with the HP) to my Macbook Pro. Is this possible without losing the music on my iPod?

    Your iPod is designed to sync with only one iTunes library at a time.  It will recognize the iTunes library on the PC as a new library.  If you sync the iPod with this new library, all content will be erased from the iPod and replaced with what is in the new library.  So what you will want to do is copy everything from the iPod to your new iTunes library on your PC first.
    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • I want to transfer files from a Win XP PC to a Mac using Time Capsule via Ethernet connection.  Is this possible?

    I want to transfer files from a Win XP PC to a Mac using Time Capsule via Ethernet connection.  Is this possible?

    Sure.. the PC connects by SMB.. the Mac connects by AFP or SMB..
    But you can simply share SMB directly from the Mac.. there is no need to copy files through the TC. Go to system preference, sharing, and turn on SMB for the folder you want to share files to / from on the Mac.
    Make sure you have a common username and password also helps.
    If you have a TC already can you copy files to it via the windows machine??

  • Is it possible to edit properties from WebDAV? Like content.xml in CRXDE?

    Is it possible to edit properties from WebDAV? Like content.xml in CRXDE?

    A simple hardware way :
    Use a home DVD player - connect audio and video(YC) outputs to a Canopus AD 100 converter - connect the firewire of the AD100 to your Mac - open log and capture in FCP (select non controllable device) - play the DVD with your remote control - pause - then click capture now - play the DVD. You will get directly DV files on your hard disk.
    This way you won't get headache. Software way is also available (just write to me : [email protected]
    Hung

  • I am unable to initiate a video chat on facebook from a pc to a new ipad mini.  Is this possible and do I need a special app on my iPad?

    I am unable to initiate a video chat on facebook from a pc to a new ipad mini.  Is this possible and do I need a special app on my iPad?   Receivew a message on the PC after request a video chat with the iPad that the connection is too slow and the iPad does not show an incoming video.  JMaruje

    A Mac Mini s a computer you can use with the iPad.
    YO do not need a computer fro backup since yo can backup to iCloud.
    However, sometimes software glitches occur and require connecting the device to a compute to restore vi iTuunes.
    You can control a computer via an iPod with an app like TeamViewer or LogMeIn. There are others too.
    You can also use an iPad a a SECONDAY monitor for a computer. with other apps.
    You need a dedicated monitor,  keyboard and mouse to setup the Mini. You can use a PC USB mouse and keyboard.

  • Is possible to transfer photos from a macbook pro to an iphone without itunes or an internet connection?

    Is possible to transfer photos from a macbook pro to an iphone 5 without itunes or an internet connection? I'm a pro photographer and I need to transfer photos from my camera, edit them, copy photos to my iphone and send via 4G network to an editor. I will be in a location without internet access and my old computer itunes wont sync with my new iphone 5. I can't upgrade the computer right now because I need some of the old software.  Thanks.

    Some decent suggestions for apps to do this in this thread:
    http://apple.stackexchange.com/questions/52332/how-to-transfer-a-file-from-iphon e-to-computer-when-there-is-no-internet

  • Custom Connection Manager only works in 32bit- 0xC0011008: Error loading from XML

    I have a very basic / stripped connection manager with only one property (SSIS 2012). It works fine in design time (you can open the connection manager editor and change the value), but in runtime it only works in 32bit mode. The runtime-validate-method
    does work, but if everything validates OK then in 64bit it throws an error when you run the package:
    Exception deserializing the package "The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information
    can be stored.". This occurs when CPackage::LoadFromXML fails.
    The 2 VS projects are .Net 4 class library projects with the Build Platform on "Any CPU"
    I only add references to:
    Microsoft.SqlServer.ManagedDTS - C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.ManagedDTS\v4.0_11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.ManagedDTS.dll
    Microsoft.SqlServer.Dts.Design - C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.Dts.Design\v4.0_11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.Dts.Design.dll
    Compiled DLL's are available in GAC and SQL Server connections folder:
    I made the sourcecode available via codeplex:
    https://ssisconnectionmanager.codeplex.com/SourceControl/latest#myFirstConnectionManager/2012/myFirstConnectionManager/myFirstConnectionManager.cs
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

    AppPrincipal (identity) related? Hint http://serverfault.com/questions/339747/the-package-failed-to-load-due-to-error-0xc0011008-error-loading-from-xml
    Arthur My Blog
    Hi Arthur,
    Looks like something similar (same message, same 64bit issue), will try that tomorrow! But sounds weird that you should tell SSIS which identity to use...
    Found the same thread in MSDN:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/47d185d3-c801-45cf-becd-3c2524d98353/the-package-failed-to-load-due-to-error-0xc0011008-error-loading-from-xml?forum=sqlintegrationservices
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • Lost Mode and Play Sound are "Pending."  However, iCloud indicates that it connected and backed up to iCloud at a date that is 1 week after it went missing.  How is this possible without locking (Lost Mode Pending an internet connection)

    Hi,
    My wife lost her iPhone two weeks ago while on vacation in London (cell service inoperative in foreign country).  Using Find My iPhone app on my device, I activated Lost Mode and Play Sound.  However, both are listed as "Pending," since it those actions require the phone to connect to the internet (wifi only due to no cellular data coverage.).
    We recently returned home and purchased a new iPhone.
    However, when looking to restore the apps/settings from her old phone using a previous iCloud backup, iCloud indicates that the old phone connected to iCloud and backed up the original phone at a date that is 1 week after it went missing.  How is this possible without locking (Lost Mode Pending an internet connection)?
    If the phone was activated and connected to the internet via a wifi signal, shouldn't it immedately lock, show up on the map, Play Sound, and send me an email that the phone has been found?
    I also read somewhere that if running iOS 7, the iCloud website interface enables you to track previous locations, for instance if the phone moves from wifi hotspot to hotspot.  Is that true?  If so, how do I do that?
    Thank you for your time, and have a great day!
    Sincerely,
    - Matt

    just giving this a wee bump as time is of the essence here and i need advice/ answers quick!
    apologies if i've broke any rules!
    alex

  • I would like to extend the screen from my circa 2013 27in iMAC with thunderbolt onto my circa late 2006 imac using the DVI port on that iMAC. Is this possible? If not is there another approach I can use?

    I would like to extend the screen from my circa 2013 27in iMAC with thunderbolt onto my circa late 2006 imac using the DVI port on that iMAC. Is this possible? If not is there another approach I can use? My 2006 iMAC is showing it's age but I figure I can use it as just a monitor just fine. Assuming I can connect the two together.

    That older iMac isn't designed to receive video input through the mini-DVI connection. Only certain newer iMacs are able to be used as displays.
    Your only options are to use something like ScreenRecycler mentioned above.
    ~Lyssa

Maybe you are looking for

  • How to implement VoIP over SIP in J2ME

    Hi All, This is kapil from India and i want to implement VoIP over SIP in j2me.Any help will be appreciated. I know about SIP API in J2ME. I want to use VoIP over it.Please help.I will be grateful to you. regards kapil

  • Is there any template framework to generate flex pages at runtime?

    Earlier I have worked on Apache Velocity project. With a single velocity template I was able to render 800+ different jsp pages at runtime. Is there any framework/functionality similar to Velocity or Freemarker framework, in flex?

  • Results not appearing in email

    I am having a problem with the email not displaying or attaching results. I have checked all parameters in the quiz preference so that is not the problem. here is what happens: 1. I press send email 2. I get the warning window that the it is attepmti

  • Gallery images not found.. BUGS!!

    I HAVE UPDATED TO PR1.3 ... I COPIED ALL THE IMAGE STO MY PC AND HARD RESET MY N9. NOW I COPIED BACK ALL THE IMAGES AND I CANNOT FIND THEM IN THE GALLERY.. ONLY NEWS IMAGES TAKEN USING CAMERA ARE FOUND.. AND THE IMAGES WHICH I DOWNLOAD ON MY N9 AND S

  • _____HELP!_Illustrator file won't open "Photoshop file is not readable"

    Help! My Illustrator file won't open - it starts to, then after 1 second I get the error message: "Photoshop file is not readable" Any suggestions?