Need Help Loading RSS pics

I have an RSS feed parsed and displaying text into 5 Dynamic
Text Fields on my stage. Now I want to display the jpeg images from
the RSS feed into MovieClip instances on my stage. I have named my
MovieClip instances picHoldera, picHolderb, etc. How do I define
and load that information in AS3? Here is my AS 3 code, and the RSS
feed string;

OK, It works if you add the node value to the enclosure;
loader.load(new
URLRequest(xml.channel.item.enclosure[0].@url);
However the pictures are coming in at the centre of the
MovieClip and too large. I need them scaled to 50 px x 50 px to fit
the movieclip and to either centre or import at x=0 and y=0. I
tried this code from another project, but nothing happened. I
thought the MovieClip was like a box that would contain them.
var pHeight:Number = 50;
var pWidth:Number = 50;
var xValue:Number = 0;
var yValue:Number = 0;

Similar Messages

  • Need help loading pics from multiple catalogs on Photoshop Elements 3

    In the past, I've synched my photos from Photoshop Elements 3 to my video Ipod without a problem, but I only had one catalog in Elements. I created a new catalog and wanted to upload some of the pictures in the NEW catalog to my ipod. The trouble is, when I go into the photo preferences in my Ipod, it only shows the albums in the catalog I'm in. I want to load some pics from both catalogs. If I switch to the second catalog it erases everything it loaded previously from the first catalog. Does anyone know a way to upload from multiple catalogs on my Ipod? Is it possible to do?
    Thanks!

    In the past, I've synched my photos from Photoshop Elements 3 to my video Ipod without a problem, but I only had one catalog in Elements. I created a new catalog and wanted to upload some of the pictures in the NEW catalog to my ipod. The trouble is, when I go into the photo preferences in my Ipod, it only shows the albums in the catalog I'm in. I want to load some pics from both catalogs. If I switch to the second catalog it erases everything it loaded previously from the first catalog. Does anyone know a way to upload from multiple catalogs on my Ipod? Is it possible to do?
    Thanks!

  • Need help loading DLL in labVIEW project

    I have a DLL that was written in C# that I want to load it to my labVIEW project. I have never done this before, so I need help. I chose Connectivity-Call Library Function Node then loaded my DLL. After, under function name, I typed in the function name from the code. I don't know what to do with other like Parameters.
    They don't let me attach dll file 
    Can someone explain how to set the parameters and etc?

    Well, it seems that you really need to learn quite a bit about .NET (ActiveX is very similar!) first.
    The constructor node in your code creates an object in your .NET CLR (Common Language Runtime). This object exposes properties and/or methods. Use Property Node(s) and Invoke Node(s) to access these. Usually, you get references to other objects which you can work this.
    Remember the golden rule for ActiveX and .NET:
    Close all references you created in your LabVIEW code on your own (using Close Reference)!
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • I need help loading a swf file in a flash website

    Hi,
    I am an interactive design student working on a flash portfiolio and need help. I can't figure out how to load a game I made in flash into my porfolio so that it loads after clicking on a button, becomes playable, then have a button to leave the game and go back to my portfolio. I'm working in Actionscript 2.0 because that's all my teachers will show me and I have minimal actionscript knowledge.
    Thanks,
    Emily

    I thought I got it to work with loadMovie, but it only plays the intro, and then either repeats or exits as soon as the first bit of actionscript starts

  • Need help writting rss for preeso

    i need help with preeso to do rss feed. i will pay!! please reply for information

    There's also an example feed in the tech specs: http://www.apple.com/itunes/store/podcaststechspecs.html#example
    If you're still having trouble, send me an email.

  • Need Help Loading SWF in a FLA

    I simply want to call a swf into an existing fla. I have
    tried everything. When dragging the timeline, you see the swf. When
    you preview, it is not there. Background - I have an exisiting fla
    that contains the image background for all. I want to set a
    transparent carousel menu on top of the background that is in the
    fla and leave the existing background and lower objects in place.
    The carousel.swf will need to call java and an xml file on the web
    server.....all external to the "summed" final. If I could layer
    flashed in DW, then the problem would also be solved. Please be
    detailed, I am obviously not a developer.

    although I'm not certain why you would not just 'place' the
    background 'image' on the stage in the fla (probably because you
    wish to change it dynamically down the road) - you need to 'load'
    the swf, not 'place' it within the other file. you do this with the
    MovieClipLoader class.
    with the swf that you wish to load in the same directory as
    the swf of the carousel file, place something like the following in
    the first frame, on a layer called actions, in the actions panel:

  • Need help loading data from Excel data file to oracle tables

    i need to load an Excel spreadsheet to Oracle table.
    The spreadsheet contains 20 columns, the first 8 columns contains basic info, but the rest 12 columns contains info like
    1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10
    So what i need to accomplish is:
    break that one record(with 20 fields) in Excel to 3 records for each fiscal year in the Oracle table, so each record in the database table will look like
    8 basic field + fiscal_year + 1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    8 basic field + fiscal_year + 1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    8 basic field + fiscal_year + 1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10
    There are about 10000 rows in the data file, so how can i use sqlldr to perform such task? beside sqlldr, any other good suggestions?
    thx

    External Tables is just an Oracle API for sqlloader. If you going to load this data over and over again, External tables would be a good idea, but if it's a one time thing, sqlldir is simpler, unless you just want to learn how to use External Tables.
    I used to run a data warehouse, so I have done, at least similar, to what you are doing in the past.

  • Need help Loading parsed RSS text

    Hi, I have created an AS3 FLA where I am parsing and
    displaying RSS text. I have traced the parsed text and displayed
    the text into dynamic text boxes on the stage no problem.
    However the line breaks in the traced text show up on stage
    as well.
    How does one strip out the <p> or </r> tags from
    the text to make the text one nice long line that will wrap using
    the length of the text box as it's parameters?

    OK, I have found the answer, thanks all.
    var myvar:String = myDynamicText.text;
    myDynamicText.text = myvar.split("\r").join(" ");
    myDynamicText.text = myDynamicText.text.split("\n").join("

  • Need Help With RSS reader...

    First off, I'm a beginner. And I would love some help with
    this problem.
    I've uploaded the RSS reader to my server, designed it, etc.
    And It will not load the feeds. I've searched through the forums,
    and have come to discover that it is a security issue (one which is
    undoubtedly beyond me). Is it possible to get this to work? I read
    in a previous post that there is a way to use it with a javascript
    code but I'm not sure how to allow this to work.
    My site can be found at
    http://www.thecassidyfeed.com
    I'm fairly confident that all my paths are correct. All of
    the files, the javascript files, etc. are located on the root
    level. Could it be something with the server? I know that it is
    possible that: " url_fopen_disabled " needs to be enabled. My
    server is with MediaTemple.
    I would very much like to use this framework, and I look
    forward to seeing my site up and running. If there is anyone who
    would be kind enough to point me in the right direction I would
    very much appreciate it.
    lauren

    If you look at
    http://www.thecassidyfeed.com/feeds.php?id=19
    you will see something is amiss...

  • Need help Loading images with selection on a form field?

    So I'm kind of a newb.. I can do basic forms but I need to set up a form field drop down box that will give me the ability to load images correlating to the users choice. I'm at a total loss for where to start, so ANY help would be appreciated. If you know of any good books or tutorials on the subject please share.
    Thanks in advance
    Sincerely,
    Stumped4now 

    P.S. I think I'm getting a better understanding of OCGs after lots of research today. However I still seem to be missing something
    var docOCGs = this.getOCGs();
    for (var x=0; x < docOCGs.length; x++)
      if(docOCGs[x].name == "Layer1")
      docOCGs[x].state = !docOCGs[x].state;

  • Still need help :( loading outside files in actionscript

    Ive been all over the forums online trying to get this
    problem fixed and no one has really settled it for me (its been
    MONTHS)
    So I'm going to attempt to be as in depth as possible and
    post code as well.
    Heres the deal- its a portfolio site, www,darrenlasso.com
    The problem is when i load multiple swf files into levels.
    When i first call on an outside swf from a button inside the main
    file the code looks something like this:
    on(release){
    _level1._visible=false;
    loadMovieNum("cover.swf", 1);
    cvrbtn._visible = false
    acibtn._visible = false
    When from inside THAT file, I want to return back to the MAIN
    navigation file, the code looks more like this:
    on(release){
    mcl.addListener(mclListener);
    mclListener.onLoadInit = function(mc:MovieClip){
    mc._visible=true;
    mc.gotoAndPlay(76);
    _level1._visible=false;
    mcl.loadClip("darnen.swf", 1);
    Ive messed around with the code so many times now trying
    everyones different suggestions that i dont even know if that is
    the code I have live right now but i know its not working how i
    want it to. The problem seems to be that i can only load into level
    1, and when i do that, going between these various calls on outside
    files there is a 'flicker' of a frame or two of the OLD previously
    loaded file that will play BEFORE the new one initiates. As this is
    a portfolio site it needs to be polished so i can't have stuff like
    this plaguing it. Its been unfinished for months now because i just
    can't figure it out. Please please help me if you can.. hopefully
    you like a challenge because i just havent been able to get the
    help i need from anywhere else :/

    when i load the swf from outside, i want it to then be able
    to return to the main navigation file which i guess would be level
    0. So does that mean that the code for buttons navigating back to
    the main flash file would be more like:
    on(release){
    mcl.addListener(mclListener);
    mclListener.onLoadInit = function(mc:MovieClip){
    mc._visible=true;
    mc.gotoAndPlay(76);
    _level1._visible=false;
    mcl.loadClip("darnen.swf", 0);
    As i load in all these different files from outside I've been
    loading them all into level 1 because that seems to be the only way
    to get them to display at all with the code I'm using. I assume it
    might be better to load them all into individual levels? I'm not
    sure. I'm still just kinda learning AScript as i go along..

  • Need help loading flv movie onto stage from a button click

    Hi folks, I need your help.
    I'm new to flash so please bear this in mind.
    My problem is this:
    I have a picture of a phone on the stage which I have made
    into a button.
    What I want is that, when I click on this button (phone_btn),
    my video (called 'TyreChange.flv') will appear on the stage. And I
    will have the option of removing the video to get rid of it from
    the screen.
    The stage is like a menu, where I can click a number of
    objects and the relevant video or element will appear.
    The TyreChange video is in the same folder as my project but
    I have not imported it into the library. If I do that, the video
    goes onto the stage as well as the library, and it appears as the
    name FLVPlayback for some reason.
    I only want the video on the stage when the user clicks the
    'phone_btn' button.
    Please help
    Many thanks, James

    I did try that but it would not remove the child.
    i appreciate your help though.
    I am also trying to determine if a child is on the stage and if it is, remove it. I have created a button that will jump back on the timeline and the mc's that were loaded after this point in time.
    This looks like it should work. It doesn't give me any errors but the mc remains on the stage.
    var remMC;
    if (getChildByName("mc2") != null) {
      removeChild(mc2);

  • Need help loading xml parameter into component

    I am using a third-party flash component (no source access)
    that takes in a location of an xml file and manipulates it. The
    problem is, I want that file's location to be dynamic and be loaded
    from an argument to the end .swf that can then be forwarded to the
    internal component. How can I load a component at runtime and set
    it's xml_file parameter before/during construction of the object? I
    have tried to drag it to the stage from components and change the
    xml_file parameter in actionscript directly, but by the time this
    change gets triggered the xml has already been read in and it
    doesn't work.
    This may be really simple, but I just can't figure it out. I
    would appreciate anyone who could help. Thanks.

    First, set the size of the component with the setSize method,
    not "height" and "width". That may be the entire source of your
    problem.
    e.g.: this.componentInstanceName.setSize(175, 175);
    Second, I am unsure all the parameters you specify in the
    initialization object are valid {x:10, y:10, height:20, width:20,
    font_color:'#333333', player:"vidPlayer", xml_file:"list.xml"}.
    Only put in the initialization object parameters that are valid for
    the component you are instantiating.
    Third, make sure you are specifying the correct import
    statements for your component at the top of your code. Since it is
    a custom one, I can't help with knowing what to import. The code I
    attached in my first post assumed import statements and the
    components needed in the library, but here are the import
    statements that I used:
    import mx.controls.*;
    import mx.containers.*;//for scrollPane
    import mx.styles.CSSStyleDeclaration;
    import mx.transitions.easing;
    Fourth, don't forget the ignoreWhite method for importing XML
    into Flash:
    XML.prototype.ignoreWhite = true;// sets ignoreWhite
    globally

  • Need help loading .swfs one by one, in specific order

    i have been trying to figure this out for weeks now, and have
    even posted on other forums about this, but nobody seems to be
    willing to help me. i have a main swf, which is the basis for my
    image gallery. once this page loads, a thumbnail should start
    loading with a preloader displaying the precentage loaded. once the
    percentage hits 100%, the image shows up, and the next thumbnail
    starts, and so on. there are 15 thumbnails total that have to be
    loaded. each one should load with a 10 pixel gap all around, and i
    want to have 5 images load per row. i think i need to create empty
    movie clips for each thumbnail to load into, but i'm not sure.
    hell, i don't even know how to code this so it will work correctly.
    would someone be willing to put this together for me? i am a
    beginner actionscripter, and if people simply tell me "add this
    line in so this will happen," i will have no idea what to do, so
    that is why i need the code put in for me. i'm hoping someone here
    is nice enough to do this for me, because being ignored on two
    other forums has made me just want to say "screw it."
    so PLEASE, can someone help me?
    i have uploaded my files into a .zip file. i have only
    uploaded 6 of the pictures, so that i can see if the code (that
    someone will hopefully make) works when i asked for 5 thumbnails
    per row.
    file is located here:
    http://www.arielseri.com/fla_files.zip

    i completely understand. i've actually come up with a
    semi-working solution!
    i have 15 thumbnails total, but when i play the movie, all 15
    load on one line and after 5 show up, the rest go off the stage. i
    would like to set it up so that there are 5 .swfs per row. i have
    one main .swf file, and two .as files. the code for each is as
    follows (the ========== is just to separate the code):
    main .swf code (called test.swf):
    ==========
    fscommand("fullscreen", "false");
    fscommand("allowscale", "false");
    // A container clip for our thumbnails
    var thumbnails_mc:MovieClip =
    this.createEmptyMovieClip("thumbnails_mc",
    this.getNextHighestDepth());
    // An array holding the paths to our thumbnails
    var thumbnailPaths_arr:Array = ["1.swf", "2.swf", "3.swf",
    "4.swf", "5.swf", "6.swf", "7.swf", "8.swf", "9.swf", "10.swf",
    "11.swf", "12.swf", "13.swf", "14.swf", "15.swf"];
    // Our ThumbnailManager
    var thumbnailManager:ThumbnailManager = new
    ThumbnailManager(thumbnails_mc, thumbnailPaths_arr);
    ==========
    ThumbnailManager.as code:
    ==========
    import Thumbnail
    class ThumbnailManager
    private var counter:Number = 0;
    private var root_mc:MovieClip;
    private var thumbnailPaths_arr:Array;
    public function ThumbnailManager (target:MovieClip,
    paths:Array)
    root_mc = target;
    thumbnailPaths_arr = paths;
    (thumbnailPaths_arr.length > 0)? createThumbnail() :
    null;
    private function createThumbnail ():Void
    var thumb:Thumbnail = new Thumbnail(this,
    thumbnailPaths_arr[counter], root_mc, counter);
    counter++;
    public function onThumbnailLoaded ():Void
    if (counter < thumbnailPaths_arr.length)
    createThumbnail();
    else
    ==========
    Thumbnail.as code:
    ==========
    import AsBroadcaster
    import ThumbnailManager
    class Thumbnail
    public var addListener:Function;
    public var removeListener:Function;
    public var broadcastMessage:Function;
    private var thumbnailWidth:Number = 88;
    private var thumbnailHeight:Number = 61;
    private var thumbnailOffsetX:Number = 10;
    private var thumbnailOffsetY:Number = 10;
    private var view_mc:MovieClip;
    private var image_mc:MovieClip;
    private var loader_mcl:MovieClipLoader;
    public function Thumbnail (manager:ThumbnailManager,
    url:String, target:MovieClip, d:Number)
    AsBroadcaster.initialize(this);
    this.addListener(manager);
    render(url, target, d);
    private function render (url:String, target:MovieClip,
    d:Number):Void
    view_mc = target.attachMovie("thumbnail", "thumb_"+d+"_mc",
    d);
    view_mc._x = (d * thumbnailWidth) + (d * thumbnailOffsetX);
    view_mc._y = 0;
    image_mc = view_mc.createEmptyMovieClip("image_mc",
    view_mc.getNextHighestDepth());
    image_mc._x = 0;
    image_mc._y = 0;
    loader_mcl = new MovieClipLoader();
    loader_mcl.addListener(this);
    loader_mcl.loadClip(url, image_mc);
    public function onLoadError (target:MovieClip,
    error:String):Void
    broadcastMessage("onThumbnailLoaded");
    public function onLoadProgress (target:MovieClip, bL:Number,
    bT:Number):Void
    public function onLoadInit (target:MovieClip):Void
    broadcastMessage("onThumbnailLoaded");
    ==========
    can anyone help me out with what code to put where? i have
    uploaded a .zip file which contains all of the files here:
    http://www.arielseri.com/thumbnails.zip

  • [noob needs help] Loading image from a URL

    Hey everyone. I'm new here. And I'm new at J2ME as well.
    I have a simple school project and I have doubts about it. I've searched everywhere on the net yet I could not find the solution. Anyways, I do understand the concept of loading images by putting the files in the "res" folder and use:
    try
    img = Image.createImage("/burgerimgsmall.jpg");
    catch (Exception e)
    e.printStackTrace();
    But my project requires me to load an image from a URL. How do I go about doing that? If it helps, here's the URL:
    http://img.photobucket.com/albums/v703/punkgila/burgerimgsmall.jpg
    Thanks guys!

    Don't worry, downloading image from http is also simple. Look into Photoalbum demo in wtk2.5

Maybe you are looking for

  • How do I permanently delete an app from my iPad and App Store?

    I would like to permanently delete apps from my iPad and my Purchased list in the App Store. How do I do this? These apps are ones that I have tried and found to be useless or do not work correctly. I have deleted apps from iTunes Store, but I cannot

  • Apple ID - Recover Security Questions!

    Help!!! I have recently tried to buy some goodies from the store - all is fine when purchasing free products... I tried to buy a product earlier and since I havent purchased anything from my new Apple iPhone 5c it asked me for security reasons to pro

  • Safari bookmarks sync error-win7

    hi to the community,i use windows 7 ,imac and iphone,all my bookmarks was ok until update to the latest icloud control 3. since then my win7 pc didnt sync anything,i reinstall itunes,safari,icloud but nothing,this problem is still 1 week now,any idea

  • 720p converting to 576i

    Hi! I have a problem exporting a 720p50 Project to mpeg2 DVD. Premiere Export Option only give me the possibility to 25p. 25p is no option because of bad artefacts in fast moving parts of the Movie. Adding Fields doesn't work, because the only result

  • Firewire Disk Problem 

    I have a large (500GB) hard drive that has failed. (Probably cause I packed it in luggage due to strict flight security regulations a couple of weeks ago. I have 2 questions: 1. The drive wont mount. Is there any software worth buying to try to recov