Calling a component from a the main.mxml file

How do I call a component from a the main.mxml file?
<mx:Button id="btnNew" label="Launch Component " click="getComponent()" />
main.mxml (Has the button, that I would like to launch getcomponent.mxml)
getcomponent.mxml (The file I would like to call) (This file also has the ViewStack)
For some reasoning it's not seeing the bpVS(view stack id). I'm getting Access of undefined property bpVS error.
<!-- Main.mxml  -->
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:components="components.*"
width="100%"
height="100%"
minHeight="0"
backgroundAlpha="0">
<mx:Script>
  <![CDATA[                    
   private function getComponent():void{
    bpVS.selectedIndex = 1;
  ]]>
</mx:Script>
<!-- GetComponent.mxml -->
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
xmlns:view="components.view.*">
<mx:ViewStack  id="bpVS"
  top="69" left="180.5"
  width="100%" height="100%"
  resizeEffect="Resize"
  moveEffect="Move" showEffect="Fade"
  hideEffect="Fade">
</mx:ViewStack>
<mx:VBox id="vbTB" top="69" verticalGap="0">
<mx:ToggleButtonBar
    id="payTB"
    direction="vertical"
    dataProvider="{bpVS}"
    width="180" useHandCursor="true" buttonMode="true""
    resizeEffect="Resize"
    moveEffect="Move" showEffect="Fade" hideEffect="Fade" >
  </mx:ToggleButtonBar>
    </mx:VBox>
Thank you

It won't see it just by creating the namespace that contains it.  There has to actually be an instance of it in the application.  So in your case, your main application file (lets call it MyApp.mxml) would look something like this:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
     xmlns:components="components.*">
     <components:Main id="main"/>
     <components:GetComponent id="getComp"/>
</mx:Application>
Then, you can reach down (mind you this isn't best practice) into those components to access their public properties.  In a script block in MyApp.mxml, you could access the VBox with getComp.vbTB.
I don't know the ins and outs of your application, but perhaps Main is the main application, so then you would add GetComponent as a child of it instead of both Main and GetComponent being child components of the MyApp application.  Does that clear up the confusion?

Similar Messages

  • Passing a variable from an mxml component to the main mxml file

    Hey guys,
    I have a popup titlewindowt which is defined as a component in a separate mxml component file.
    In the popup window i have an inputbox and a button
    When i press the button in that popup window i want the text in the input box to be transfered across to a variable in my main mxml file
    How can i do this?
    Thanks
    Chris

    Since you are already tied in to the top level application then I would add a listener at the application level and in the component do a:
      FlexGlobals.topLevelApplication.dispatchEvent(....)
    However, I can't help but encourage you to decouple this functionality and pass events around rather than what you are currently doing.
    There are a few ways you can do this.  One is to use an MVC framework to model your application after.
    A simpler approach even would be to have the component simploy dispatch events to itself and have whatever is creating the component listen for the events and do higher level functionality.
    Good Luck!

  • How to access component's control property from main .mxml file

    I have a main .mxml while in which i imported custom
    "popUpWindow" component using "import component.popUpWindow"
    statement. In main .mxml file I display later on that component as
    popUp window using popUp manager class. Once component is
    displayed, how can i access using actionscript component's
    TextInput control (specifically its .text property) from my main
    .mxml file?
    thanks

    I posted this answer elsewhere, maybe it will help:
    First, save the new component wherever you keep your
    components, let's say you call it "MyPopWindow.mxml"
    Assign public variables for the string in both the main app
    and the popup.
    In your case, in the main app:
    Code:
    public var myText:String = "whatever the text field should
    say.";
    and then in the pop up mxml:
    Code:
    [Bindable]
    public var myText;
    Then, in the main mxml file:
    Code:
    // define the window type
    private var popWin:MyPopWindow;
    private function popMeUp(event:MouseEvent):void{
    popWin =MyPopWindow(PopUpManager.createPopUp(this,
    MyPopWindow, true));
    popWin.myText = myText;
    The important things here to notice is the name of the
    component (i.e. the file) is used. A variable is created for the
    window, and TYPED to your file name. Then you use the constructor
    you already had, but again use your type. The "true" is optional
    and gives you a modal popup window.
    Lastly, assign the variable in the window (I called mine
    popWin) to the variable in the main file you want to pass.

  • Adding a panel over other components in the main mxml application

    Hi,
    I've created a main mxml file that contains,among other things, a button, and another mxml that contains a panel with some options. I want to be able to add that panel to the main mxml OVER all other components in the main mxml file with a mouse click on the button in that main mxml. How can this be done, please help ?

    Hi mesanarapscallion,
    Can you please post the sample code you are working...
    Do you want to show the panel component on all the thing above in the main.mxml file...Do you have all the other things positioned at the same position..?
    Thanks,
    Bhasker Chari

  • Calling a function in main mxml  file from a component

    I have a main mxml file for an application.
    Within that file I have a viewStack with 3 components which
    are in separate mxml files.
    I have a function written in Action Script in the main
    application that I want to call from the 3 components.
    How is this done?
    Ta
    Mike

    Thanks for the help. I got it working using ntsiii's method
    (which is more straight forward but maybe not good practice?)
    though the line
    private var _appMain:Application = Application.application
    gave me the error message:
    1118: Implicit coercion of a value with static type Object to
    a possibly unrelated type mx.core:Application.
    So i changed it to:
    private var _appMain:* = Application.application
    Which made it work, I don't really understand why.
    Thanks
    Mike

  • How to access component's control from main .mxml file?

    I have a main .mxml while in which i imported custom
    "popUpWindow" component using "import components.popUpWindow"
    statement. In main .mxml file I display later on that component as
    popUp window using popUp manager class:
    var popUpWin:IFlexDisplayObject;
    popUpWin = PopUpManager.createPopUp(this, popUpWindow, true);
    Once component is displayed, how can i access using
    actionscript component's TextInput control (specifically its .text
    property) from my main .mxml file?
    thanks

    msabljic , sounds like you ran into the same problem as me,
    perhaps... I posted a question similar to yours around the same
    time. Take a look at the responses I got and maybe that will help
    answer your question.
    Here's a link to the post
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=585&threadid =1285775&enterthread=y

  • Best Practice in regards to adding showing SkinnablePopUp from the Main application file of Mobile A

    Hello,
    I want to display a SkinnablePopUp when the user presses the back key when the current view is the first view to ask if he wants to quit.
    The logic (checking if the key pressed was the back key && the current view is the first view) is in the main application file and if those two conditions are true then the exit() method is called.
    I want to show the confirmation popup. Should I move all that in the first view mxml component or is it OK to instantiate the SkinnablePopUp in the main app file?
    Thank you.

    so do I, or did, well still do but less than before
    it seems best practice is to seperate mxml and AS3
    have a look at this
    http://tv.adobe.com/watch/max-2010-develop/flexactionscript-30-architecture-and-dependency -injection-frameworks-overview/

  • Dispatch event from the main App file

    Hi,I have one simple question.I know how to dipatch events from the some of the components files to the main App file,but I don't know how to do the opposite?
    I have an HTTPService with id = "getData" in some component file and I want to dispatch an event that will send it getData.send();
    Is this possible,and it if is how?

    It is possible but not a recommended practice.
    Worst case you proxy out methods on your components and call directly:
    maiAPpp.someComponent.doSomething();
    SomeComponent
    doSomething();
        someOtherComponent.doSomething();
    SomeOtherComponent
    doSomething();
        servcie.send();
    My 2 cents are too look into MVC architecture and have the service inside a command which gets treiggered by a controlled which reacts to your event dispatched by the view.
    C

  • Calling fragment component from page  in Oracle ADF.

    Hi ,i am  using Jdev 11.1.1.5 and  i have a requirement to call a fragment component(Eg:SelectoneChoice) which is using in a region and i want to call that component from a link from my jspx page.now the problem is ,the link which is in a jspx is a HTML link.
    Now the clear question is i want to disable that  dropdown which is in a fragment on the click of that html link which is in a jspx page.i will appreciate your valuable answer.
    Thanks.
    Satya

    Thanks Prateek,The exact requirement is to disable a drop down which is in a fragment and used as a region in a jspx page,now i have a link in the same jspx page.so when the user click that link (Eg:it should have a html link) the drop down should disable.
    Yes i agree with your point is to add a go-link or command link but requirement is to have a html link.if it would have ADF link then i should use setPropertyLitsener using the session.but its  a html link.
    Now i have some plan to use Jquery , i will appreciate if you could put some idea on that.
    Thanks,
    satya

  • Remove / unload external swf file(s) from the main flash file and load a new swf file and garbage collection from memory.

    I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
    This is the error message(s) I am receiving: "TypeError: Error #2007: Parameter child must be non-null.
    at flash.display::DisplayObjectContainer/removeChild()
    at index_fla::MainTimeline/Down3()"
    import nl.demonsters.debugger.MonsterDebugger;
    var d:MonsterDebugger=new MonsterDebugger(this);
    stage.scaleMode=StageScaleMode.NO_SCALE;
    stage.align=StageAlign.TOP_LEFT;
    stage.addEventListener(Event.RESIZE, resizeHandler);
    // loader is the loader for portfolio page swf
    var loader:Loader;
    var loader2:Loader;
    var loader3:Loader;
    var loader1:Loader;
    //  resize content
    function resizeHandler(event:Event):void {
        // resizes portfolio page to center
    loader.x = (stage.stageWidth - loader.width) * .5;
    loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    /*loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;*/
    addEventListener(Event.ENTER_FRAME, onEnterFrame,false, 0, true);
    function onEnterFrame(ev:Event):void {
    var requesterb:URLRequest=new URLRequest("carouselLoader.swf");
    loader = null;
    loader = new Loader();
    loader.name ="carousel1"
    //adds gallery.swf to stage at begining of movie
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requesterb);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    // stop gallery.swf from duplication over and over again on enter frame
    removeEventListener(Event.ENTER_FRAME, onEnterFrame);
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent):void {
    // re adds listener for contact.swf and about.swf
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
    var requester:URLRequest=new URLRequest("carouselLoader.swf");
        loader = null;
    loader = new Loader();
    loader.name ="carousel"
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    removeChild( getChildByName("about") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of gallery.swf
    MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    function Down1(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    var requester:URLRequest=new URLRequest("contactLoader.swf");
    loader2 = null;
    loader2 = new Loader();
    loader2.name ="contact"
    loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader2.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader2);
    loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    function Down3(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    var requester:URLRequest=new URLRequest("aboutLoader.swf");
    loader3 = null;
    loader3 = new Loader();
    loader3.name ="about"
    loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader3.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader3);
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    removeChild( getChildByName("carousel") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
    stop();

    Andrei1,
    Thank you for the helpful advice. I made the changes as you suggested but I am receiving a #1009 error message even though my site is working the way I wan it to work. I would still like to fix the errors so that my site runs and error free. This is the error I am receiving:
    "TypeError: Error #1009: Cannot access a property or method of a null object reference."
    I'm sure this is not the best method to unload loaders and I am guessing this is why I am receiving the following error message.
         loader.unload();
         loader2.unload();
         loader3.unload();
    I also tried creating a function to unload the loader but received the same error message and my portfolio swf was not showing at all.
         function killLoad():void{
         try { loader.close(); loader2.close; loader3.close;} catch (e:*) {}
         loader.unload(); loader2.unload(); loader3.unload();
    I have a question regarding suggestion you made to set Mouse Event to "null". What does this do setting the MouseEvent do exactly?  Also, since I've set the MouseEvent to null do I also have to set the loader to null? e.g.
    ---- Here is my updated code ----
    // variable for external loaders
    var loader:Loader;
    var loader1:Loader;
    var loader2:Loader;
    var loader3:Loader;
    // makes borders resize with browser size
    function resizeHandler(event:Event):void {
    // resizes portfolio page to center
         loader.x = (stage.stageWidth - loader.width) * .5;
         loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
    //adds gallery.swf to stage at begining of moviie
         Down();
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent = null):void {
    // re adds listener for contact.swf and about.swf
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
         var requester:URLRequest=new URLRequest("carouselLoader.swf");
         loader = new Loader();
         loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader.load(requester);
         } catch (error:SecurityError) {
         trace(error);
         this.addChild(loader);
         loader.x = (stage.stageWidth - 739) * .5;
         loader.y = (stage.stageHeight - 500) * .5;
    // sure this is not the best way to do this - but it is unload external swfs
         loader.unload();
         loader2.unload();
         loader3.unload();
    // remove eventlistner and prevents duplication of gallery.swf
         MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         function Down1(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         var requester:URLRequest=new URLRequest("contactLoader.swf");
         loader2 = null;
         loader2 = new Loader();
         loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);    
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader2.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader2);
         loader2.x = (stage.stageWidth - 658.65) * .5;
         loader2.y = (stage.stageHeight - 551.45) * .5;
    loader.unload();
    loader2.unload();
    loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         function Down3(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         var requester:URLRequest=new URLRequest("aboutLoader.swf");
         loader3 = null;
         loader3 = new Loader();
         loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader3.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader3);
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
         loader.unload();
         loader2.unload();
         loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
         stop();

  • How do you prevent the spry menu from using the main css background-image?

    (Dreamweaver CS5. Problem seems not to be browser specific)
    I added some code I found online to my main css file in order to allow a custom icon to be used as a  bullet in unordered lists, sitewide. It was added before the "body,td,th {" line.
    The problem is that the same icon now appears on the upper left hand corner of each main menu segment; not on any submenus or during any mouse states. Just the main at-rest bar.
    I know this is somehow related to spry itself being a list, but how do I keep it from showing the background image of the main css file?
    Thanks!
    This is the site http://www.usc.edu/org/seagrant/NS/
    The code which was added to the css file is shown below:
    ul{
        list-style:none;
        margin:0 0 1em 15px;
        padding: 0;
    ul li{
        line-height:1.3em;
        margin: .25em 0;
        padding: 0 0 0 15px;
        background:url(../Images/Compass_Website_small_2-4-11.png) no-repeat 0 4px;
    li ul{
        margin:0 0 0 30px;
        list-style:disc;
    li ul li{
        padding-left:0;
        background:none;
    li ul li ul{
        margin:0 0 0 30px;
        list-style:circle;
    ul li ul li ul{
        padding-left:0;
        background:none;
    /* Holly Hack to fix ie6 li bg */
    /*  Hides from IE-mac \*/
    * html li{height: 1%;}
    /* End hide from IE-mac */
    @media print{
    ul {
        list-style:disc;
        margin-left:30px;
    ul li {
        padding-left:0px;
        background:none;
    } /* end print */
    body,td,th { - etc...

    Add/modify the following to your document
    ul.MenuBarHorizontal li {
        background: rgba(0,0,0,0.0) url(none);
    Gramps

  • I had made a copy of the main revel file on my mac, and then i put it in my google drive folder for safety. I accidentally deleted one of the two libraries form my iPhone. I opened it up and panicked and thankfully I guess I had a backup of the other libr

    I had made a copy of the main revel file on my mac, and then i put it in my google drive folder for safety. I accidentally deleted one of the two libraries form my iPhone. I opened it up and panicked and thankfully I guess I had a backup of the other library in my spouses phone... but mine is still gone. I don't have them saved to my computer... the pictures are important and I really really need them back.  Is there a way for me to get the pictures back from what I believed at the time was a smart way to backup when i made a duplicate of that main mac file to my google drive? The best way to let me know is my email... [email protected]  I am really relying on you guys if there is a way?

    Hi meghage,
    From your code, it is a WebForm project.
    This forum is to discuss problems of Windows Forms. Your question is not related to the topic of this forum.
    You can consider posting it in asp.net forum for supports . Thanks.
    ASP.NET: http://forums.asp.net
    Regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • App Signing Error, Number of Folios Does Not Match the Main Folio File

    Hi All;
      I have a 250 page standalone app that I am trying to compile for the Apple Store. I read through the forums and enabled "AppBuilderLoggingEnabled.cfg" in my user directory to capture the issue. Here is the snippet of the log that was created that, to me, shows why the app isn't being signed.
    46386 ERROR [main] codesign.Signer - Failure during signing
    java.lang.RuntimeException: invalid package, number of folios does not match the main folio file (Folio.xml or Issue.xml) 251-250
              at com.adobe.devtech.codesign.IPAOutputHelper.convertFolioProduceFormatToFolio(IPAOutputHelp er.java:272)
              at com.adobe.devtech.codesign.IPAOutputHelper.replacePlaceholderFolio(IPAOutputHelper.java:1 92)
              at com.adobe.devtech.codesign.IPAOutputHelper.execute(IPAOutputHelper.java:82)
              at com.adobe.devtech.codesign.Signer.sign(Signer.java:169)
              at com.adobe.devtech.codesign.Signer.processArgs(Signer.java:106)
              at com.adobe.devtech.codesign.Signer.main(Signer.java:46)
    46388 ERROR [main] codesign.Signer - Error: invalid package, number of folios does not match the main folio file (Folio.xml or Issue.xml) 251-250
    I've stripped out special characters from the article titles and re-built the app only to face the same error. I went ahead and created a new AppID in the Apple Developer Portal, created new provision files, and the error remains. I am now creating a new folio and importing the articles into the new folio to see if that will solve the "number of folios does not match" issue.
    Any help or insight would be amazing. Thank you all.
    -matt

    I created a new folio and imported all of the articles again. After hitting "Create App" for this new folio, at about 10 pages in a "PDF Export" error stopped the create app process. I went into InDesign to update the layout for the 10th page to see that the PDF export issue was stopping me from updating the layouts as well. Something in the InDesign file wasn't playing nice with the folio creation, so I created two new InDesign files, deleted the article, and built a new article from scratch. I was able to import the new layouts as a new article to the main folio and hit "Create App" again. This time there were no issues with the creation process. I synched up the provision files in App Builder and was able to code sign the application.
    I guess the moral of the story is to double and even triple check every article along the way to make sure there are no issues being introduced into the process that will ultimately cause headaches during the distribution phase of app creation!
    -matt

  • Cant find the main setup file to download

    Hi,
    I have license for Photoshop cs5 12.0 tr ( 65048653 ) but when i search i can only reach to the
    upgade file, not the main setup file.
    Thanks

    if you follow all 7 steps you can directly download a trial here:  http://prodesigntools.com/all-adobe-cs5-direct-download-links.html
    and activate with your serial number.
    if you have a problem downloading, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com

  • Possible to edit without the main.fla file?

    About 10 days ago I purchased a flash template for my photography business. At the time I knew zilch about flash and actionscript, so I wasn't totally aware of what to look for before purchasing it. Here is what it looks like dcpphotographer.com
    My problem with the site is that scrolling is terrible, especially on smaller screens. My monitor is 28inches so all the pictures layout fine without having to scroll at all, but then my friends with smaller monitors told me about the scrolling problem, how it just goes straight to the bottom then snaps back to the top. My file directory has a ton of .as files, and I've looked through some of them, and even deleted some from the file directory just to see if it'd have an effect on the website. The ones I temporarily deleted, changed nothing to the performance of the website.
    Then I saw that they did not provide me with the main.fla file, only the main.swf file. So, is the scroll behavior that I want to change contained within that main.fla file? Making it impossible for me to try and fix it since I don't have the main.fla file? Is that what controls all the .as files or something? Sorry for my ignorance, but web development is not my area of expertise, hence my reasons for buying a template. Any help would be appreciated.

    Great thanks thats what I thought. So I'm going to demand a refund from the company I got the template from since its been over a week and they haven't made the fix yet, and if they don't even give me the option to try and fix it myself then I should get a refund since there was nothing in the preview file showing that the scrolling was so bad because the sample galleries only had 15-20 pictures so no scrolling was necessary on their preview, and therefore no way to know it was so bad.

Maybe you are looking for

  • SQL Data Modeler 3.0 EA1 trying to create primary key on OT

    Hi, I'm trying to modify a primary key of an object table that was reversed (imported) from an Oracle 11.2.x RDBMS and am getting the error message "Incomplete Index definition". It is showing in the window "Index Columns Assignment". I get to the 'P

  • Airport problem with 10.4.8 update: a solution

    I have MacBook Pro, which communicates with a Zyxel G-570S access point. I had been experiencing bandwidth restrictions under 10.4.7 and I hoped that 10.4.8 would solve this. Unfortunately, when I installed 10.4.8 it made the bandwidth problems worse

  • I want to replace My Hard Drive

    I have a 80gig hard drive but i want more but without an extra hard drive

  • I have 2 dead pixels on my N80

    Does anyone know Nokia's policy on dead pixels? Or should I said it back to the Carfphone Warehouse as I've had it less than a month and also it is insured?

  • Skype 7.0 chrashes after logging

    The same problem that happens very often. Just after logging "Skype has stopped working" pops up. I've tried every solution that i could google or find here (updating windows, login cleanup, deleting or changin folders in %appdata% and %temp% etc.),