Need help unloading an External .swf within another external .swf

My main project loads an external .swf ("room") depending on which button the user clicks. Once that external .swf ("room") is loaded, the viewer chooses a ("demo") .swf to view. I need the "demo" .swf to unload once it is finished playing so that the viewer sees the 1st external .swfs menu again. All .swfs are loaded into an empty loader component. The "demo" swfs were created in captivate thus I don't have access to a timeline for them.
I imported a .swf into captivate that will call a function at the end ie..._root.unloadCaptivate();
and I have the following code in the originally loaded .swf
function unloadCaptivate() {
mcLoader.unloadClip(accountingLoader_mc);
btnEndPeriod_btn.enabled = true;
btnCashCollect_btn.enabled = true;
btnFinancialMGMT_btn.enabled = true;
_root.btnHome_mc._visible = false;
btnAcct_mc._visible = false;
btnPlay._visible = false;
btnPause._visible = false;
That all works fine, but when I load "room" .swfs into the main .swf, the unloadCaptivate(); no longer works...any ideas? Thanks!

you should be able to use a loop (like onEnterFrame) to check when your demo swf's _currentframe==_totalframes.

Similar Messages

  • Open external swf from within another external swf?

    Hello, I'm relatively new to AS3 and have a problem that I'd like to see if anyone can provide a response.
    I have an external swf that is opened through a web page, but the swf does not diplay in a web page, we use javascript to remove the browser, control the window size to 1024X710, no scrollbars, etc. Within that external swf I want to use a button that the user can click to open a separate external swf that is located in the same folder; however, I want it to display as the original swf (without it being displayed in an Internet browser, no scroll bars, a certain size 1024X710), etc. I've been able to find script where you can open an external web page with a certain size window; however, I find nothing regarding how to open an external swf with conditions.
    Any help you can provide would be greatly appreciated!
    We use this script on a web page to open the external swf:
    <script language="Javascript">
      function openSWF1(cbtFile)
        window.open(cbtFile,"NewWindow","toolbar=no,directories=no,menubar=no,scrollbars=yes,widt h=1024,height=710");
    </script>
    We use the following html code to call the JS and open the applicable swf file:
    <a href="javascript:openSWF1('CBT/AppTrng/EIP-New-Siebel.swf')">Enterprise Image Processing (EIP)</a>

    Hi,
    I found this function and it works correctly; however, it seems to automatically move the movie to the next frame instead of staying on the same frame in which the function is displayed.
    The first function is to move to the next frame when the user presses the Tab key on their keyboard.
    stage.addEventListener(KeyboardEvent.KEY_DOWN, cool);
    function cool(e:KeyboardEvent):void {
          if(e.keyCode == Keyboard.TAB){
               gotoAndPlay("7");
    This function is to open an external swf in a sizeable window with no Internet window - it works great! However, it automatically navigates the parent movie clip to frame #7. What am I doing wrong?
    query_btn.addEventListener(MouseEvent.CLICK, MYBUTTON_link8);
    function MYBUTTON_link8(e:MouseEvent):void
        //navigateToURL(new URLRequest("icb.swf"), "_blank", "scrollbars=no,titlebar=no,toolbar=no,menubar=no,resizable=yes,width=1024,height=710");
    var gameURL:String = "http://opstraining.bcbsfl.com/NonPMI/RBMS/icb.swf";
    var jscommand:String = "window.open('"+gameURL+"','win','width=1024,height=710,toolbar=no,scrollbars=no,location =no,status=no,menubar=no');";
    var url:URLRequest = new URLRequest("javascript:" + jscommand + " void(0);");
    navigateToURL(url, "_self");

  • Need help msi 945pl neo crashed within 3 months use

    need help. my mobo doesnot start, no post, no beep. 
    1.main board 945pl neo(MS-7236)
    2.video card: msi RX300HM TD128E
    3.CPU Type: pentium 4 3Ghz (531)
    4.Memory Type:512mb ddr2 533 kingston
    5.Power Supply Type:generic 500W
    6.Operating System:windows xp
    Just a bit of history, when i first bought and assembled the unit(brand new) it was working fine for about 5 times used, then the next time i used a message window appear informing "a problem has been detected and window has been shut down
    to prevent damage" and before i can restart my unit i have to reset first the bios.. i encounter the same problem about 3 times..
    Then just about a week ago (about 3 months after i bought it)while working on a MSWORD only the same message appear with additional info which state that :
    1... be sure to if uhave adequate space... try changing video adapters
    2. check your hardware vendor for any bios updates.....
    3. tech/info
    stop 0X0000008E(0XC0000005, 0XBF87C5C8, 0XF8834C80, 0X00000000
    win32k-sys- add BF87C5C8 base at BF8000001,
    date stamp 41107F79
    then a blue screen appear
    which has an info of:
    Beginning dump of physical memory
    Physiscal memory dump complete
    Contact your system admin. or tech support group
     since then i cannot open my computer, there is NO Beep sound, no post, but the power Led is on and the HDD led goes On for the moment then goes out... same with the cdrom drive its spin for a moment, i can feel also the harddisk is spinning.
    i check the power supply, memory. video cards and harddisk with another computer(mobo) and its working just fine which led me to the conclusion that it is my MOBO that has the problem. Can this problem associated with the Bios (by the way i never update my bios and my computer is not connected to the net). What should i do?? What is the possible cause of this problem??

    Quote from: Hans on 24-January-07, 17:45:18
    Hi!
    This stop error can have more then one cause.
    Please view the microsoft knowledge base for more info, like this article:
    - http://support.microsoft.com/kb/834450
    Your specific error code is not in the base, but you can try searching for "stop 0X0000008E in win32k.sys".
    Start by clearing CMOS using the jumper or reset button on your board. Please disconnect your pc from AC power first.
    Please make sure that Service Pack 2 for Windows XP is installed on your system. If not, install it (if possible of course).
    Please check your memory using Memtest86 .
    Please try booting from CD or from diskette (the memtest diskette is bootable by itself).
    If the system will not boot after you tried this, please try starting barebone:
    - Take out all your hardware, including the mainboard and lay it on a piece of cardboard;
    - Leave the CPU where it is;
    - Install only one dimm, your videocard and one hard disk (and your power supply) and try to start the system. You can use a flat screwdriver to connect the two power pins that normally go to your power switch.
    If the system still will not boot, try another video card.
    hello!
    i'll already tried the list you suggested, and still nothing happened, again there are no beep, no post. only the power  led that lit and the fan that is spinning. reinstalling the OS seem impossible coz its not even booting... i'll test all my other hardware with another computer and they are working well...

  • I need help modifying my iWeb site from another Mac than the one it was designed on:

    I did exactly as directed in the Help file "to Modify your site from another computer", but when I click on the Domain file it launches iWeb to start a new website without anything from the site I created. The Macs are a mirror image of each other with the same iWeb version 3.0.4. I am transitioning from my MacBook to my new iMac, so the laptop files were all transferred to the iMac by the Apple Store when I bought it. The only difference is that the laptop is OS 10.6.8, and the new iMac is OS 10.7.5. After the transfer of all the files at the store, I proceeded to make the website on the laptop, but now need to work on the website from my iMac...but I need help getting the file to work on the iMac.
    PLEASE HELP!
    Thanks!

    The trick that solved it for me was the last note about how to make the hidden folder appear (due to Lion OS 10.75):
    Note for OS X Lion users :
    To show the hidden Library folder in the Home Directory (Cmd-Shift-H) hold the Option (=Alt) key when choosing theGo menu in the Finder.
    Thanks!

  • Controling a loaded swf with another loaded swf

    I have a blank stage with only AS that loads an swf
    addChildAt(0) and a second one addChildAt(1). This works. When the
    user interacts with (1) it calls another addChild (not indexed) and
    possibly that one loads another, depending on the choices made by
    the user. How can I get any of these to control that very first
    child that was loaded at (0)? I have run out of ideas.
    Some of the code:
    (on the main swf, nothing on the stage, only code that loads
    the next two)
    addChildAt(pHolder, 0);
    pLoader.load(pURLReq);
    pLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    pLoaded);
    and for the second:
    addChildAt(mHolder, 1);
    mLoader.load(mURLReq);
    mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    mLoaded);
    On the child of childAt(1), I have:
    function replaceSWF(e:MouseEvent):void
    pLoader = new Loader();
    pLoader.load(new URLRequest("p.swf"));
    pLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    placeNewClip);
    function placeNewClip(e:Event):void
    removeChildAt(0);
    addChildAt(e.target.content, 0);
    If I use this exact same code from that very first swf, the
    one that loads the first two external swfs, it works, but once I
    put it on one of hte other loadeds and sub loaded swfs, I can't get
    it to work. In the current state (0) it just makes everything on
    the stage disappear, so I figured then using the index of (1) would
    do it, but that or any other number results in absoluly nothing.
    Help! I am really out of ideas here.
    (the stacking looks like this) ---
    sub second loaded SWF <==== needs to tell first loaded SWF
    to unload then load a new swf at same index
    second loaded SWF <==== loads the next one above
    first loaded SWF <=== needs to be removed and another swf
    loaded at the same index
    mainSWF (loads two others) <=== code placed here works for
    first loaded SWF

    Kglad,
    I tried your code and ran into some problems with stopping
    the mc's, as the embedded mc's within the loaded swf need to stop
    as well. I found the attached code to stop the mc's, but now am
    having trouble with the sound objects.
    Here's the issue, I used this:
    this.soundPosition = currentMovie.loop1.position/1000;
    this.currentMovie.loop1.stop();
    ... for the sound object stop commands and listed a new one
    for each loop I was using. On the play button I started them back
    up again. This all works, but when I start them up again they all
    play, not just the one that is currently paused. Do you mind giving
    me some guidance with the for (obj in mc) loop? My loop experience
    is nil. What I want to do is have the code cycle through all of the
    loops to see which one is playing, then store that information in a
    variable, then pause and play the variable. Does that sound right?
    Thanks again for the help!
    -Sandy

  • Backing up iTunes located on external drive to another external drive

    Greetings,
    I'm on iTuens 11.3 and in preferences have chosen an external drive to keep all my music. I would like to back-up the contents of my iTunes to another external drive.
    I have NOT chosen: iTunes - File - Library - Organize Library
    Perhaps this is my problem…?
    The external hard drive that has my iTunes library does not have a single iTunes folder. Instead, each artist has a folder within which are multiple albums, single albums or songs.
    It seems there should be a single file folder somewhere that I can copy to another external hard rive in order to make a back up.
    Any help will be much appreciated.

    There will only be a single folder if you've told iTunes to organize your library. You need to either do this, or drag all of the individual folders to the second drive, or clone the first drive to the second.
    If desired, you can move the iTunes folder to the first drive, launch iTunes with the Option key held down, and choose it before organizing the library.
    (123377)

  • How do I program the preloader in a fluid swf from another fluid swf?

    I have built a fluid swf(preloader.swf) which is like an intro-cum-preloader screen to a flash site which is stored in main.swf. How do I program the preloader.swf to show the preload percentage of main.swf ?
    All the swf files used here are fluid,so there is an actionscript file which loads the movieclips onto stage dynamically,please give me a solution to this keeping this in mind. Please do ask for clarifications if needed.

    You want to use the Loader class in Actionscript 3. If you look at the example in the online help, you'll see that there are, among others, a progress event and a complete event. You can use this progress event, to track the progress of the loading of the file. The complete event occurs when the file has completely loaded.
    Have a look at this: http://help.adobe.com/en_US/ActionScript/3.0_UsingComponentsAS3/WS5b3ccc516d4fbf351e63e3d1 18a9c65b32-7fa4.html it explains how to use a Progress Bar component to show the loading of a file.

  • Back up external drive to ANOTHER external drive

    Is there a way to back up an external drive, automatically?   I'd like to keep my Aperture masters on an external (preferably NAS) drive, and then back it up to a separate external drive.   Haven't found a solution for this yet!
    Reason I need to do this is I have 1T of photo's and 500GB HD on my laptop!

    Youre endangering your valuable data by assuming its ever safe on ANY single place, especially the internal HD.
    Grab a 1TB HD for $65 and offload/copy your photos to another HD.
    You dont need superduper to copy ONE external HD to another......just connect both and drag and drop what or all to the new HD.
    Superduper will do the same with just 2 clicks if you want, its free.
    http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html

  • Need help unloading an .swf

    I'm using flash CS5, AS3
    I'm making a huge module that has a central "Hub" (table of contents) which contains all links to the other slides which are individual .swf files.
    The issue is, from the main hub, i click on the link to open a swf and it starts to play.  if the button that returns you to the Hub is pushed before the whole .swf plays through, the symbols and tweens from the swf that was just unloaded, still show up on top of the Hub and keep playing.  anyone know how i can fix this?
    code in frame 1 of all swfs:
    this.btn_hub.addEventListener(MouseEvent.CLICK, SWFhub);
    var fl_Loader:Loader;
    //This variable keeps track of whether you want to load or unload the SWF
    var fl_ToLoad:Boolean = true;
    function SWFhub(event:MouseEvent):void
            fl_Loader.unload();
            removeChild(fl_Loader);
            fl_Loader = null;
            fl_Loader = new Loader();
            fl_Loader.load(new URLRequest("Slide HUB.swf"));
            addChild(fl_Loader);
        SoundMixer.stopAll();
    any help would be appreciated!
    -= Sondax =-

    a few issues...  for the code that goes on the loaded swf, the button doesn't return you back to the hub.  i changed the first line to "this.btn_hub.addEventListener(MouseEvent.CLICK,unloadF);", but still doesn't work.  (btn_hub is name of button that returns you to the hub)
    for the hub, when i copy and paste the code to add buttons for the other slides, i get errors of duplicate functions:
    Scene 1, Layer 'actions', Frame 1, Line 29
    1151: A conflict exists with definition fl_Loader in namespace internal.
    Scene 1, Layer 'actions', Frame 1, Line 41
    1021: Duplicate function definition.
    Scene 1, Layer 'actions', Frame 1, Line 45
    1021: Duplicate function definition.
    line 29 = var fl_Loader:Loader=new Loader();
    line 41 = function completeF(e:Event):void{
    line 45 = function unloadF(e:Event):void{
    the full code in the hub (just 2 buttons added so far):
    stop();
    this.btn_62.addEventListener(MouseEvent.CLICK, SWF62);
    var fl_Loader:Loader=new Loader();
    fl_Loader.contentLoaderInfo.addEventListener(Event.COMPLETE,completeF) ;
    function SWF62(event:MouseEvent):void
    if(fl_Loader.content){
    unloadF(event);
            fl_Loader.load(new URLRequest("Slide6_2.swf"));
            addChild(fl_Loader);
    function completeF(e:Event):void{
    MovieClip(fl_Loader.content).addEventListener("unload",unloadF);
    function unloadF(e:Event):void{
    MovieClip(fl_Loader.content).removeEventListener("unload",unloadF);
    fl_Loader.unloadAndStop();
    this.btn_11.addEventListener(MouseEvent.CLICK, SWF11);
    var fl_Loader:Loader=new Loader();
    fl_Loader.contentLoaderInfo.addEventListener(Event.COMPLETE,completeF) ;
    function SWF11(event:MouseEvent):void
    if(fl_Loader.content){
    unloadF(event);
            fl_Loader.load(new URLRequest("Slide1_1.swf"));
            addChild(fl_Loader);
    function completeF(e:Event):void{
    MovieClip(fl_Loader.content).addEventListener("unload",unloadF);
    function unloadF(e:Event):void{
    MovieClip(fl_Loader.content).removeEventListener("unload",unloadF);
    fl_Loader.unloadAndStop();

  • Need help in displaying a feed within my flex app

    Hello guys,
    I was hoping that someone can push me in the right direction. I am looking to display our feed within our Flex Application. I am using some of the sample from tour de flex
    This is what I have so far:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/mx"
         width="960" height="850">
         <fx:Script>
         <![CDATA[
              import flashx.textLayout.conversion.TextConverter;
              import flashx.textLayout.elements.TextFlow;
              import spark.utils.TextFlowUtil;
              XML.ignoreWhitespace = false;
         ]]>
         </fx:Script>
         <fx:Style>
              @namespace s "library://ns.adobe.com/flex/spark";
              @namespace mx "library://ns.adobe.com/flex/mx";
              @namespace components "components.*";
              s|WindowedApplication {
                   background-color:#000000;
                   background-alpha:"0.9";
              s|ButtonBar s|ButtonBarButton:upAndSelected,
              s|ButtonBar s|ButtonBarButton:overAndSelected,
              s|ButtonBar s|ButtonBarButton:downAndSelected,
              s|ButtonBar s|ButtonBarButton:disabledAndSelected {
                   chromeColor: #00529c;
                   color: #FFFFFF;
              s|ButtonBar {
                   chromeColor: #053867;
                   color: #FFFFFF;
         </fx:Style>
         <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
              <!--<s:HTTPService id="srv" url="http://feeds.feedburner.com/standforisrael/iWIn?format=xml" />-->
              <fx:XML id="srv" source="http://feeds.feedburner.com/standforisrael/iWIn?format=xml" />
         </fx:Declarations>
         <s:ButtonBar dataProvider="{myViewStack}" y="175" height="35" width="700" />
         <mx:ViewStack id="myViewStack" borderStyle="none" x="0" y="209" width="700" height="500">
              <s:NavigatorContent id="home" label="Home">
              </s:NavigatorContent>
              <s:NavigatorContent id="about" label="About Us">
              </s:NavigatorContent>
              <s:NavigatorContent id="rabbi" label="Rabbi Eckstein">
              </s:NavigatorContent>
              <s:NavigatorContent id="rabbiCom" label="Rabbi's Commentary">
              </s:NavigatorContent>
              <s:NavigatorContent id="programs" label="Our Blog">
                   <s:RichText id="rt5" width="280"
                        textFlow="{TextFlowUtil.importFromXML(srv)}" />
              </s:NavigatorContent>
         </mx:ViewStack>
    </s:WindowedApplication>
    Now when I run this I get a prompt that is telling me that if the program is already running to stop the program... I have no idea what program it is that i'm running that would prompt that type of dialogue box.
    I also get these errors:
    Unexpected processing instruction encountered and will be ignored. Found: type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css" IFCJ.mxml /IFCJ/src Unknown Flex Problem
    Unexpected processing instruction encountered and will be ignored. Found: type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl" IFCJ.mxml /IFCJ/src Unknown Flex Problem
    Is there anything that I am not doing right here?
    Any help would really be appreciated,
    Thank You

    I did try HTTPService but the problem that I was seeing was that I would need to push the information into a datagrid and that really doesn't help me witth presentation of the blog posts.
    What if I create a custom component that takes the RSS feed and parses it into sections like so:
    Title
    Description
    Link
    Where lets say the title is like so:
    [Bindable]
                public var title:String; <-- this is where I get stuck
    <s:Label x="0" y="80"
            text="{title}"/>
    I would like to also have that title wrapped in a url so that when the person is looking at our RSS they can click either the title or the read more link
    What else can i do?

  • Need help - script to continue text in another field if necessary

    Wish I could attach my form but it's not available. I am using Adobe Acrobat 9.0. I have a form with two text fields for "Other" information that needs to be shared. If the user types in more characters than the box holds the overflow text doesn't print. These are court documents and all the text has to print somehow. I am trying to figure out a work around for this and wondered if a script can be written to put the extra text from each "Other" field into another field that would open on a new page at the end of the document if necessary. I want to avoid having extra empty pages however so if they can be added ONLY if the text needs to overflow. I hope I explained this okay, like I said I wanted to upload the form but can't. If someone can help me with this I would really appreciate it.

    LiveCycle is a part of Acrobat Pro Extended - Windows users only, not Mac.
    OctRita wrote:
    … would it be possible to have a page at the end with a text field for each of the ones that need overflow to print and can a javascript be written to put the extra text into those fields?
    Yes, it is possible - I've already indirectly provided you with the code for that via the link in my post. Just remember to save it to your desktop:
    http://www.adirect.dk/adobeforum/commentfields.pdf
    As an alternative you could remove the limited characters, set the field to multiline and make a script that set the textsize to auto if the user fills the field with text. When textsize is set to auto, the text will keep on shrinking as user types more text.
    Torben.

  • Help copying files from external drive to another external drive

    I'm trying to backup the files I have on an external drive and this has turned into ****, I feel I'm a Windows user all over again.
    First I tried to encrypt an external drive, just as I've encrypted several others. The solution was to pay for a new OS (10.8.2).
    Now I'm trying to drag/drop the files from the old external drive to the new one (Seagate 3TB) and I get this message:
    "The operation can’t be completed because the selection contains both backup items and non-backup items."
    In a discussion somebody said "Use SuperDuper". I downloaded it but it's an app to make exact backups. I don't want this, I just want to copy files just as I've done in years.
    If someone can help me, I'd like to know:
    1. What does that message mean? The selection was the files in the old drive. Both backup items and non-backup items?????
    2. How can I simply drag and drop the files as I've done all my life?
    * I DON'T WANT A BACKUP APP, I DON'T WANT TO BUY APPS FOR SOMETHING SO SIMPLE AS COPYING FILES, SOMETHING THAT A MAC SHOULD DO.
    Please advice.
    Thank you.

    Hi,
    in PowerShell copy is an alias to the Cmdlet Copy-Item. A parameter "NewOrNewer" does not exit. You have to create your script that meets of your needs.
    Have a look on the CmdLet Copy-Item
    http://technet.microsoft.com/en-us/library/hh849793.aspx    
    I hope that helps you.

  • Need help transfering my downloaded shows onto my External HD....

    1.) Okay I'm dumb. Sorry.
    2.) I'm probably in the wrong category, but I need to know how do I get itunes to automatically download my TV shows onto my external hard drive? Also, I've alread started the process of downloading two shows, but once again, in the wrong area. Is there anyway Itunes can re-download it back to my external hard drive instead of my "already maxed out" internal hard drive? Thanks for the help.
    Tom

    Hi
    Karsten made the main point but one advice I think You can get that is same
    for nearly all the forums (or fora ??).
    This that Your internal hard disk is nearly full - NO GOOD way to work in.
    This might make You irritated on bad performances and blame You Mac when
    it's really Your faulth.
    Your Mac is heavely dependent on virutal memory and if the free space on
    Your internal disk goes under 10 to 20% of it's size - everything will be slowed
    down and You might wonder what's Your Mac is up to.
    Second bonus advice. If You use an external hd and work with video then it
    HAS TO be formatted as Mac OS Extended NOT UNIX or DOS.
    but as said - keep to the right forum
    Yours Bengt W

  • Need help- How do I transfer iTunes from external/internal to new computer?

    My old computer crashed. I have iTunes on an external drive, but not exported exactly as iTunes suggests in "back up your iTunes library by copying to an external hard drive". I am following the directions from support "Restoring your iTunes library backup". Get all the way to "Choose Library", which I do, and then select iTunes folder. Step 7 says to click "choose". I click on the folder, because i do not have a "choose" button. Nothing happens, it just opens the file. If I connect my ipod it opens and a screen tells me I have to "erase and sync" because my ipod is synced with another library. Do I erase and sync? I'm scared of losing hours of music I copied from CD's. (I was able to transfer purchased music.) I have downloaded iTunes 9.0 on my new computer.
    Any help is greatly appreciated! Thanks!

    Well, I would skip the Firewire since it isn't essential. Connect the backup drive to your new Retina when it arrives, but before you turn it on for the first time. When you then turn it on you will begin in the Setup Assistant where you will have an opportunity to restore your files from a backup drive or another computer. Select the appropriate option. You can then restore (migrate) your Home folder, third-party applications and support files, and system preferences. Once that is completed when the computer restarts you will be all set up in your old Home folder.
    Note that you will be transferring files over a USB connection. Depending upon how much data you are transferring this may take a very long time, so be patient. A USB drive's typical transfer rate is about 12 GBs/hour.

  • Urgent please- need help to retreive all values within a range

    Hi,
    I need to retreive all the values(ID) within a range no matter if it is available in the database or not. I just need this in a sql query not a stored proc.
    for ex:
    select id, name, age
    from employee
    where id between (1 and 10)
    It returns
    id name age
    1 x 22
    3 y 26
    4 z 23
    10 c 32
    I need a query which should return values as follows.
    id name age
    1 x 22
    2
    3 y 26
    4 z 23
    5
    6
    7
    8
    9
    10 c 32
    quick replies will be appreciated.

    This is one way of doing
    select decode(id,null,lev,id),name,age from employee,(select level lev from dual
    connect by level < 11)
    where employee.id(+)=lev
    The above will display between 1 and 10. If you want to specify some other range then the below query will do,
    select decode(id,null,lev,id),name,age from employee,(select level lev from dual
    connect by level <=10
    minus
    select level lev from dual
    connect by level <5)
    where employee.id(+)=lev
    The above query will display between 5 and 10

Maybe you are looking for

  • I've done most I could think of, iTunes refuses to recognize 4 GB Nano

    I have the constant "Do Not Connect" screen on my new 4GB Nano. My wife previously used this computer for her iPod Mini. Before installing the new Nano, I removed iTunes from the computer. Then installed off the Nano's CD. I updated both iTunes and t

  • Solaris 8 10/01 installation aborts

    Hello! I'm sorry if this question is asked once again, but I was not able to find a solution for this problem after searching forums, web and google news. I'm trying to install Solaris 8 10/01 on this machine: AMD Thunderbird 1200 396Mb RAM ABIT KT7A

  • Problem in bringing the database up

    Hi, I am facing this problem while bringing the database up :- ORA-01190: control file or data file 21 is from before the last RESETLOGS ORA-01110: data file 21: '/fnb/dbdevices2/ora10g_scmb/scmbdata06.dbf' What i did just before that was i brought t

  • Personal Address Book Empty

    We are running GW 7.0.3. BES 4.1.6.23 I don't remember the mr number. The BES is running the GW 6.5.7 client. I have one user out of 40 that is experiencing this. The personal address book that the Blackberry (BB) is supposed to sync to is empty, how

  • XML assign name to a string

    Hi All, In my application I need to save some data into a file, using XML functions. I created my own string containing the date (as "03/05/2006, 04:25 PM") using Get Date/Time String and Concatenate Strings and I sent the result to Flatten to XML. T