Move tags before child or parent element

Hi,
Am new from InDesign with xml scripting. i have my xml structure like:
<div>
<ul>
<li>XXX</li>
</li>XXX</li>
</ul>
</div>
When i flow this xml file in to inDesign it shows extra line space which is located [Div][ul]
Please give idea to avoid line space
Regards
Ramki

before importing your xml into indesign, you must do some cleanup process using xslt or some other language (eg., perl). In that cleanup process you can avoid extra line space etc.
Vandy

Similar Messages

  • Parent simple tag invoking child tag's body

    Hey,
    This post is 6 years old:
    http://forum.java.sun.com/thread.jspa?forumID=45&threadID=167332
    And doesnt seem applicable for classic tags which are reused (and after the tag is done, the parent shouldnt invoke), but for simple tags where the instance isnt reused, it seems reasonable that during the parent's body executing, if the child doesnt do anything about register itself with the parent, then at the end of the parent's doTag() method, it writes stuff to the screen, and uses the references to the children to make them process their body to the screen. Is this ok to do or has the container done some cleanup after doTag() to make this impossible?
    Thanks,
    Chris

    I get the error manditory uri missing in the jsp.
    Is there something I'm missing?Yes, a mandatory uri ;)
    <%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %><%@ taglib prefix="tags" uri="/WEB-INF/tags" %>
    Make sure that you define the uri so that it points to the actual tld file in your web.xml.
    ncuka

  • How to find child records is exists before to delete parent records.

    Dear Everyone,
    I would like to ask you, is there any simple way to find child records is exists before to delete parent records.
    I have a master table defined primary key and I have referenced that as foreign key in many tables.
    I have used Delete_Record to delete but it isn't display the message 'child record exist' but it cleared the record from the form. So I need to know how to find child records is exists or not before to do delete_record so that I can display message in-case it exists.
    I do know we can able to check in every table matching the column manually, but what if we use 100 of tables then it is not possible to check manually.
    I am sure there must be simple way to find as how the oracle identifies when we execute delete query.
    Please help me on this.
    Thanks in advance.

    Simple solution is to run the query I have given for all child tables or to try a single query for all child tables withj something like:
    select <parent_key>
    from <parent_table>
    where <parent_key> in
              (select <foreign_key_1> from <child_table_1> union
               select <foreign_key_2> from <child_table_2> union
               ... );More complicate solution could be to change the foreign key constraints to cascade DELETE on parent table to child tables:
    SQL>
    SQL> create table p(x int primary key);
    Table created.
    SQL> create table c1(x1 int);
    Table created.
    SQL> create table c2(x2 int);
    Table created.
    SQL>
    SQL> alter table c1 add constraint fk1 foreign key(x1) references p;
    Table altered.
    SQL> alter table c2 add constraint fk2 foreign key (x2) references p;
    Table altered.
    SQL>
    SQL>
    SQL> insert into p values(1);
    1 row created.
    SQL> insert into c1 values(1);
    1 row created.
    SQL> insert into c2 values(1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL>
    SQL> alter table c1 drop constraint fk1;
    Table altered.
    SQL> alter table c2 drop constraint fk2;
    Table altered.
    SQL>
    SQL> alter table c1 add constraint fk1 foreign key(x1) references p on delete cascade;
    Table altered.
    SQL> alter table c2 add constraint fk2 foreign key (x2) references p on delete cascade;
    Table altered.
    SQL>
    SQL> delete p where x=1;
    1 row deleted.
    SQL> commit;
    Commit complete.
    SQL> select * from p;
    no rows selected
    SQL> select * from c1;
    no rows selected
    SQL> select * from c2;
    no rows selected
    SQL>Edited by: P. Forstmann on 27 oct. 2011 14:01

  • Spry MenuBar - IE6 - how to make that submenu is shown above the parent element

    Hi you all,
    I need the menubar to open the submenu above the parent element.
    Here´s what I did:I inserted a spry menubar and the only css-change I did was the one shown below in red "botom: 2em;"
    This works exactly as I need it to - in Safari, Firefox and Opera.
    In IE6 however, the submenu is shown far below the parent element. Is there a solution?
    Greetings from Germany
    Alex
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: 100px;
        position: absolute;
        left: -1000em;
        bottom: 2em;   

    thank you very much, Nancy!
    Greetings from Mannheim, Germany
    Alex
    Am 03.09.2010 um 23:45 schrieb Nancy O.:
    >> In IE6 however, the submenu is shown far below the parent element. 
    >> Is there a solution?
    Possibly.  It's hard to tell without seeing your page, though.
    >
    The position of Spry Menu Bar submenus is controlledby the margin 
    property on submenu ul tags.
    1. Locate the ul.MenuBarVertical ul or ul.MenuBarHorizontalul rule.
    2. Change the margin: -5% 0 0 95%; default values to the desired 
    values.
    >
    http://livedocs.adobe.com/en_US/Spry/SDG/help.html?content=WS895F3A6D-6D73-42ef-B568-3D04A BD2F171.html
    >
    Also, look through the CSS coments for IE hacks. Often these 
    workarounds for older browsers can be commented out or deleted.  
    Test before you delete anything permanently.
    >
    >
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    >

  • SCCM 2012 SP1 | Database Replication Failing on from Child to Parent

    I am having a very urgent issue. The symptom manifested itself as an inability to distribute content (this months software update package) to a secondary site server with DP role. 
    As we dived into it we see that the replication links are dead with "Link has failed". 
    Using the replication link analyzer it fixes it for about 1 hour but then fails again. On a closer look I noticed that replication is working from parent to child but not child to parent. Also check out the time stamps:
    Parent Last Send and Child Recv are both up to date, only Parent Last Recv and Child Last Send are failing. 
    What do I do? 
    None of the logs seem to tell me much other than the statesys.log on both secondaries are pumping the following line over and over again almost to fast for cmtrace to keep up with:
    total chucks loaded (0)
    Oh final thought, we did restore a full offline disk image of the primary server a month ago due to a hardware server failure. The snapshot of the disk luckily was taken only 30 mins before the hardware failure but I suppose there could be something related
    to that although the server seems to have been fine these last few weeks until now.  

    Nothing I can see right now, I started the link up again, ill try to check the log right at the time the link fails this time. Here is a snip of what the child rcmctrl.log looks like:
    DRS sync started. SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:43:29 4312 (0x10D8)
    DRS change application started. SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:02 4316 (0x10DC)
    Launching 2 sprocs on queue ConfigMgrDRSQueue and 0 sprocs on queue ConfigMgrDRSSiteQueue.
    SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:02 4316 (0x10DC)
    The asynchronous command finished with return message: [spDRSActivation finished at 11/07/2013 14:43:02. End execute query finished at 11/07/2013 14:43:02.].
    SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:02 4316 (0x10DC)
    There are 2 Drs Activations sprocs running.
    SMS_REPLICATION_CONFIGURATION_MONITOR 11/07/2013 14:44:02
    4316 (0x10DC)
    InvokeRcmMonitor thread wait one more minute for incoming event...
    SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:10 4324 (0x10E4)
    InvokeRcmConfigure thread wait one more minute for incoming event...
    SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:11 4320 (0x10E0)
    Wait for inbox notification timed out. SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:11 4260 (0x10A4)
    Cleaning the RCM inbox if there are any *.RCM files for further change notifications....
    SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:11 4260 (0x10A4)
    Initializing RCM. SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:11 4260 (0x10A4)
    Processing Replication Configure SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:11 4320 (0x10E0)
    Running configuration EnsureServiceBrokerEnabled.
    SMS_REPLICATION_CONFIGURATION_MONITOR 11/07/2013 14:44:11
    4320 (0x10E0)
    Running configuration EnsureServiceBrokerQueuesAreEnabled.
    SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:11 4320 (0x10E0)
    Processing Replication Monitor SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:11 4324 (0x10E4)
    Summarizing all replication links for monitoring UI.
    SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:11 4324 (0x10E4)
    Processing replication pattern global_proxy.
    SMS_REPLICATION_CONFIGURATION_MONITOR 11/07/2013 14:44:11
    4320 (0x10E0)
    The current site status: ReplicationActive.
    SMS_REPLICATION_CONFIGURATION_MONITOR 11/07/2013 14:44:11
    4324 (0x10E4)
    Processing Replication success. SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:11 4324 (0x10E4)
    Processing replication pattern procedureForwarder.
    SMS_REPLICATION_CONFIGURATION_MONITOR 11/07/2013 14:44:11
    4320 (0x10E0)
    Running configuration ConfigureLinkedServers.
    SMS_REPLICATION_CONFIGURATION_MONITOR 11/07/2013 14:44:11
    4320 (0x10E0)
    Found 1 servers that needs to be linked. SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:11 4320 (0x10E0)
    Processing Replication success. SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:12 4320 (0x10E0)
    Rcm control is waiting for file change notification or timeout after 60 seconds.
    SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:12 4260 (0x10A4)
    Cleaning the RCM inbox if there are any *.RCM files for further change notifications....
    SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:12 4260 (0x10A4)
    Rcm control is waiting for file change notification or timeout after 60 seconds.
    SMS_REPLICATION_CONFIGURATION_MONITOR
    11/07/2013 14:44:12 4260 (0x10A4)

  • How to have a check on change bars and/or tags before generating a PDF

    Hi All,
    There were many instances where I have generated very huge books (over 1300 pgs), and realize that some chapter(s) (files) are printed along with the tags or the change bars on.
    To resolve this, I had to go back and regenerate the same book after removing those properties which is cumbersome.
    Is there any solution where I can have a check/popup, before generating the PDF, if any file(s) within a book has tags or the change bars on?
    Thanks and regards,
    Subhakar

    Hi Michael,
    Thanks for your response and apologies for not mentioning the FM version (9)
    that I am using.
    I am now able to clear the tags in all the files within a book by your
    suggestion to:
    1. Select all files within the book
    2. Go to View and select
    3. Select Show Element Boundaries (as tags)
        This will show the element tags in all the files
    4. Select Hide Element Boundaries. This option is visible and enabled only
    when I select the Show Element Boundaries.
    I am just curious and waiting for your response to have a check on Change
    Bars.
    Regards,
    Subhakar
    On Thu, Feb 3, 2011 at 2:29 AM, Michael Müller-Hillebrand

  • I want to add Narration to my movies. I've watched the Elements Guided Help for Narration. But when I click the RECORD Tab, I get an error message. "Your current audio hardware selection does not have any inout channels." My question, therefore: Do I need

    I want to add Narration to my movies. I've watched the Elements Guided Help for Narration, and closely followed their procedure. But when I click the RECORD tab, I get an error message. "Your current audio hardware selection dos not have any input channels." My question, therefore: Do I need to buy an external microphone? I have an HP Pavilion Laptop, running WIndows 8.1. I thought I had a built-in microphone. But ,maybe not. Please help. Also, WHAT KIND of microphone - exactly - should I buy? Thanks for your help.
    Mike Moore
    Corvallis, Oregon

    mikem
    Go to Edit Menu/Preferences/Audio Hardware and ASIO tab and click on it.
    Under the Input tab, make sure that you have your microphone selected.
    Please let us know the outcome.
    Thank you.
    ATR

  • How to identify the current lead selection is child or parent in rec node

    Hi
    I am using a recursive node to populate a table with TreeByNestingTableColumn as master column. Now my problem is how do I identify if the current selected row in the table is a child or parent? When I get the lead selection value, I find that its the same for the parent and the child. I am setting the isLeaf and hasChildren boolean properties appropriately as false and true for parent and true and false for child. But since the lead selection is returning the same the below rsTableElement always gives me the parent, I always get those parameter values as that of parent. I am writing this inside the onleadSelect event of the table.
    IRsTableElement rsTableElement = (IRsTableElement) wdContext.nodeRsTable().getElementAt(wdContext.nodeRsTable().getLeadSelection());
    In this scenario how do I know if the current selection is made on a child?
    Appreciate for all help and any code snippets.
    Thanks,
    KN.

    Hi KN,
    I guess you want to check if the node that you selected is parent or child.. This can be achieved by using getTreeSelection() method of IWDNode.
    If you write following code in your lead selection action, you can determine the if it is a parent or child node.
    wdComponentAPI.getMessageManager().reportSuccess(wdContext.nodeRsTable().getTreeSelection() +"");
    the output will be something like
    <ViewName>.RsTable.0.ChildRsTable.1.ChildRsTable.0.. depending upon which node you have selected.
    That way you can find out if it is a parent or child node.
    Abhinav

  • Treeview Add Child to Parent Node Without Creating a New Parent

    I have a treeview setup with a HierarchicalDataTemplate in my XAML as follows:
    <TreeView Grid.Column="1" Grid.Row="0" ItemsSource="{Binding treeViewObsCollection}">
    <TreeView.ItemTemplate>
    <HierarchicalDataTemplate ItemsSource="{Binding mainNodes}">
    <TextBlock Text="{Binding topNodeName}"/>
    <HierarchicalDataTemplate.ItemTemplate>
    <DataTemplate>
    <TextBlock Text="{Binding subItemName}"></TextBlock>
    </DataTemplate>
    </HierarchicalDataTemplate.ItemTemplate>
    </HierarchicalDataTemplate>
    </TreeView.ItemTemplate>
    </TreeView>
    Here is the ViewModel which is set as the Data Context for the XAML File.
    class AdvancedErrorCalculationViewModel : ViewModelBase
    static ObservableCollection<TreeViewClass> _treeViewObsCollection = new ObservableCollection<TreeViewClass>();
    public static ObservableCollection<TreeViewClass> treeViewObsCollection { get { return _treeViewObsCollection; } }
    public class TreeViewClass : ViewModelBase
    public TreeViewClass(string passedTopNodeName)
    topNodeName = passedTopNodeName;
    mainNodes = new ObservableCollection<TreeViewSubItems>();
    public string topNodeName
    get { return this.GetValue<string>(); }
    set { this.SetValue(value); }
    public ObservableCollection<TreeViewSubItems> mainNodes { get; private set; }
    public class TreeViewSubItems : ViewModelBase
    public TreeViewSubItems(string passedSubItemName, string passedSubItemJobStatus)
    subItemName = passedSubItemName;
    subItemJobStatus = passedSubItemJobStatus;
    public string subItemName
    get { return this.GetValue<string>(); }
    set { this.SetValue(value); }
    public string subItemJobStatus
    get { return this.GetValue<string>(); }
    set { this.SetValue(value); }
    public static void AddTreeViewItems(string passedTopNodeName, string passedChildItemName, string passedChildItemJobStatus)
    treeViewObsCollection.Add(new TreeViewClass(passedTopNodeName)
    mainNodes =
    new TreeViewSubItems(passedChildItemName, passedChildItemJobStatus)
    The problem lies with the AddTreeViewItems method
    seen above. Currently, if I call the method by let's say:
    AdvancedErrorCalculationViewModel.AddTreeViewItems("Parent","Child 1", "Completed");
    it creates the parent and child nodes just fine. No issues there.
    However, if I call the method again with the same Parent name but a different Child; for example: 
    AdvancedErrorCalculationViewModel.AddTreeViewItems("Parent","Child 2", "Completed");
    It creates a new Parent node with a child node Child 2 instead. Thus, I have something like this:
    - Parent
    - Child 1
    - Parent
    - Child 2
    I would like to modify this function so that if the parent name is the same, the child node should belong under the previous Parent instead
    of under a new Parent node. Something like this:
    - Parent
    - Child 1
    - Child 2
    Could anyone help me modify my code to detect if the Parent node exists in the observablecollection already and if so, place the child node under the existing parent? The main problem I am facing is trying to add items to a previously created observable collection
    with an existing hierarchy because I don't know how to access the previous observable collection anymore. Help me with this please.
    Thanks in advance. :)

    You need to try and find an existing entry and if it's there add the child to that instead.
    I notice you're  a student and I guess this is probably an assignment.
    By the way.
    I suggest you work on the name of your collections and classes there.
    EG A class should be singular but way more meaningfull than treeviewsubitem.
    Anyhow, finding the top node could be done using linq.  Since you can get none, SingleOrDefault is the method to use.
    Thus something like:
    TreeViewClass tvc = treeViewObsCollection.Where
    (x=>x.Title == passedTopNodeName).SingleOrDefault();
    Will give you tvc null or the qualifying entry.
    If it's null, do what you have now.
    If it's not then add the child item to tvc.
    tvc is a reference to the TreeViewClass you have in that collection.
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

  • My Apple TV deletes downloaded movies/series before I've watched them. How do I stop this?

    My Apple TV sometimes deletes downloaded movies/series before I've watched them. How do I stop the episodes /movies being deleted before I watch them?

    Welcome to the Apple Community.
    Downloads are deleted to make room for something else or when the device is turned off, if you don't want your downloads removing, you need to avoid doing one of the things that will cause this.

  • How do you style a parent element in Contribute? (such as ul )

    Is there any way to style a parent element in Contribute? Let's say I have a style class that I want to use to style an unordered list, but when I try to style it in Contribute, it will apply it to the <li> elements instead. Is there any way to select this parent element in Contribute? I know I can do this easily in Dreamweaver, but I am trying to provide this for content editors who do not need access to DW.

    You're probably using Acrobat if you can duplicate pages like that. This is the Adobe Reader forum...
    To answer your question, though: The only way this can be done automatically, without having to manually rename each field, is to use a Template to spawn new pages. This is something the form's author should have done, but you can do it yourself as well, using some code.

  • HT1657 2 rented movies disappeared before due date when I updated my ipad software

    2 rented movies disappeared before due date when I updated my ipad softawre.  Any way to get them back?

    You will need to try contacting iTunes support and explain and see if they will grant you a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then probably Purchases, Billing & Redemption

  • External Context Mapping - Pass data from Child to Parent

    Hello,
    I have the following scenario:
    DCParent Component (contains)
    - DCChildComp1    (used DC)
    - DCChildComp2    (used DC)
    - DCChildComp3    (used DC)
    - DCChildComp4    (used DC)
    What user enters in DCChildComp1 then needs to be made available to DCParent and all other DCChildComp(n) siblings.
    I have looked the posts and blogs in SDN and all of them seem to deal with passing inputField data from Parent to Child. May be I am missing it.
    In my case, I need the data to be passed from DCChildComp1 to DCParent ie Child to Parent. Then from DCParent to other DCChildComps.
    How should I go about
    a. defining the context nodes and Component Interface context nodes in parent vs child vs siblings and
    b. how should I map them externally?
    Step by step instruction would be helpful.
    Thanks in advance,
    SK.

    Thanks for all the help. As I had already seen all the links and blogs you had linked here, I was still confused about how it all came together. Finally, I got it after reading Bertram Ganz's response in this thread [Context Mapping problem;.
    when you map a context in the parent comp to an interface context in the used child component you do not define an external context mapping relation. That's normal context mapping as the data context resides in the child component.
    I have it working now and I am able to push the changes in the child component's context to the parent.
    For those who are interested in how I did it (and those who know a better way to do it
    In the child component DC:
    Map Child's View Context to Child's Controller Context
    Map Child's Controller Context to Child's Interface Controller (make sure the inputEnabled is FALSE - as the child is the data producer and the parent is the data consumer, in my case)
    In the parent DC:
    Add child DC as a Used DC
    Add child Component as a Used Component in the Parent Component
    Add Child's Interface Controller as Required Controller in Parent Component
    Map Child's Interface Controller Context to Parent's Controller Context
    Map Parent's Controller Context to Parent's View Context
    No external mapping required per the thread above. Now, any change in the child component's view is visible in the parent component view.
    Thanks again very much for the help.
    - Siva

  • Dim. SCD2 issue, when parent value change. The child loses parent history.

    oracle DB: 10.2
    owb: 10.2.0.4
    Create a SCD2 type dimension with six levels in it. Alle levels have the same columns, see below (change the nr for the level)
    L1_KPL_PK
    L1_DATA_TILL
    L1_SLEUTEL
    L1_DESC
    L1_DATA_FROM
    L1
    When running the mapping, the hierachie is perfectly inserted into the table. When changing the
    value of the L1 parent in te source and running the mapping again the following
    is happend:
    He closed the parent record with the old value and insert a till date.
    He update alle child record with the new value
    He inserts a new record with the new value of the parent.
    What i should expect wat would happen was:
    He closed the parent record with the old value and insert a till date.
    He close alle child records with the old value and insert a till date.
    He inserts new records for all child with the new value of the parent.
    He inserts a new record with the new value of the parent.
    I searched on the net for this issue and i found oracle fixed it in a patch 10.2.04 The bug is know under nr 6004133
    "Child looses parent reference when SCD2 attribute change in parant.
    Installed the patch(7005587) and renewed my dimension, table, and mapping in the repository. Ran the mapping, but the result is not what i expexted as
    descriped above.
    Help needed to fix this issue. So alle histoy is beeing saved.

    Hi
    There was a change in OWB 10.2.0.3 (I think it was this patch) to support this scenario.
    If you go to the SCD settings panel for your dimension, each level also has the parent level's identifying column (this is the new bit) and you can set the Record History property for the parent identifier in order that a change in this will trigger history in the level (so the hierarchy can be versioned). So if you set this and synchronize the dimension operator in your map and redeploy the map, you should be in shape.
    So for example if you had L1, L2, L3 with attributes ID, NAME, ATT, EFF_DATE and EXP_DATE then the SCD panel would have;
    *L1
    ID
    NAME
    EFF_DATE eff date
    EXP_DATE exp date
    ATT trigger history
    *L2
    ID
    NAME
    EFF_DATE eff date
    EXP_DATE exp date
    ATT trigger history
    L1_ID trigger history
    *L3
    ID
    NAME
    EFF_DATE eff date
    EXP_DATE exp date
    ATT trigger history
    L2_ID trigger history
    Let me know if its unclear.
    Cheers
    David

  • Swf movie starts before preloader is finished

    Hi,
    I tried to implement a simple preloader for an existing swf movie. I've created a new flash document and added the Loader as well as a ProgressBar component. In the action script of the key frame 1, I implemented the following:
    import mx.controls.ProgressBar;
    loader.contentPath = "myMovie.swf";
    pBar.setStyle("themeColor", "0xF49417");
    pBar.setStyle("color","0x3D566F");
    pBar.labelPlacement = "bottom";
    pBar.label = "LOADING %3%%"
    pBar.scaleY = 150;
    pBar.conversion = 1024;
    pBar.source = loader;
    pBar.mode = "polled";
    loader.load();
    The problem is now that the movie starts playing (i.e. its sound) before the progress bar is completely finished. This usually happens around 80%. How can I avoid that the movie starts before the progress bar reaches 100%?
    Thanks,
    Patrik

    Thanks for your replay! I added an empty keyframe to the first scene of the existing flash movie with a stop() action in it. Additionally, I modified the preloader with an action listener that is called in case the movie is loaded completely. The action script of the preloader does now look like follows (without sytle settings):
    import mx.controls.ProgressBar;
    loader.contentPath = "myMovie.swf";
    var pbListener:Object = new Object();
    pbListener.complete = function(evt_obj:Object) {
    trace("movie loaded");
    play();
    pBar.addEventListener("complete", pbListener);
    pBar.source = loader;
    pBar.mode = "polled";
    loader.load();
    It seems now that this play() does not reference to the swf movie (myMovie.swf) with the stop in the first frame since the movie does not start playing after its loaded. How do I reference the play action to the loaded movie?
    Thanks,
    Patrik

Maybe you are looking for

  • Oracle 9i UTL_FILE.FOPEN throwing READ_ERROR

    Hi while running the package containg UTL_FILE.FOPEN I am getting an error for reading the file on this statement : v_file_handler := UTL_FILE.FOPEN(i_directory_path,i_file_name,'R');This happens in UNIX ,LINUX and windows NT server . kindly suggest

  • Unable to invoke BPEL HelloWorld from Oracle PL/SQL

    Hi, I am trying to invoke a BPEL process (HelloWorld) from Oracle PL/SQL package. I have downloaded the standard "demo_soap.sql" from oracle.com. Find below the PL/SQL block that I am using to invoke to the HelloWorld. DECLARE req Demo_Soap.request;

  • Authorizing iTunes on an iPad

    I've got a question re. my iPad. Itunes on a computer has a 'authorize this computer' option under a menu. On an iPad, there is no such option. Is my iPad considered one of the 5 'computeres' that I am allowed to authorise under one itunes account? R

  • E-Filing - HMRC Dev Certificates.

    Hi, I would lilke to do some testing with regards to efiling interfaces with HMRC. Where do i get the certificates to be loaded into STRUST? Should i open the link and save copy on the certificates from the link https://secure.dev.gateway.gov.uk/subm

  • SQL arithabort and nocount

    I have one stored procedure . Its created by some one who worked before handover to me. Now my doubt is why they are used set arithabort on     set nocount on  in this procedure and Can I remove it from here . Because if I am removing it I can see so