Using a custom Viewstack inside another gives an error

Hi, can someone tell me why to use custom of ViewStacks in one of the other two components I get this error (Journal of the workspace)?

"Custom component model has recursive definition: components." ViewStack»

My ViewStack.mxml component

<? XML version = "1.0" encoding = "utf-8"? >
" < = xmlns:fx mx:ViewStack ' http://ns.Adobe.com/MXML/2009 "
xmlns:s = "library://ns.adobe.com/flex/spark".
xmlns:MX = "library://ns.adobe.com/flex/mx" width = "100%" height = "100%" >

< / mx:ViewStack >

MyApplication.mxml

...

< c:ViewStack id = "views" >

< c:ViewStack id = "mainViews2" >
< / c:ViewStack >

< / c:ViewStack >

...

Any combination involving the real mx:ViewStack works very well.

Using FlashBuilder 4.5

Thank you

Describe your custom viewstack in Actionscript instead of MXML, otherwise the

custom has a children play and you set another series

MyApplication.mxml

Tags: Flex

Similar Questions

  • Name of MovieClip inside another MovieClip compiler error

    I have a movieClip called 'mcUnitedStates' inside an another mother movieClip.

    I have two instances of the mother of movieClip. One titled "mcWorldMapTop" on its own layer and the other titled "mcWorldMapBottom" on its own layer.

    I thought having two instances of the same movieClip and apply different filters to the mcUnitedStates movieClip in each.

    Error I get is:

    Unidentified property mcWorldMapBottom

    I do this because the colorTransform is the same color as the colorTransform instead of color, that I want the glow the glow.

    I get an error of compilation with this code:

    Stop();

    //

    import flash.display.Sprite;

    import flash.filters.GlowFilter;

    //

    colorON var = "0x1E6175";

    var colorOFF = "0xCCCCCC;

    //

    glowColor var = "0xFFFFFF";

    var glowAlpha is. 75;

    var glowBlurX = 25;

    var glowBlurY = 25;

    var glowStrength = 2;

    var glowQuality = 2;

    var glowInner = false;

    var glowKnockout = false;

    //

    mcWorldMapBottom.mcUnitedStates.filters = [new GlowFilter (glowColor, glowAlpha, glowBlurX, glowBlurY, glowStrength, glowQuality, glowInner, glo wKnockout)];

    //

    var colorTransform:ColorTransform = mcWorldMapTop.mcUnitedStates.transform.colorTransform;

    colorTransform.color = colorON;

    mcWorldMapTop.mcUnitedStates.transform.colorTransform = colorTransform

    is it a movieclip, mentioned in the error message is in the same context that this code?

    If so, there are several ways you might be a problem and yet the instance name matches the name used in your actionscript code.

    a solution would be if you converted a button or graphic to a movieclip.  If you do not do this, remove the current movieclip with the same instance name and create a new movieclip with the same instance name.  Repeat the test.

    If you see a different error (about a term being undefined etc.), you can remove this new movieclip and drag the correct movieclip on the stage and, after you copy the name from your code, paste the name in the properties panel.  Repeat the test.

  • ViewStack viewstack inside?

    Hello!

    I create just a simple Web site. A painting in the left inside an accordion and within each segment of it, I have a ToggledButtontBar. So now when I click on a segment of the accordion I have access to this Bar on which I have no visible button toggled (segment of belox accordion label) and the other buttons. This way when I start in a section I have to choose a paragraph (a button).

    The accordion control a StackView and each Stackview another internal bar. The problem is that there is no way to have a viewstack within another work correctly. Any ideas?

    Thank you!

    You can certainly have a ViewStack inside another ViewStack. The following is legal:


    ....
    ..........
    ....

    ....
    ..........
    ...................
    ..........

    ....

  • Inside Maxl file network error

    Hi all!

    Im trying to make a statement to import Maxl, using files that are inside another computer on the local network.
    It issues im having is that EA is unable to open the file, I have access using the file system.
    My script is:

    ...
    import the database 'CpResIvr'.' ResIvr' write the data to text local data_file '\\compName\export-essbase\CPResIvr.txt' error
    'c:\ExportErrors\CPResIvr.err ';
    ...


    I also tried to use 'file://compName \export-essbase\CPResIvr.txt '.
    The error I get in both cases is 1090004 (impossible to open the file).

    Can any help on how I provide the path to the file will be appretiated,

    Thanks in advance!

    The import database is to help drive/folder/volume, not your client of the Essbase server access.

    You will need to map this drive on the side of Essbase server first.

    There was a thread on this in the past or two weeks - searching for it and all (I mean, everything about drive mapping) will prove.

    Kind regards

    Cameron Lackpour

    Published by: CL on June 3, 2010 11:51
    Here's the thread: Re: MAXL-> rule-> the location of the remote file (unix vs. windows)

  • When I insert my recovery disk its Blanck, but if I used the same disc in another computer I can see the content inside

    Original title: DVD RW drive

    I'm having a problem with my computer toshiba M645. When I insert my recovery disk its Blanck, but if I used the same disc in another computer I can see the contents inside. I try inserting the disk dvd movies and it will play normally. Please give me help with this problem because I want to get my phone to the sound out of the box state. Thank you.

    Hello

    The drive came with the laptop or you did it yourself in the recovery Partition?

    And you're supposed to boot from the recovery disc to start the recovery process.

    You change the Boot order to make the CD/DVD drive first in the boot order. Then, you start from the disc.

    How to change the Boot order in BIOS:

    http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm

    And as a way to re - install with most of the Toshibas, you press 0 (zero) to start to start the process of recovery back to settings factory (new State) of the recovery Partition.

    See you soon.

  • using a VI to open another stand alone program

    Hey guys,.

    I would like for my program to be started by the user and some bring to pour some selections that would then open up a new program stand alone. Where each individual program would actually the bulk of the program as a whole and perhaps utalize its own probably producer consumer model. Once the secondary program ends, I would like it to return to the original program for the user to make new selections and open an another prgram.

    to me, this feels do able as having essentially a main loop that calls functions only.

    If someone could just link me an article or something that would be great. I was looking around and found something on this call chain VI, is part of what I need?

    also, I'm always open to suggestions if this seems to be difficult to follow way or a wrong way to do it.

    Thank you guys

    You can do this visually adjusting the Visual parameters on your VI.

    I usually use a custom configuration and call before Panel.Window.State property on your VI, it should look like this:

    Do the reverse on your slot - VI and you will get a break. You will also need to make some changes to the section of the appearance of the properties of the VI window.

    This will give you a visual appearance and the type of break you're looking for.  Also, you probably want to use a structure of the event as your main loop function.

    Kind regards

    Tim

  • Use a custom in a signal qml class

    I want to use a custom in a signal qml class, but have difficulties of implementation that correctly.

    My class is OutgoingInputs

    I give the floor

    qRegisterMetaType("OutgoingInputs");
    

    Save a pointer to it as a type of meta, which seems to be necessary, but when I also use

    Q_DECLARE_METATYPE(OutgoingInputs*)
    

    in the header file for the class, I get a compilation error.

    I have to save it without a pointer (was the idea here ) or is there another obvious error?

    Is there an example how to do this?

    I can receive the signal if my housing uses no parameters.

    I don't think you need to register as a metatype... a simple registry should do as it is the same as the use of the QML object:

    qmlRegisterType("mynamespace" 1.0, "OutgoingInputs");

    found this on the forums of qt:

    http://Qt-project.org/forums/viewthread/9657

    I hope that helps!

  • AbsoluteFieldManager inside another Manager

    Hello. I'm trying to place my AbsoluteFieldManager inside another Manager. Basically, I want my absManager at the bottom of the screen (like setStatus). I couldn't find a way to achieve this properly so I created a HorizontalFieldManager, setStatus (hManager) and now I wanted to add the absManager to hManager but it gives me an error saying that it is already apparent.

    What I'm trying to do, is have a bar of tabs at the bottom of the screen, what I did with success in using hManager. The thing is that I want to place my tabs where I want.

    Any help would be greatly appreciated.

    Thank you.

    I just setPadding instead of setMargin and it works. Background image of the horizontalFieldManager seems to stop at the margin, so the margin of a HorizontalFieldManager with a background image the assignment will result in white space.

    Thanks for the help.

  • Get the ID of a dynamically created symbol library, inside another symbol.

    Hello world

    I'm trying to get the id of a dynamic created symbol library.

    When you dynamically create the symbol directly on the stage (or the level of the composition), there is no problem.

    But I can not function when you create the symbol inside another symbol.

    A few examples using 'getChildSymbols()' and 'aSymbolInstances '.

    // USING "getChildSymbols()" /////////////////////////////////////////////////////////////////////////

    ON THE STAGE

    var m_item = sym.createChildSymbol ("m_item", "Stage");

    var symbolChildren = sym.getChildSymbols ();

    console.log (symbolChildren [0] .getSymbolElement () .attr ('id')); / / ok eid_1391853893203

    / / Inside a SYMBOL OTHER

    var m_item = sym.createChildSymbol ("m_item", sym.getSymbol("holder").getSymbolElement ());

    var symbolChildren = sym.getSymbol("holder").getChildSymbols (); / / I use this maybe wrong?

    console.log (symbolChildren.Length) / / returns 0 if can't ID is

    ' USE 'aSymbolInstances "".

    ON THE STAGE

    var m_item = sym.createChildSymbol ("m_item", "Stage");

    console.log(sym.aSymbolInstances[0]); / / ok (I guess) x.fn.x.init [1] 0: #eid_1391854141436 div

    / / Inside a SYMBOL OTHER

    var m_item = sym.createChildSymbol ("m_item", sym.getSymbol("holder").getSymbolElement ());

    console.log (sym.getSymbol("holder").aSymbolInstances [0]); / / Error Javascript in the event handler. Type of event = element

    In this post http://forums.Adobe.com/message/5691824 is written: "mySym.aSymbolInstances will give you a table containing all the 'names' when you create symbols"

    Would be - this only works on the scene / composition level only and not inside a symbol?

    The following methods to obtain the same are indeed possible, but I do not simply want to use them in this case:

    (1) storing a reference to the symbol created in a table and call it later by index.

    (2) giving the elements an ID manually on the creation and use of document.getElementById () thereafter.

    I can't believe that this is not possible. I am probably missing something here.

    Forgive me that I am a newbie using Adobe Edge!
    I really hope that someone can help me here.

    Anyway, thnx in advance people!

    Kind regards

    Lester.

    OK, I solved my problem by using the (simple) code below.
    I guess that 'getChildSymbols()' and 'aSymbolInstances' only works on stage / level of the composition.

    Just thought I'd share this to everyone. Peace!

    var m_item = sym.createChildSymbol ("m_item", sym.getSymbol("holder").getSymbolElement ());

    $.each (sym.$("holder").children (), function (index, obj) {}

    Console.log ($(sym.$("holder").) ([Index] Children()) .attr ('id'));

    });

  • How can I clear the browser history when you use the custom settings for history?

    When my history option is set to "Use the custom settings for history", the options page has no link to "clear recent history". There was formerly a menu option, but that seems to be gone now with Firefox 29. Is my only option to access the dialog box, clear the history all to change the historical option to history to remember and then change it back? Is there another way to access the option erase history all?

    I think you can get the menu bar by pressing the ALT key. If you want to return permanently, click View > toolbars and check menu bar.

  • Use of custom in Veristand files

    Hi all

    Have not been able to find a lot of documentation related to the use of "Personal files" in Veristand.  I would like to know some examples of the types of files users have set up.  Specifically, I would like to know if you can "call" some types of models or devices personalized (i.e. for databases or configuration settings).

    Thank you very much

    GSinMN

    Hi GSinMN,

    It has custom there some documentation in the help of VeriStand, which deals specifically with files.

    Adding custom files

    http://zone.NI.com/reference/en-XX/help/372846D-01/VeriStand/add_custom_files/

    Although aid is not quite fully reveal the capabilities of this feature. There are two distinct use cases that I could identify for the custom in VeriStand files option. I'm going to the list of people the more detail and show you an example.

    Make easily accessible to the driver files in the development environment.

    When a file is added in the custom files in the project section, it will have its own icon in the project and is included in the project dependencies. Having the file to display in the project is useful if there is a picture of troubleshooting or a specific document (calibration sheet, how to run a test, etc.) that you would like as your operator to have access to. For example, in the sample project, I realized, there is an added file called "TestA1_PreTestSetup.txt". Of the project (on the toolbar), the operator has the option "Open a file" (to view) or "export...". "to investigate his path on the computer of the operator.

    Please note that the file is now added to the dependencies of the project.

    If you start to investigate the project file and lets say you do a right click on it and notice that there is a Properties option. You may notice that the Description of this file is empty. In fact, it can be filled by modifying the XML source of the .nivsproj. It also leads in the second case of the use of custom files.

    Transferring files to the aim of RT which can be used by the VeriStand engine.

    If you were to investigate the .nivsproj XML, you could first find the section of the custom files, then the tags of the element that you configured.

    Here are the relevant tags and a jump down,

    -It points to the source of the custom file. In this case, I added the file in the directory "C:\Users\Public\Documents\National Instruments\NI VeriStand 2011\Test procédures". He is able to solve the first component 'In common Doc Dir' because it's the common directory for VeriStand, and he added then the folder of the test procedures and the name of the file that I created.

    -Fill this tag gives us the opportunity to complete the description information that occurs when we right click on the file in the project.

    -Fill this tag gives you the ability to also send the file to the target deployment. Your VeriStand engine can then access this file during the operation. With respect to the types of files that you want to use, the link in the post above should help guide only.

    Please Note: change the XML of the project offers more customization and functionality of your project, but these changes should not be made whole. An incorrect change tags in the XML file can lead to results and poor execution. Then move forward with caution and only make minor changes at the same time.

    I hope this helps. Have a nice day, GSinMN

  • Office Express Error Msg: SENT file is currently being used by Outlook or by another application AND don't GET COMPACT. Help!

    Hello!
     
     
    I have both Outlook 2003 and Outlook Express 2003 loaded on my computer
    Only, I use Outlook Express and have not used regularly Outlook in 5 years.
    I have no problems using Express, (both in the sending or receiving of emails).
    There is no "snap-emails" sent or received in Outlook regular and none in the Outbox.  The same with the Express.
     
    About every month, compresses files Outlook Express and in doing so, the folder sent items do not get compressed, it does not create a new file SentItems.bak and it gives me the error: has SENT the file is currently being used by Outlook or by another application. 
     
    All the time this problem started, I received a number of updates to Office 2003 from Microsoft (probably updates 20-25).  They have installed without incident and that's the only problem resulting, I had with one of the components of Office.
     
    Thanks again for your help.  I'm looking forward to this problem so that it works correctly.
     
    John Murphy

    The sent items folder may have a corruption.  Create a new folder and copy the text in the folder into the new folder.  Then close OE and delete the file sent items.dbx.  OE will create a new.  DBX files should not receive more than a few hundred megabytes or they get corrupted.

    A more effective solution: since you seem to have corruption, it may mean that there are more, if you can set up a new message store by clicking file | Identities.  Then you can add your accounts, use the file | Import | Messages to bring them from the old identity.  Which will remove all corruption.

    Whatever it is, it's a good time to save your messages in OE, because it tends to remove them in unexpected ways.  See www.oehelp.com/OETips.aspx#6 also, if resumes default Outlook, he likes to do when he starts to date, just see www.oehelp.com/oedef.aspx

    See if that helps.

    Steve

  • Using a HARD drive in another computer?

    The computer (where the hard drive comes from), is currently in a State of operation not.

    I want to do is start this drive on another computer to look through of essential programs, so I can mark down.
    I am aware that I can use another computer to look through the files, but I would rather start Windows Vista to look through.
    I think it is when, for example, you connect a drive of Windows 8/8.1 in a new machine - it installs new hardware and starts right up. I don't want Vista to BSOD on me.

    Anyone know if this is possible?

    The computer (where the hard drive comes from), is currently in a State of operation not.

    I want to do is start this drive on another computer to look through of essential programs, so I can mark down.
    I am aware that I can use another computer to look through the files, but I would rather start Windows Vista to look through.
    I think it is when, for example, you connect a drive of Windows 8/8.1 in a new machine - it installs new hardware and starts right up. I don't want Vista to BSOD on me.

    Anyone know if this is possible?

    Hello

    In addition to the license issues, in all likelihood not we can start this drive in another computer, due to the fact that this damaged computer hard drive has all the drivers, etc is installed for the old motherboard failed.

    That's all what you can do:

    Saving your files:

    You can remove the hard drive and put it in a hard drive USB enclosure > plug it into another computer > and try to read and copy your data in this way.

    Or you can install it as a slave inside another computer drive to read data.

    See you soon.

  • Use a custom in a map icon

    I created a custom font, which consists of 15 simple icons. Each icon is mapped to a unique position. For example, type "A" produced the first icon, typing a 'B' produced the second icon, etc. The police is an OpenType font, and it works fine in all my office applications. I would like to use this font on a map.

    I downloaded the files of OTF provided this font custom that another police OTF (km) text content & Layouts > fonts.

    I have a card that contains 2 fields of text box: Description and title. Description use my custom font, and the title used by the police of km.

    In collections that are mapped to this card, I have an 'A', 'B' or 'C' in the Description field, and my title of the current collection in the field. So I expect that there would be an icon appears on the first line of the card, followed by the title of the collection displayed in km on the second line.

    But the police of the icon does not display the icon. It shows only a capital A, B or C. The title of the map by using the font of km appears correctly.

    Isn't this possible? I'd wait the police icon to work properly, since the system has no way of knowing that the 'A' looks different than a usual A, B looks different from a and B, etc.

    Also, I tried this visualization as my Preflight custom app that my application development custom iOS and Android.

    I got this to work, but 2 things I learned, in case anyone has the same problem:

    1. the police I used was a police custom that I created that had only a single character (a capital ' A') that I created for the test. Until I filled the police with the characters A to Z and a to z, the police gave a strange error message when you try to use the font in a card.

    2 as Nathan said, you must rebuild the application after adding a font. I had forgotten that.

    FWIW, I used the excellent "Indyfont" script for InDesign to quickly create an OpenType font containing the 15 special icon characters we need. Has no time at all to create the font. See Indiscripts: already

  • target a movieclip from inside another movieclip

    target a movieclip from inside another movieclip

    I want gotoandplay symbol timeline from the main timeline

    Clicking on 1, I want to goto inside 5. 5 timeline not. This is the main scenario. but I want to go symbol 5 chronology

    Thus, the code I use is:

    Stop();

    movieClip_1.addEventListener (MouseEvent.CLICK, fl_ClickToGoToScene);

    function fl_ClickToGoToScene(event:MouseEvent):void

    {

    MovieClip (circle) .gotoAndPlay (1);

    }

    instace.jpg

    Here I wan to go

    ok.jpg


    If inside5 is the object on the same timeline as movieClip_1 and you want the circle target is a child of inside5, use:

    inside5. Circle.gotoAndPlay (1);

Maybe you are looking for