Applying a filter to multiple display objects

I have a large amount of btn's that load full size images when clicked. I simply want to add a filter, scaleX and scaleY to each of those buttons and  I know there is a better method then typing each btn name with an eventListener for the Mouse_Over and Mouse_Out events. I understand that I need to create a variable of a new filter and then apply it to the display object. Like so..
var glow:GlowFilter = new GlowFilter(0x0066FF, 1, 10, 10);
function hover(event:MouseEvent):void
pic1_btn.filter = new Array(glow);
pic1_btn.scaleX = 1.02;
pic1_btn.scaleY = 1.02;
pic1_btn.addEventListener(MouseEvent.MOUSE_OVER, hover);
function noHover(event:MouseEvent):void
pic1_btn.filter = new Array();
pic1_btn.scaleX = 1;
pic1_btn.scaleY = 1;
pic1_btn.addEventListener(MouseEvent.MOUSE_OUT, noHover);
So if I were to continue this, I would have to type out pic1_btn, pic2_btn, pic3_btn and so on to apply a filter to each object and also type out the object name for each listener. NUTS! So my question is what is the best way to approach this? Thanks for your help.

Thank you for that information yesterday, it was really helpful.
OK so what I have is a pretty simple album. At the top of hierarchy I have a file named "loader.swf" that requires a password and then loads the "album.swf" then depending on the button that is selected on the "album.swf" an additional .swf is loaded. These additional .swf's contain the thumbnail buttons which we are discussing and when those buttons are clicked an external full size .jpg is loaded. Following are the actions from the main timeline.
var picLoader:Loader = new Loader();
bar_mc.alpha = 0;
function progressHandler(event:ProgressEvent):void
      var myprogress:Number = event.target.bytesLoaded/event.target.bytesTotal;
      addChild(bar_mc);
      addChild(myTextField_txt);
      bar_mc.alpha = 100;
      bar_mc.scaleY = myprogress;
      myTextField_txt.text = Math.round(myprogress*100)+"%";
picLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
function imageLoaded(event:Event):void
      addChild(picLoader);
      removeChild(myTextField_txt);
      removeChild(bar_mc);
      picLoader.x = (stage.stageWidth - picLoader.width)/2;
      picLoader.y = (stage.stageHeight - picLoader.height)/2;
picLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
function removeFull(event:MouseEvent):void
      picLoader.unload();
      removeChild(picLoader);
picLoader.addEventListener(MouseEvent.CLICK, removeFull);
On the main timeline I have an instance of a movie clip called "mcThumbs". Within this movieclip I have different pages on different layers and 12 thumbnails per page.
And the actions for mcThumbs
stop();
function picClick(event:MouseEvent):void
      this.parent.picLoader.load(new URLRequest(event.target.name + ".jpg"));
for(var a:uint=1; a<=76; a++)
      this["newborn"+String(a)].addEventListener(MouseEvent.CLICK, picClick);
function hover(event:MouseEvent):void
      event.currentTarget.scaleX = 1.02;
      event.currentTarget.scaleY = 1.02;
function noHover(event:MouseEvent):void
      event.currentTarget.scaleX = 1;
      event.currentTarget.scaleY = 1;
for(var i:uint=1; i<=76; i++)
      this["newborn"+String(i)].addEventListener(MouseEvent.MOUSE_OVER, hover);
      this["newborn"+String(i)].addEventListener(MouseEvent.MOUSE_OUT, noHover);
function goBack(event:MouseEvent):void
      if(currentFrame == 1)
            gotoAndStop(totalFrames);
      else
            prevFrame();
function goForward(event:MouseEvent):void
      if(currentFrame == totalFrames)
            gotoAndStop(1);
      else
            nextFrame();
prev_btn.addEventListener(MouseEvent.CLICK, goBack);
next_btn.addEventListener(MouseEvent.CLICK, goForward);
This is where the issue arises. If you hover over a thumbnail button and then go to an different page, that same thumbnail button will remain visible behind the thumbnails of that page.

Similar Messages

  • How do you apply an EQ filter to multiple clips at once?

    i need to EQ a VO and rather than apply the filter to each clip serparately, is there a way to apply one filter to multiple clips at once?
    thanks
    carl

    apply your eq effect to one of the clips and adjust settings as required, then select every other clip that you want to apply this eq to, and then drag and drop the effect (from the viewer) onto one of those selected clips ... it will apply to all those selected.
    another way, if its the only effect on the clip, would be to apply and adjust the effect, select the clip with the applied effect and press cmd-c to copy, then select all the other clips you want to add the eq to and press opt-v to paste attributes ... in the window select audio filters (only)

  • Radial Blur (spin) filter on multiple selections

    Is there any way to make this filter operate separately on multiple small selections?  For example, if I want to apply the filter to many individual stars on an image of the night sky, I can easily make a selection of all the bright stars in the image, but when I apply the radial-spin filter, it operates on the total aggregated selection, rather than separately on the small selection area around each star.

    Thanks for that suggestion.  I should have explained though that I'm not trying to animate or add sparkles the image. I'm using the older version of the radial filter to make individual star images smoother and more circular (rather than current egg-shaped).  Applying the filter to a small circular selection around a single star works well, but it's not practical to repeat the process very many times to apply it to every star.  Although Noel's filter doesn't do quite what I want, it does address the problem of applying the filter across multiple centres .... so there is hope!

  • Applying one video filter to multiple clips

    How do I apply just one video filter to multiple clips on a timeline in FCP7? "Copy and paste attributes" does not give me the control to select just one filter to apply, for example there is a color corrector and sharpen filter in the copied clip and all I want to paste is sharpen.

    Double click on a clip on the timeline that has the sharpness filter with the settings you want to apply to additional clips.
    When that clip has loaded to the viewer, click on the filters tab. You will see a list of all the filters you have applied.
    Now, on the timeline, select all the clips you want to apply that filter to (you can hold down the Command key while clicking on the clips to select multiple clips).
    Once the destination clips are selected, move your cursor to the Viewer window Filters tab display, and click down on the Sharpness filter and drag it to any one of the selected clips on the timeline.
    It will be applied to all clips.
    MtD

  • How can I apply the same filter to multiple inboxes?

    I am looking at transitioning from Outlook to Thunderbird -- mostly for the Google calendar integration.
    The one thing I am having problems with is the filters. I have multiple email addresses and I would like to be able to apply one filter to all of the email addresses. Ie: I get an email from Bob sent to me on my email address 1 and the email goes to bob's folder. Then I get an email from Bob on my email address 2.
    I would like to have the same rule to be effective for both of my email addresses so if bob uses either email address, the mail goes to bob's folder.
    Right now it appears that I have to create a unique filter if I get email from 'bob' on email address 1 vs email address 2. Am I missing something?

    Nope. Thunderbird's filters are specific to accounts.
    You could set them up in one account, then copy that account's ''msgFilterRules.dat'' file to your other accounts.

  • Want to apply poster edges to a smart object layer, but Filter Gallery is greyed out?

    Working a Photoshop tutorial on an image.  I want to apply poster edges to a smart object layer, but Filter Gallery is greyed out.  Filter Gallery is also greyed out for all other layers in this project.  (PhotoShop CC)

    Hi Filter Gallery,
    Please click on the image tab at the top and choose mode from 16bits/channel to 8bits/channel.
    Then check if the filter gallery is still grayed out.
    Thank you for posting on Adobe Forums.

  • How do i apply one gradient across multiple live paint objects??

    I need to apply a single gradient acros a number of live paint objects but am finding it annoyingly hard to find a way.  I know that normally, to apply a gradient across multiple objects, you would need to make them all into one compound path but does this apply to live paint groups in any way??  Can what i need to achieve actually be done??
    Thanks for any help given 

    1. With the Live Paint selection tool, shift-select those shapes you want to unify with a gradient.
    2. Fill this (multi-shape) selection with your gradient. Now each shape is filled separately.
    3. With the gradient tool, drag across all of the selected shapes.
    "Annoyingly hard." Is that different than "hard"?

  • Apply text styles to multiple objects

    Hey everyone,
    So here's another interface issue I can't seem to resolve.
    I've figured out how to save a text's style to be applied later (thanks Qbert), but now how do I apply that style to multiple text items without having to go to each individual item, press the text tab in the inspector, press the style sub-tab, press the style preset drop menu and press the saved preset I want to use. I have 7 project files each with 5-8 text items that need this particular style applied to it and it would be much faster to be able to do this once for each project file rather than have to repeatedly do these 5 steps for each text item. I've already tried highlighting all of the text items I want to apply this style to and there is no way to drag anything into or out of the style sub-menu.
    Thanks in advance.
    -G

    Hey Graham,
    Your question got answered on the other thread here.

  • Search function in member filter shows multiple entries by value

    Dear all,
    when using the search function to specify a filter on specific members, we are facing the issue that in the result area, the result value for one member is displayed redundantly several times.
    The access mode is set to "values in masterdata", but as my members are unique by key, I wonder why the members are shown multiple times.
    Does anyone has a solution for this?
    Thanks and best regards,
    Andreas
    PS: we are on 1.4 SP8

    Hi Martin,
    in this case I clearly do not have any compound elements, as 0PLANT is a stand alone characteristic. Other objects like 0MAT_PLANT (where I would have a compound element of 0PLANT) are not available in the providers - and even then it would be strange if AO would check against this objects when I try to apply a filter on a different member....
    Regards,
    Andreas

  • Analysis Authorization based on Hier node with multiple display hierarchies

    Hi guys - I've got a problem where s.o. might have an idea of how to switch on the light at the end of the tunnel, I am currently standing in:
    Requirement:
    Cost Center Authorization should be given through RSECADMIN, reporting should be possible for any hierarchy that exists for the authorization relevant info object.
    Preferred solution:
    The Cost Center Analysis Authorization should be given through RSECADMIN - Hierarchy node assignment.
    u2022     A dedicated Authorization Cost Center Hierarchy will be maintained in ECC6 as an alternative cost center hierarchy and extracted into BW.
    u2022     The RSECADMIN Hierarchy node assignment should be based on a particular node (Type 2).
    u2022     The display level will be specified as required (here: Level 7)
    u2022     The Authorization granted should be independent of hierarchy name and version (validity 3).
    Reporting Scenario and technical impact:
    As mentioned above, when designing and running a query the user should be able to freely select other (i.e. than the authorization) display hierarchies for the authorization relevant reporting object 'Cost Center' as well. The technical names of the semantically relevant hierarchy nodes could therefore vary. E.g. cost centers 1, 2 and 3, being assigned under hierarchy node u2018Au2019 of the RSECADMIN relevant authorization hierarchy, could be subsumed by hierarchy node u2018Bu2019 in another display hierarchy, which the user may want to display in accordance to his reporting needs. Ideally, the alternative display hierarchy should therefore display node u2018Bu2019.
    My findings so far (based on prototyping) turn out that this is not possible as long u2018Bu2019 (and its hierarchy) is not authorized in RSECADMIN. Can these findings be confirmed? And if not, would anyone have an idea of how to facilitate the reporting scenario?
    Would there be any other way to grant access, possibly based on RSECADMIN single values, and also enable the user to flexibly display hierarchies with only those hierarchy nodes whose single cost center values the user has been given access to?
    Thanks everyone for your input...
    Claus
    Edited by: Claus64 on Jul 13, 2009 4:10 AM

    HI CLause,
    On Jul 14 2009, you wrote in SDN and said:
    FYI: Found a solution...
    The hierarchy analysis authorization will be based on a navigational attribute of cost center.
    With analysis authorizations it is possible to declare the Auth object (e.g. 0COSTCENTER__RACCAUT0) as authorization relevant and leave the superior object 0COSTCENTER auth irrelevant.
    The auth will be given for 0COSTCENTER__RACCAUT0. This object will be placed as a filter of the query, being restricted by an Authorization variable for hierarchy nodes.
    Due to the concept of Analysis Authorizations, this variable will automatically pick up the nodes granted as part of RSECADMIN Hierarchy based Authorization.
    As mentioned above, 0COSTCENTER as the regular reporting characteristic remains auth irrelevant and can therefore take any hierarchy thatu2019s available. Reporting on single values will be possible, too. Only those nodes show up that hold the authorized cost centers in accordance to the authorization.
    If the auth relevant 0COSTCENTER__RACCAUT0 is not used in the query definition by either not taking it in as a filter or skipping the Auth variable, the query will launch the message that the authorization is missing. No data show up at all.
    Claus
    See this thread:
    Analysis Authorization based on Hier node with multiple display hierarchies
    I am also in the same situation as you and need to understadn your solution. I understand that you created a Nav Attr on 0COSTCENTER and made this auth relevant whilst ensuring that 0COSTCENTER is NOT auth relevant. This is all fine. The issue was you have multiple hierachies for 0COSTCENTER, how did the new Nav Attr help you solve your issue. When loading 0COSTCENTER what values did you load ino the new Nav Attribute and how did that link to the hierachies? Also, in RSECADMIN you created hiearchy nodes based on the Nav Attribute but I am confused as to what values you have in the Nav Attr.
    I appreciate if you can share your solution from the past in more details.
    many thanks

  • Is there a way to detect redraw regions or at the very least when a display object is redrawn?

    I have a layered window system that produces Windows 7 Aero Glass effect in Flash.
    It consists of nested display objects, with overlays as so.
    Root [
        GlassWindowTop [
           RenderedEffectBackground
         BackgroundForGlassWindowTop [
             GlassWindowMiddle [
               RenderedEffectBackground
            BackgroundForGlassWindowMiddle [
                 GlassWindowBottom [
                    RenderedEffectBackground
                 BackgroundForGlassWindowBottom (e.g. the DesktopBackground)
    Windows can be raised and lowered by changing their order in the hierarchy and adding new levels.
    Each glass window has a designated background (containing all lower windows) .  It draws to an off-screen Bitmap the region of the background that is under the window, and applies a blur filter, tint, and parallax effects to it, and then displays that as it's own background as RenderedEffectBackground.
    The problem is that "RenderedEffectBackground" is a static rendering of the window background, so in order to update it in real time, I need to detect when it's background display object (e.g. BackgroudnForGlassWindowTop) or any nested display objects are rendered.
    I could simply update all RenderedEffectBackgrounds from the bottom up each frame, but that would be inefficient.   Ideally, I could detect when a particular background changes (e.g. when a textfield cursor is flashing, or a MovieClip changes frames), and then only render from that object up.  The rendering of course always has to take place from back to front, starting with the lowest window that has changed.  If I could detect the redraw regions of the Flash Player (e.g. when a textfield cursor is flashing, or a MovieClip is playing), I could optimize this system even further by checking for layer overlaps and only rendering layers whose windows intersect the redraw regions, but obtaining that level of information would probably not be possible or logical since this this essentially needs to happen during some kind of pre render phase, which Flash may not support.  Such a pre-render phase would itself be causing new redraw regions, but as long as it is processed from the bottom up, it could work.
    Is there any AS3 function of the flash player that allows my code to obtain information about the display list as far as which display objects are due to be rendered, and then intercept some kind of "onRenderComplete" event for them right before rendering takes place so that I can render the higher display objects.
    I originally tried to implement this as a filter, but pixel bender shaders in AS3 don't seem to allow sampling of an underlying object that would allow for blurring (i.e. the shader can access only the current point being rendered, coordinates passed to the sampling methods are ignored (this is documented behavior).
    Any ideas?

    The feature that shows the link you are mousing over hasn't been removed in 29. Maybe the add-on you are using to restore the add-on bar is covering it. I've tested the Classic Theme Restorer and it seems to work correctly in this situation - https://addons.mozilla.org/firefox/addon/classicthemerestorer/

  • Create confirmation for multiple cost objects PO in SUS

    Hi,
    Is it possible to create confirmation for multiple cost objects PO ( order type 'MA') in SUS ?
    We are going to implement SRM 7.
    Thanks & regards,
    Afandi-

    Hi All,
    First of all, thanks for your responses..
    Right, about the issue, what I explained here was that I am indeed assigning only one cost object: the WBS element. The issue was that even though I am assigning only the WBS element, it was also assigning the cost to the cost center by default. I did some R&D and found the solution to the issue (I was also asked to look for OSS notes but was not satisfied that this issue needs an OSS note to be applied so tried my solution). The issue was in table: T788M (allocate costs to variable account assignment). Here, I created an entry and called it USERGROUP_2 (just a random name) and assigned the variable cost objects (only the WBS and the Cost center) to be displayed. In the next step, I assigned this usergroup to the country in quesion feature (TRVCO). By doing this, I tell the system that only these cost objects are to be considered when an employee wants to assign the cost object. If the system sees that there is no value from the drop down to choose from, it picks up the default cost object (cost center). This was a simple issue that I had to rattle my brains on... but the solution I mention above worked like a hot knife going through butter...
    If you guys face this issue, please try this else feel free to get in touch with me on my number below.
    Once again, thanks for your responses.
    Best regards,
    Tanmay Dhingra
    +91 880 6666 606

  • How to apply List box for multiple selection of rows  in ALV report ?

    Hi Exprots,
    1: How to apply List box for multiple selection of rows  in ALV report ?
    Thanking you.
    Subash

    hi,
    check the below program.
    REPORT zalv_dropdowns.
    *Type pools declarations for ALV
    TYPE-POOLS : slis.
    *data declarations for ALV container,ALV grid, Fieldcatalogues & layout
    DATA: g_grid  TYPE REF TO cl_gui_alv_grid,
          g_custom_container TYPE REF TO cl_gui_custom_container,
          gt_fieldcat TYPE lvc_t_fcat,
          gs_layout TYPE lvc_s_layo.*INTERNAL TABLE AND WA DECLARATIONS FOR t517 A table
    DATA: gt_outtab TYPE STANDARD TABLE OF t517a INITIAL SIZE 0,
          wa_outtab TYPE t517a.
    START-OF-SELECTION.*Call to ALV
      CALL SCREEN 600.*On this statement double click  it takes you to the screen painter SE51.
    *Create a Custom container and name it CCONT and OK code as OK_CODE.
    *Save check and Activate the screen painter.
    *Now a normal screen with number 600 is created which holds the ALV grid.
    PBO of the actual screen , Here we can give a title and customized menus
    Here we also call the subroutine for ALV output.
          MODULE PBO OUTPUT                                             *
    MODULE pbo OUTPUT.
      PERFORM alv_output.
    ENDMODULE.                    "pbo OUTPUT
          MODULE PAI INPUT                                              *
    MODULE pai INPUT.
    ENDMODULE.                    "pai INPUT
    *&      Form  BUILD_FIELDCAT
    FORM build_fieldcat.
    DATA ls_fcat TYPE lvc_s_fcat.
    *Build the field catalogue
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name = 'T517A'
        CHANGING
          ct_fieldcat      = gt_fieldcat.
    To assign dropdown in the fieldcataogue
      LOOP AT gt_fieldcat INTO ls_fcat.   
    CASE ls_fcat-fieldname.
       WHEN 'SLART'.
    *is the first list box
            ls_fcat-drdn_hndl = '1'.
            ls_fcat-outputlen = 15.
            MODIFY gt_fieldcat FROM ls_fcat.
    is the second list box    
    WHEN 'ABART'.       
            ls_fcat-drdn_hndl = '2'.
            ls_fcat-outputlen = 15.
            MODIFY gt_fieldcat FROM ls_fcat.   
    ENDCASE.
      ENDLOOP.
    ENDFORM.                    "build_fieldcat
    *&      Form  ALV_OUTPUT
    FORM alv_output .*Create object for container
      CREATE OBJECT g_custom_container
             EXPORTING container_name = 'CCONT'.
    *create object for grid
      CREATE OBJECT g_grid
             EXPORTING i_parent = g_custom_container.
    Build fieldcat and set column
    *Assign a handle for the dropdown listbox.
      PERFORM build_fieldcat.
    *Build layout
      PERFORM build_layout.
    Define a drop down table.
      PERFORM dropdown_table.
    *fetch values from the T517A table
      SELECT * FROM t517a INTO TABLE gt_outtab.
    *Display ALV output
      CALL METHOD g_grid->set_table_for_first_display
        EXPORTING
          is_layout       = gs_layout
        CHANGING
          it_fieldcatalog = gt_fieldcat
          it_outtab       = gt_outtab.ENDFORM.                               "ALV_OUTPUT
    *&      Form  dropdown_table
          text
    -->  p1        text
    <--  p2        text
    FORM dropdown_table.*Declarations for drop down lists in ALV.
      DATA: lt_dropdown TYPE lvc_t_drop,
            ls_dropdown TYPE lvc_s_drop.
    First SLART listbox (handle '1').
      ls_dropdown-handle = '1'.
      ls_dropdown-value = '01 Primary school'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '1'.
      ls_dropdown-value = '02 Lower Secondary'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '1'.
      ls_dropdown-value = '03 Upper Secondary'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '1'.
      ls_dropdown-value = '04 Professional School'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '1'.
      ls_dropdown-value = '05 College'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '1'.
      ls_dropdown-value = '06 University'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '1'.
      ls_dropdown-value = '09 Other Establishment'.
      APPEND ls_dropdown TO lt_dropdown.* Second ABART listbox (handle '2').  ls_dropdown-handle = '2'.
      ls_dropdown-value = '10 Primary School certificate'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '2'.
      ls_dropdown-value = '20 Lower secondary/Junior high'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '30 High school diploma(B-levels)'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '2'.
      ls_dropdown-value = '31 Vocational'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '32 Matriculation'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '40 Specialist vocational certificate'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '50 College degree Level1'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '51 College degree Level2'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '52 Masters degree'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '60 Univ Degree level1'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '61 Bachelors degree'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '62 Masters degree'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '63 Licenciate'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '64 Doctors Degree Ph.D'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '89 None'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '90 Unknown'.
      APPEND ls_dropdown TO lt_dropdown.*method to display the dropdown in ALV
      CALL METHOD g_grid->set_drop_down_table
        EXPORTING
          it_drop_down = lt_dropdown.ENDFORM.                               " dropdown_table
    *&      Form  build_layout
          text
    *layout for ALV output
    FORM build_layout .  gs_layout-cwidth_opt = 'X'.
      gs_layout-grid_title = 'ALV DROPDOWN LISTS'.
      gs_layout-no_toolbar = 'X'.ENDFORM.                    " build_layout
    endform.
    Edited by: S.r.v.r.Kumar on Jun 1, 2009 2:48 PM

  • How to define one filter over multiple dimensions

    Hallo Everybody,
    I am a SAP BW consultant trying to move the first steps in BO. I am quite new and unskilled in this area.
    I built an Universe on a SAP BW query. This query is about Product master data. Among other characteristics I have defined also three year characteristics (Teil1, Teil2 and Teil3). In correspondence of every of those year characteristic a key figure is defined (Quant1, Quant2 and Quant3).
    I have now the requirement to build a Web Intelligence report, being able to filter across the three year characteristics and reporting the corresponding key figures.
    An example:
                     Teil1   Teil2    Teil3   Quant1  Quant2  Quant3
    Record1   2001   2002   2003    10            20          30
    Record2   2007   2009   2010    30            80         110
    Record3   2002   2003   2005     6             40          30
    I might be able to define a general filter over the characteristics Teil 1 Teil2 and Teil3, acting like that:
    General Filter: 2003
    Reported Values    Record1 Quant3 (30)
                                   Record3 Quant2 (40)
    since year 2003 is appearing only in record1 and 3 and not in record2.
    What i am trying to build is a "or" condition Teil1 = 2003 Or Teil 2 = 2003 or Teil3 = 2003, where the year value is defined by the user at query execution.
    I hope, my requirement is clear and, above all, you are able to help me.
    Best regards
    Enrico

    Hi
    you can create a quick filter that will be applied locally on the WebI report. All you have to do is to create a WebI variable that contains the OR condition and apply the filter to it:
    assuming your variable is named MyVariable the formula will look like this:
    =if (Teil1 = 2003 Or Teil 2 = 2003 or Teil3 = 2003) then 1 else 0
    Then you have to apply the following filter on the report section you display your results
    MyVariable=1
    Please note that still all data will be fetched into your webi report and will be filtered after that. This may cause performance problems if we are talking about a large number of data. In this case you may ant to consider to add a customer exit variable into your BEx query.
    Regards,
    Stratos

  • How do I compensate for display objects jumping when screen scaling

    I am building an application that is to run at 2 difference stage sizes. 960x640 and 1024x768 (for those paying attention, you may note that those are the high res settings for the iPhone and iPad2)
    The app was designed and build to run on a stage of 960x640 and when running at this size, there are no problems.
    When the app loads in the 1024x768 window, it "strechs" the stage to fill the window, but keeps the aspect ratio. Everything looks good and the application runs without any problems expect for one thing.
    Sometimes, display objects on the stage "jitter" when moving or animating. I have discovered that this is because the stage is "scaling" the x and y values, and is not pixel snapping the objects on the screen, even though the x and y values of the display object are indeed whole numbers.
    A prime example of this is I have 2 bitmapData images. bmData_s and bmData_h.
    bmData_s is 192x388 in size.
    bmData_h is created from a copy of bmData_s with a glow filter stroke on it, resulting in a image that is 198x394 (6 pixels bigger due to a 3 pixel stroke)
    I place it on the screen using the following code:
    (Background is a bitmap object that is 960x480 and places at 0,0)
    (ObjOffset is a point in my app data to position the object, it's a point set to 53,195)
    MyObj.x = Background.x + ObjOffset.x + (bmData_s.width/2);
    MyObj.y = Background.y + ObjOffset.y + (bmData_s.height/2);
    now, when the mouse rolls over the object, I have an event listener to change MyObj.bitmapData to bmData_h
    MyObj.bitmapData = bmData_h;
    MyObj.x = Background.x + ObjOffset.x + Math.floor(bmData_h.width/2);
    MyObj.y = Background.y + ObjOffset.y + Math.floor(bmData_h.height/2);
    and back to the _s image on mouse out.
    Now, when the app runs on the iPhone which is a 960x640 screen size, or on the PC which is using a window of similiar size, the image doesn't appear to move at all... the "stroke" appears and disappears exactly as it is suppose to
    However, when I run it in a window that is 1024x768, the _h image appears to "jump" one pixel up.
    I have encountered many other similiar things that only occure when the stage is scaled. There is a spot in the app where I am animating a bitmap by manipulating it's scrollrect x and width (have it's do a wipe in from right to left like a peice of paper unrolling on a table) and due to the scaling, the right edge of the image jumps left and right 1 pixel... but on 960x640 screens, it looks perfect.
    Does anyone know how I can compensate for this effect so that this jumping doesn't occur when the stage is stretched to fit the window it's running in?

    Sounds like a x-browser rendering problem
    my guess would be to scale down the inner div's so they add up to less than 100%.
    If you floated div's and gave them a %, give one of the div's a smaller.
    ie: 2 divs floated in a Header, give one 50% and the other 49.5%

Maybe you are looking for