Preloading Components Breaks Them

I am creating a Flash presentation that uses quite a few
components (UIScrollbar, Checkbox, RadioButton, Button,
ScrollPane). Now because I want to be able to have a preloader that
works properly, I have changed my Publish Settings to set "export
frame for classes" to frame 6 (The frame after the preloader). I
have also gone to each of the components in my library, opened the
linkage settings, and unchecked the "Export in First Frame"
checkbox.
Now when I test my movie, the components do not work. For
instance, the UIScrollbar does not display the Arrow buttons (nor
does it work at all), and the scrollpane's dimensions are not what
I have set them to be in the movie. If I revert the settings back
to export on first frame and export frame for classes back to 1,
everything works fine.
Anyone have any ideas?
Mitchell Killian (II Cor. 12:9)
www.IntegrityDC.net
"Except a man be born again, he cannot enter into the kingdom
of heaven." John 3:3

I took advice from another forum and decided to separate my
preloader and presentation into two different SWFs.
For those who may be interested, I used the MovieClipLoader
class to load my movie into a container clip in the preloader. I
had to adjust my preloader which was using the getBytesLoaded and
getBytesTotal to use the class's function onLoadProgress to animate
the progress bar.
I also had to go through and adjust buttons that referred to
movie clips on the root layer. Because I loaded the clip into
another movie, those clips were no longer on the _root layer. They
were on the _root.containerMC clip layer.
After these adjustments, everything worked fine. I can also
reuse my preloader for any other presentations for which I might
need a preloader. Thanks for the help.

Similar Messages

  • How to Read the String and break them in to TUPULES

    HI ALL,
    i have one String like THE STRING IS --- ---- --- >>
    3122078,12/12/2005
    3122079,12/1/1988
    3122076,12/12/1999
    I want to break them into STR :=3122078 and STR1:=12/12/2005 .

    SQL> select substr('3122078,12/12/2005',1,instr('3122078,12/12/2005',',')-1) from dual;
    SUBSTR(
    3122078
    SQL> select substr('3122078,12/12/2005',instr('3122078,12/12/2005',',')+1) from dual;
    SUBSTR('31
    12/12/2005
    SQL>

  • Handsfree Cellphone laws and are you breaking them using an android

    Since, as far as I have heard ,California is the strictest on these laws I have read and pasted them below:
    http://www.dmv.ca.gov/pubs/vctop/d11/vc23123.htm
    23123.  (a) A person shall not drive a motor vehicle while using a wireless telephone unless that telephone is specifically designed and configured to allow hands-free listening and talking, and is used in that manner while driving.
    Short answer- By using an android phone that doesn't support hands free DIALING you are NOT breaking the law. 
    If you notice something different than I did or I overlooked something, please let me know. 
    I'm just tired of reading all these, I'm breaking the law when I use my Android phone for calls while driving.  Well, as I have found out, don't worry your not.
    The strictest law is regards to TEXTING, which prohibit it while operating a motor vehicle, unless(in some states) you are able to use a handsfree device for texting such as using text to speech, like handescent offers through their app.
    I started at the following website and it lead me to the california laws:
    http://www.handsfreecellphonelaw.com/
    Hopefully this will enlighten people and cause less of a concern on this issue.  Please if you have a rebutal on what I have said, please provide a link to the law you are referring.  Also, I didn't create this to hear complaints on a feature that is much wanted and personally needed as it is something available even on the oldest of Nokia candybar phones, well some LG phones.  It is an excellent componet that is requested by millions and is going to be implemented in froyo so enough said.
    Thanks for reading.

    yeah....yestrday i "rolled" through a stop. spit my gum out of the window, took out the recycling bin (which i'm sure contained something that is not recycleable), and used the carpool lane to get around a guy that was driving below the speed limit. all fineable (if not illegal) offenses. not to worried about having to touch my phone once or twice to make a call. i've never completely understood the various laws anyway? i have a cd/stereo that comes in the car, a zune (mp3 player), and an xm radio unit mounted to the dash. i have to use my hands for all of these. there's really no such thing as going "hands free." 

  • JSF screws IDs I specify for components padding them with "j_id_1"

    Hi everyone.
    Have anybody faced such a problem? When I specify the ID for the component, say, "logn", it is added to view as "loginj_id_1" padded with "j_id_1". Sometimes it happends, sometimes it doesn't. It may happen only for some of the components on the page. It wouldn't be a problem if the id under which the component is known was the same in all cases. But it's not the case. When the form validation fails and it's time to fill <h:message for="login">, I get the lines in the log saying:
    Unable to find component with ID loginj_id_1 in view.whereas the component exists under id "login". As for components at the same page whose IDs were padded with "j_id_1" there's no such an error and their <h:message>'s are filled as expected.
    Does anyone know what can make JSF override the ID that I specify? How come that one component is treated under differend IDs all around the project? Could it be a result of incorrect mixing RI & MyFaces for I have both of them in classpath? I haven't noticed that problem before upgrading to JSF RI 1.2_02 that comes with SJSAS 9.0_1.

    Each component is responsible for producing its own output, including it's HTML "id" attribute in the correct location. JSF does provide support for calculating the "id": UIComponent.getClientId(). The default implementation of this method is in UIComponentBase. I don't know if MyFaces has a different implementation or not... nor do I know if every component in your application produces HTML w/ id's formatted via this method. Some components may use serveral id's and create some or all of the id's by modifying the value rerturned by "getClientId()". Some containers (such as tables) may even manipulate the id's of their child components.
    So w/o a concrete example, I can't answer your question.
    Good luck!
    Ken Paulsen
    https://jsftemplating.dev.java.net

  • Let user drag drop dynamic components, resize them

    I'm just wondering how you can create UI components and let
    the user drag and drop them on the screen
    let the user resize the elements, change the text for example
    or rotate the element (just like scrapblog)
    Lets say you want to have an image object.
    Do have to create your own custom components that inhertis
    from the image component
    add some kind of handle objects and handle al the events so
    the user can change the size and rotate it
    Or is there a much easier way of doing this kind of cool
    stuff
    If anyone knows how this kind of technique is called, let me
    know its hard to find something about it (in any language,
    if i search for wysiwyg drag and drop in flex or .NET i
    mostly get results like FlexBuilder en Visual Studio not how to
    program such special components)
    grtz

    Did some more searching and already found some cool examples
    http://www.rogue-development.com/objectHandles.html
    http://blogs.adobe.com/flexdoc/2007/03/creating_resizable_and_draggab.html
    more examples are still welcome :)

  • Preloading components

    I'm trying to preload a component but I'm not having any
    success. I dragged a datagrid onto frame 3, checked "export for
    actionscript", unchecked "export in first frame" and exported my
    classes to frame 2. Everything works great (frame 1 < 3KB) until
    I give the datagrid (or any component for that matter) an instance
    name. Then frame 1 jumps to 32KB and frame 2 is < 3KB. Any
    ideas?

    If I understand you correctly, it's not instantiated through
    code. I dragged an instance of the component to the stage on frame
    3 and gave it an instance name in the properties menu.

  • 10.1.2, EZ way to check method calls before I change and break them.

    Is there a way in JDeveloper to see what methods call a certain method (incase I make changes, I don't break several pages)?

    Well if you would have upgraded to JDeveloper 10.1.3 or 11g you would have had the find usages menu option to help you with this.
    Why are you still using 10.1.2?

  • Message to Apple: Why do you fix things that aren't broken and break them?

    Ever since I upgraded to Snow Leopard, I've had problems. The biggest one is that I can no longer back up anything larger than 4GB which means I have to chop up captured scratch files (I'm a filmmaker) I cannot figure out why Apple would change this but it has caused nothing but problems. Today I was using QT 7 (because 10 is worse than anything else I ever had to use on a PC) to chop a 20GB file and the first 6 parts worked fine and then the 7th could not be saved because "the offset file was too big"
    This really isn't a question to be answered, but a petition to get Apple to notice how ticked we are at the 4GB rule in finder. If you have had similar problems, post a reply. Maybe when ever MAC user in the united states has posted on this topic Apple will put Finder back the way it was.

    Wrong forum.
    If you want to report this issue to Apple's engineering, send a bug report or an enhancement request via its Bug Reporter system. To do this, join the Apple Developer Connection (ADC)—it's free and available for all Mac users and gets you a look at some development software. Since you already have an Apple username/ID, use that. Once a member, go to Apple BugReporter and file your bug report or enhancement request. The nice thing with this procedure over submitting feedback is that you get a response and a follow-up number; thus, starting a dialog with engineering.
    BTW, IIRC, there's only a 4 GB limit when you're copying to a windoze formatted HD.

  • Motion Tweening Components - Will Not Work

    I've been using Flash for a few weeks and have scoured and
    scoured, trying to solve what I'm sure will turn out to be a small
    issue I'm over looking.
    Basically, I have buttons, scrollpanes, and FLVPlayer
    components on my stage, in separate layers that work fine when they
    are on the keyframe that I add them to initially. However, I want
    to animate these components moving in and out of the stage (see
    www.rossmnewton.com for an example). So I make new keyframes before
    and after the keyframe I added the components on, copy the
    components, move to the other keyframe, paste in place, move it,
    then create a motion tween, and the animation works fine. The
    problem is, no matter what I do though, my buttons, scrollpanes,
    and any other component, will fail to work as soon as I apply a
    motion tween to them. Instantly, they stop working. And I can't
    figure out how to animate these types of components without
    breaking them.
    What am I messing up here? Can you not motion tween buttons
    moving around? Or an FLV player?
    And I notice that it creates "Tween 1", "Tween 2", etc.,
    objects of type Graphic in the Library.

    Hi,
    The Sample Calendar component download has been fixed for Update 7.
    http://developer.sun.com/prodtech/javatools/jscreator/reference/codesamples/samplecomps/calendar.html
    Also, the source is available and also is valid.
    Please read the brief instructions in NOTES.txt
    To build the source, you'll need to use ant
    http://ant.apache.org
    Then , in the build.xml file included in the zip, correct
    the creator.home property setting to point to the installation directory of Creator.
    hth
    John

  • Errors using themes and tomahawk within portlets

    I've been developing a portlet using Creator2 Update 1 that uses the myfaces tomahawk library of components. Besides the difficulty of not being able to use the visual designer, I've managed to get my portlet functioning the way I want.
    My next step was to apply styles to my portlet. The difficulty here is that since portlets are aggregated within a portal, the portlet does not have access to the <head> tag of the container page (meaning I couldn't just add my own stylesheets and link them in.) I'm not sure how Creator works around this problem - I just know that it manages to using <ui:themeLinks> somehow.
    Changing the theme for a regular Creator-components-only (read: no tomahawk) is a no-brainer. I simply pick a different theme in the Project view and set it as the Current Theme. I can even set my own user-defined theme. Running the portlet either through Creator or Liferay shows the applied theme.
    However, once I start using tomahawk components, the theme system breaks down, throwing exceptions, such as the following:
    com.sun.rave.web.ui.theme.ThemeConfigurationException: WARNING: the Sun Web Components could not load any themes.
    at com.sun.rave.web.ui.theme.ThemeFactory.createThemeManager(ThemeFactory.java:274)
    Curiously, it only breaks if I use one of my user-defined themes. The Creator-provided themes will work with the tomahawk components portlet.
    In short, I am baffled. Creator-provided themes work regardless of tomahawk components present. My own themes work so long as there aren't tomahawk components present.

    Sorry, I don't think that's going to work. Themes are not used in the standard SES index, and therefore the Oracle Text knowledgebase is not installed - hence the DRG-11446 error you're seeing.
    If you figured out a way to install the knowledgebase from another system (and I'm NOT recommending that), you would still need to recreate the text index with INDEX_THEMES turned on.
    You should be able to connect to the SES instance from a remote machine by commenting out both "tcp.invited_nodes" and "tcp.validnode_checking" from the sqlnet.ora file. Not sure why just adding an entry to tcp.invited_nodes didn't work for you.

  • Layouts using components

    This is more of a methodology question. I am trying to decide
    to what granularity to I break my application up into individual
    components. Currently I have two states (state1, state2). The first
    state has one vBox with 3 buttons in it. Eventually state1 will
    have more vBoxes with subforms in each. I currently plan on having
    each vBox be a separate component. Simple enough.
    The second state (state2) has a lineChart, an
    ApplicationControlBar (with and hSlider and a couple of buttons), a
    label, and a subform (with a comboBox, radioGroup, and a submit
    button). I am trying to decide whether the whole state (state2)
    should be one component, or should I break this into several
    components (an ApplicationControlBar component, a lineChart
    component, and a subform component)?
    If I break it into several components then do I call each as
    a child when state2 loads or is it better to create a single
    wrapper [parent] component (such as a vBox) and then load the other
    [child] components into it, then load the parent component from the
    state?
    I am just trying to figure out how much to break up my layout
    Thanks for the suggestions.

    "ntsiii" <[email protected]> wrote in message
    news:ghkl1f$knj$[email protected]..
    > First, I am with Amy in the Viewstack vs States in this
    case. It is a
    > matter
    > of taste, but you will find Viewstack much easire to
    code than States,
    > with
    > fewer problems to deal with, especially for
    significantly different views,
    > I
    > use states to switch between a List and a TextInput, but
    Viewstacl for
    > more
    > complex views.
    >
    > Now, there is not one best answer to your question. The
    first obvious
    > level
    > is to make a component for each child view in the
    viewstack. That is also
    > the
    > most important break.
    >
    > If, within one of those views, there are groups of
    components that you
    > use in
    > many places, break them out into a custom component.
    (reuse)
    >
    > Or, if there is some logical functionality that occurs
    withing an area of
    > code, break it out.(encapsulation)
    >
    > Play this by ear. If you find yourself scrolling through
    page after page
    > of
    > functions, trying to find something, that might be a
    sign that refactoring
    > is
    > needed. If working with your code is comfortable, then
    leave it. (common
    > sense)
    I've found this to be helpful for locating code when it gets
    over 150 lines
    or so:
    http://flexdiary.blogspot.com/2008/12/why-i-love-development-perspective.html

  • Problem with preloader and sounds

    Hello everyone,
    I am making a movie that has 12 sound files in it. I am
    having trouble getting this to work with a preloader. I was using a
    seperate flash movie and using the movieClipLoader to load in the
    movie that has the sounds in it. However my employer wishes to have
    everything in a single swf file. I know the concept, that the
    sounds in the movie using attachSound need to be loaded before
    first frame... but I need the preloader to take them into
    account... how do I do that? I tried putting my preloader on frame
    one, then had 12 keyframes in a row and just dragged the sounds
    onto the stage (one for each keyframe there), and then the main
    movie starts on frame 14... but that stil doesnt work... how can i
    do this?

    Just to let anyone know... I did figure this out on my own...
    it makes it messy though and I dont like it... buuuuut what are you
    going to do... I had to set the linkage in each sound in the
    library to export and then uncheck the export in first frame...
    then i had to create keyframes for each sound and put it on the
    stage in frames 2-13. Preloader on frame 1 and main movie on frame
    14... it works now.

  • How to add a new line in SMS(Line Break).

    Hi All,
    I need to send SMS from PL\SQL Procedure
    The problem i have been facing is that the string being passed in as sms content is not parsing a newline character.
    It shows all content in one line.
    I need to break them in several lines.
    Give me a direction how to add a new line in SMS.
    Regards,
    Raj.

    Hi,
    Sure, Here it is
    CREATE OR REPLACE PROCEDURE APPS.AUTO_SMS_RTV_REPORT
    IS
    sender          VARCHAR2(1000);
    recipient     VARCHAR2(1000);
    message          VARCHAR2(4000);
    sub          VARCHAR2(1000)     := 'HELLO';
    dt1          varchar2(1000)     := to_char(sysdate,'DD-MON-YY');
    mailhost     VARCHAR2(30) := '10.7.7.xxx';     
    mail_conn     UTL_SMTP.CONNECTION;
    v_crlf VARCHAR2(2) := CHR(13)||CHR(10);
    CURSOR cur_Rejection_Records IS
                   SELECT DISTINCT
                        rt.VENDOR_SITE_ID               ,
                        pvs.email_address     VENDOR_MAIL_ID     ,
                        pvs.PHONE          vendor_contact_no ,
                        hre.EMAIL_ADDRESS     Employee_mail_id ,
                        hre.FULL_NAME
                   FROM apps.rcv_transactions      rt,
                        apps.po_vendors           pv,
                        apps.po_vendor_sites_all     pvs,
                        apps.mtl_transaction_reasons mtr,
                        apps.fnd_user          fu,
                        apps.hr_employees          hre     
                   WHERE transaction_type = 'RETURN TO VENDOR'
                   --AND        TRUNC(rt.transaction_date) = TRUNC(SYSDATE)
                   AND     rt.vendor_id          = pv.vendor_id
                   AND     rt.vendor_site_id     = pvs.vendor_site_id
                   AND     rt.REASON_ID          = mtr.REASON_ID(+)
                   AND fu.user_id          = rt.last_updated_by
                   AND hre.EMPLOYEE_ID     = fu.EMPLOYEE_ID
                   AND TRANSACTION_ID IN (
                                  11902189,
                                  11902253,
                                  11902148)
    BEGIN
         FOR rec_Rejection_Records IN cur_Rejection_Records
         LOOP
         Begin
              sender     := '<[email protected]>';
              recipient     := rec_Rejection_Records.vendor_contact_no || '@aaaa.com';
              mail_conn := utl_smtp.open_connection(mailhost, 8025);
              utl_smtp.helo(mail_conn, mailhost);
              utl_smtp.mail(mail_conn, sender);
              utl_smtp.rcpt(mail_conn, recipient);
              utl_smtp.DATA(     mail_conn,
                                  'Date: ' || TO_CHAR(SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss') || utl_tcp.crlf ||
                                  'From: ' || sender     || utl_tcp.crlf ||
                                  'Subject: '|| sub     || utl_tcp.crlf ||
                                  'To: ' || recipient || utl_tcp.crlf ||
                                  utl_tcp.crlf ||
                                  'Dear Supplier,'||CHR(10)|| utl_tcp.crlf ||'\\\0x0A'|| -- HERE I NEED LINE BREAK
                                  'Please.'|| utl_tcp.crlf                          
              DBMS_OUTPUT.PUT_LINE('Yep !!! SMS Sent Sucessfully :) ');
              utl_smtp.quit(mail_conn);
         EXCEPTION
              WHEN UTL_SMTP.PERMANENT_ERROR THEN
                        dbms_output.put_line('Error - ' || SQLCODE || ' - ' || SQLERRM);
              WHEN OTHERS THEN
                        dbms_output.put_line('Error - ' || SQLCODE || ' - ' || SQLERRM);
         END;
         END LOOP;
    END AUTO_SMS_RTV_REPORT;
    /

  • Fast Web View breaking links/bookmarks in PDFs from Word 2007

    I'm running Acrobat Pro 8.1.2 on WinXP, and I recently noticed an issue with PDFs that I'm creating from Word 2007. If I turn on the setting "Save As optimizes for Fast Web View," any links or bookmarks in the file break when I do a Save As. If I turn the setting back off, Save As doesn't break them.
    I had had problems creating the PDFs using the PDFMaker plug-in for Word, so I used the Save As PDF or XPS feature from Microsoft instead.
    PDFs created using FrameMaker are not giving me problems.
    I don't know whether this is related, but the Settings button on the Save As dialog box is no longer active. I'm sure I was able to click it before, but I can't now. And that goes for PDFs from Word or FrameMaker.
    Anyone have any clues?
    ===========================================
    Rick Henkel
    http://rickhenkel.googlepages.com/index.htm

    This is related to a bug in the direct PDF output from Word 2007. I was told that Microsoft has fixed this bug in the final SP2 release (so when the service pack becomes available, this problem will not be present).
    Until then, the workaround is indeed to turn off the "Save As optimizes for Fast Web View" preference in Acrobat (Edit > Preferences > Documents, under Save Settings).
    Shlomo Perets
    MicroType * http://www.microtype.com
    FrameMaker/Acrobat training & consulting * FM-to-Acrobat TimeSavers
    "Improve Your FrameMaker Skills" live web-based training sessions

  • Not displaying new components

    I have a form containing many standard form components: text fields, combo boxes, labels, etc. When a user clicks the submit button the form elements are all removed by this.remove(x). Then, a new set of form elements are added with this.add(y). The trouble is, they don't show up until the applet viewer is refreshed by hiding it behind another window then bringing it to the front or maximizing it out of the taskbar etc. I've tried adding this.repaint() and just repaint() in all sorts of places but it isn't doing it.
    What's wrong?

    I started learning Java through applets and wrote a lot of custom components and layouts. The Graphic Java series of books was very useful.
    FYI: When a component changes (or the layout of a container etc.) it calls invalidate(). This gets passed up the component hierarchy until it reaches the top. The top component then needs to decide what to do. It can calculate its layout again, postpone laying things out for later or do nothing at all.
    When you want to calculate the layout again you call validate() which calculates the layout on all child components, positions them accordingly and will probably repaint them.
    If you want to know more then just ask!

Maybe you are looking for

  • Javasqlite class not found error

    Hi , I 'm working with java 1.5 and linux with sqlite. When i try to connect with sqlite database using java im getting the following error. Unable to load sqlite: java.lang.UnsatisfiedLinkError: no sqlite_jni in java.library.path Exception in thread

  • Alpha channel problem with Pixel Bender blendShaders

    I'm using Pixel Blender to try and create a blend shader for a Flex 4.0 app. It looks like this: <languageVersion : 1.0;> kernel PixelReverse <   namespace : "com.abc.def.filters";     vendor : "EdAlive";     version : 1; >     input image4 foregroun

  • InDesign CS6 8.0.2.414 crash in Initialisierung wird abgeschlossen

    InDesign CS6 8.0.2.414 stürzt im Startvorgang bei "Initialisierung wird abgeschlossen"  ! Dann kommt die Info: "Adobe InDesign CS6 kann nicht gestartet werden. Wir informieren Sie, wenn eine Lösung gefunden wurde. Dies passiert im Hauptbenutzerkonto

  • Why is Exporting a BMP So Difficult in Ppro CS4

    Do I really have to go thru so many steps just to make a bmp from the timeline in CS4. I must manually select all the settings for the aspect ratio and uncheck sequence otherwise thousands of bmps are generated ans then I have to wait for Media Encod

  • UOM Conversion in a Infoset

    Hello Experts, I try to made a Unit Conversion in a Infoset but appear one error that said me that the 0material infoobject is not in the query, but is in the query the problem is that for infoset now is INSOFETNAME_FXXX. Is possible made a unit conv