How to change alpha of a "container"

I want to change alpha like when we change pages, but only for a container named:contain
I have 4 btn (text1, text2, text3, text4) in the "left_side" and each of those change "contain1" to "contain4".
(contain1, contain2, ... are all in my library and my btn
that's the code:
import fl.transitions.*;
import fl.transitions.easing.*;
// claim MCs from library to use on stage when needed using addChild
var c1:contain1 = new contain1;
var c2:contain2 = new contain2;
var c3:contain3 = new contain3;
var c4:contain4 = new contain4;
left_side.addChild(c1);
var pageMoveTween:Tween = new Tween(left_side, "y", Elastic.easeOut, 300, 110, 2, true);
left_side.text1.addEventListener(MouseEvent.CLICK, btn1Click);
left_side.text2.addEventListener(MouseEvent.CLICK, btn2Click);
left_side.text3.addEventListener(MouseEvent.CLICK, btn3Click);
left_side.text4.addEventListener(MouseEvent.CLICK, btn4Click);
function btn1Click (event:MouseEvent):void {
var btn1Outro:Tween = new Tween(left_side, "alpha", Strong.easeOut, 1, 0, 1, true);
btn1Outro.addEventListener(TweenEvent.MOTION_FINISH, runBtn1Transition);
function runBtn1Transition (event:TweenEvent):void {
left_side.removeChildAt(1);
left_side.addChild(c1);
var btn1Intro:Tween = new Tween(left_side, "alpha", Strong.easeOut, 0, 1, 1, true);
function btn2Click (event:MouseEvent):void {
var btn2Outro:Tween = new Tween(left_side, "alpha", Strong.easeOut, 1, 0, 1, true);
btn2Outro.addEventListener(TweenEvent.MOTION_FINISH, runBtn2Transition);
function runBtn2Transition (event:TweenEvent):void {
left_side.removeChildAt(1);
left_side.addChild(c2);
var btn2Intro:Tween = new Tween(left_side, "alpha", Strong.easeOut, 0, 1, 1, true);
function btn3Click (event:MouseEvent):void {
var btn3Outro:Tween = new Tween(left_side, "alpha", Strong.easeOut, 1, 0, 1, true);
btn3Outro.addEventListener(TweenEvent.MOTION_FINISH, runBtn3Transition);
function runBtn3Transition (event:TweenEvent):void {
left_side.removeChildAt(1);
left_side.addChild(c3);
var btn3Intro:Tween = new Tween(left_side, "alpha", Strong.easeOut, 0, 1, 1, true);
function btn4Click (event:MouseEvent):void {
var btn4Outro:Tween = new Tween(left_side, "alpha", Strong.easeOut, 1, 0, 1, true);
btn4Outro.addEventListener(TweenEvent.MOTION_FINISH, runBtn4Transition);
function runBtn4Transition (event:TweenEvent):void {
left_side.removeChildAt(1);
left_side.addChild(c4);
var btn4Intro:Tween = new Tween(left_side, "alpha", Strong.easeOut, 0, 1, 1, true);
thank's for your help!

Make it easy on yourself if you're going to keep synchronized numbering and loop it.
var maxButtons:Number = 4;
var currentSection:Number = 1;
for (var buttonNumber:Number = 1; buttonNumber <= maxButtons; buttonNumber++)
    left_side.getChildByName('text'+buttonNumber).addEventListener(MouseEvent.CLICK, _buttonHandler);
function _buttonHandler(e:MouseEvent):void
   var buttonPressed:MovieClip = MovieClip(e.currentTarget);
   var indexPressed:Number = Number(buttonPushed.name.substr(4,1));
   if (indexPressed != currentSection)
      currentSection = indexPressed;
      var content:MovieClip = MovieClip(left_side.getChildByName('content'));
      var fadeTween:Tween = new Tween(content,"alpha",Regular.easeOut,1,0,1,true);
      fadeTween.addEventListener(TweenEvent.MOTION_FINISH, _loadContent);
function _loadContent(e:TweenEvent):void
    // remove old content
    left_side.removeChild(left_side.getChildByName('content'));
    var content:MovieClip;
    content.name = 'content';
     if (currentSection == 1)
        content = new content1();
     else if (currentSection == 2)
        content = new content2();
     else if (currentSection == 3)
        content = new content3();
     else if (currentSection == 4)
        content = new content4();
     content.alpha = 0;
     left_side.addChild(content)
     new Tween(content,"alpha",Regular.easeOut,0,1,1,true);
I hate switches in general, opt for ugly if blocks. If you really want to do it right then get all your content in easily synchronized indexed arrays as references so you don't need to do any string comparison work.. This is just quick and dirty to give you an idea that you can re-use functions as well as loops to make things less tedious.

Similar Messages

  • How to change colour of mailbox containing new mail

    I have Thunderbird sort my incoming mail into various mailboxes based on various criteria.
    Until recently, when new mail arrived in any box, the title of that box (in the list, left hand pane) turned red - thus making it easy for me to identify which boxes needed my attention. For some reason this has stopped. The incremental number showing the number of unread messages still changes, but the title colour remains black.
    Anyone know how to change the behaviour to highlight mailboxes containing new mail please?
    Thanks..

    My point is that until recently the behaviour was automatic - it changed the colour of box names as amatter of course. This has now changed, wth all box names being in black whether or not there is new mail in the box.
    I receive a lot of mail and being able to quickly distinguish which box had received new mail would make life easier..
    I suspect there is a setting within Thunderbird to enable this but I'm damned if I can find it..

  • How to change the element of container in the task

    Hello,all.
      I am new for workflow,today i find a new problem:when i finish a activity in the template,the element of container in the task can not be changed. Why? And how to change?
      Thanx,

    Hi Nemo,
    What I understood from your query is as follows -
    You have worked with Task activity in a workflow template. Now you want to change the element in Task Container, which you are not allowed to do so.
    If above is your query, kindly find following solution -
    1. You must have used some BOR object in your task activity.
    1. If you have used automatic binding between the method of BOR and workflow task then automatically the container elements are created. Now if you want to change these container elements then recommended is to change them first in method of BOR and again link the method. Let these elements generate automatically as part of binding.
    2. If you don't have any binding between your BOR method and Task container then, you don't have any elements created automatically. So you can directly create new elements inside task.
    Hope this helps you.
    PS If the answer solved your query, plz close the thread by marking it solved and rewarding each reply.
    Regards

  • How to change alpha of textfield

    Forum Members,
    I have looked around, and not really found an answer to this
    question. It seems it can be done, but I am
    not sure how to do it.
    I would like to emulate Powerpoint in flash, in the sense of
    having text appear on the stage.
    In one case I have created a textfield,
    var myTextField:Textfield = new Textfield();
    I am able to assign a format to the textfield using the
    TextFormat class.
    and tween it around, etc.
    I am reading an xml file to set another textfield's text
    value.
    I would like to change the alpha of this textfield (var
    subText:TextField = new TextField();)
    to zero, and then tween it up to 1 (using tweenlite).
    I do not seem to be able to set the alpha on the textfield.
    Is this possible? I do not want to convert it to a MovieClip or
    Sprite, but if that is what I need to do to get the ability to
    change the alpha, I will do it.
    Thanks,
    Eholz1

    you can assign its alpha property like any display object.
    you just need to embed its font.

  • How to change alpha of an array?

    It's me again.
    I am trying to dynamically change the alpha value of a set of movieclips on a timer.  The timer works but I get an error message from the function.     
    This is the error:
    TypeError: Error #1010: A term is undefined and has no properties.
    at piedacoulisse_timer_fla:MainTimeline/zoom/piedacoulisse_timer_fla:onTime()[piedacoulisse_ timer_fla.MainTimeline::frame1:124]
    at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
    at flash.utils::Timer/flash.utils:Timer::tick()
    This is the code:
      var txt:Array = ["txt1","txt2","txt3","txt4","txt5"];
      var flashTimer:Timer = new Timer(3000,5);
      flashTimer.addEventListener(TimerEvent.TIMER, onTime);
      flashTimer.start();
      var frame:int = 0;
      function onTime(evt:TimerEvent):void{
       zoomIn.slider_mc.txt[frame].alpha = 1;  \\ line 124
       frame ++;  
    Can anyone tell me what the problem is and how to fix it?

    Sorry guys, no luck.  I tried all three suggestions and got the same error.  I ended up using timeline animation to change the alpha of my movieclips.  That worked but I am getting the error again when I try to stop some of the mc's from playing.  Here's the error:
    TypeError: Error #1010: A term is undefined and has no properties.
    at piedacoulisse_timer3_fla:MainTimeline/zoom/piedacoulisse_timer3_fla:onTime()[piedacouliss e_timer3_fla.MainTimeline::frame1:136]
    at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
    at flash.utils::Timer/flash.utils:Timer::tick()
    Here's the complete code, in case there is something I am not seeing elsewhere in the program:
    slider_mc.tickMark_mc.stop();
    slider_mc.stop();
    var myRectangle:Rectangle = new Rectangle(9,9,125, 420);
    var slideRectangle:Rectangle = new Rectangle(body_mc.x + 24.5,body_mc.y + 1,219.5,.01);
    var startSlide:Number;
    var deltaSlide:Number = 0;
    var startMoveX:Number = 0;
    var startMoveY:Number = 0;
    var endMoveX:Number = 0;
    var endMoveY:Number = 0;
    var contactTop:Boolean = false;
    var contactBottom:Boolean = false;
    var contactPoint:String;
    body_mc.addEventListener(MouseEvent.MOUSE_DOWN,pickUp);
    body_mc.addEventListener(MouseEvent.MOUSE_UP,dropIt);
    body_mc.addEventListener(MouseEvent.MOUSE_OUT,dropIt);
    slider_mc.addEventListener(MouseEvent.MOUSE_DOWN,beginSlide);
    slider_mc.addEventListener(MouseEvent.MOUSE_UP,stopSlide);
    slider_mc.addEventListener(MouseEvent.MOUSE_OUT,stopSlide);
    topMask.addEventListener(Event.ENTER_FRAME,moveMask);
    botMask.addEventListener(Event.ENTER_FRAME,moveMask);
    bodyMask.addEventListener(Event.ENTER_FRAME,moveMask);
    stage.addEventListener(Event.ENTER_FRAME,zoom);
    //  blockIt stops the draggable mc's when they hit the phone_mc
    function blockIt(event:Event):void{
    if(topMask.hitTestObject(phone_mc) == true){
      reply.text = "top hit";
      contactTop = true;
      event.currentTarget.stopDrag();
      contactPoint =  "top";
      nudgeIt(null);
    }else if(botMask.hitTestObject(phone_mc) == true){
      reply.text = "bottom hit";
      contactBottom = true;
      event.currentTarget.stopDrag();
      contactPoint = "bottom";
      nudgeIt(null);
    }else if(bodyMask.hitTestObject(phone_mc) == true){
      reply.text =  "body hit";
      event.currentTarget.stopDrag();
      contactPoint = "body";
      nudgeIt(null);
    //  drags the hit-detection objects - I needed to do this to allow for a U-shaped object to surround another object.
    function moveMask(event:Event){
    topMask.x = body_mc.x+19;
    topMask.y = body_mc.y+108;
    botMask.x = slider_mc.x+32;
    botMask.y = slider_mc.y+108;
    bodyMask.x = body_mc.x+100;
    bodyMask.y = body_mc.y+38;
    //  drags the movable mc's
    function pickUp(event:MouseEvent):void{
    event.currentTarget.startDrag(false,myRectangle);
    slider_mc.addEventListener(Event.ENTER_FRAME,followMe);
    body_mc.addEventListener(Event.ENTER_FRAME,blockIt);
    startMoveX = event.currentTarget.x;
    startMoveY = event.currentTarget.y;
    contactTop = false;
    //  drops the movable mc's
    function dropIt(event:MouseEvent):void{
    event.currentTarget.stopDrag();
    slider_mc.removeEventListener(Event.ENTER_FRAME,followMe);
    endMoveX = event.currentTarget.y;
    endMoveY = event.currentTarget.y;
    contactBottom = false;
    //  moves the slider with the body when it is dragged
    function followMe(event:Event) {  
         slideRectangle.y = body_mc.y;
      slideRectangle.x = body_mc.x + 24.5;
      slider_mc.x = slideRectangle.x + deltaSlide;
      slider_mc.y = body_mc.y;
    //  drags the slider along the body
    function beginSlide(event:MouseEvent):void{
    event.currentTarget.startDrag(false,slideRectangle);
    deltaSlide = slider_mc.x - slideRectangle.x
    contactBottom = false;
    // drops the slider
    function stopSlide(event:MouseEvent):void{
    event.currentTarget.stopDrag();
    // adjusts the postion of the draggable mc's to just butt up against the phone_mc - I did this so the mc's can be dragged again.  Without it, they are
    locked in place by the hitTest.
    function nudgeIt(event:Event):void{
    if(contactPoint == "top"){
      body_mc.x = body_mc.x - 1;
    }else if(contactPoint == "bottom"){
      slider_mc.x = slider_mc.x + 1;
    }else if(contactPoint == "body"){
      body_mc.y = body_mc.y - 1;
    // "zooms" in on the image and adds text commentary.  tickMark and oval mc's animate and then stop
    //  This is where the error messages started appearing
    //  Lines 136 137 and 138 all throw the same error
    function zoom(event:Event):void{
    if(contactTop == true &&contactBottom == true){
      body_mc.removeEventListener(MouseEvent.MOUSE_DOWN,pickUp);
      slider_mc.removeEventListener(MouseEvent.MOUSE_DOWN,beginSlide);
      var zoomIn:MovieClip = new MovieClip;
      zoomIn.addChild(phone_mc);
      zoomIn.addChild(body_mc);
      zoomIn.addChild(slider_mc);
      zoomIn.scaleX = 2.5; zoomIn.scaleY =2.5;
      addChild(zoomIn);
      zoomIn.x = -150; zoomIn.y = -350;
      slider_mc.tickMark_mc.gotoAndPlay(2);
      var flashTimer:Timer = new Timer(2000,8);
      flashTimer.addEventListener(TimerEvent.TIMER, onTime);
      flashTimer.start();
      var frame:int = 2;
      function onTime(evt:TimerEvent):void{
       slider_mc.gotoAndPlay(frame);
       slider_mc.stop();
       frame ++; 
       if(frame == 3){zoomIn.slider_mc.tickMark_mc.gotoAndStop(1);}   // line 136
       if(frame == 5){zoomIn.slider_mc.oval1_mc.gotoAndStop(1);}        // line 137
       if(frame == 7){zoomIn.slider_mc.oval2_mc.gotoAndStop(1);}        // line 138

  • How to change alpha to numeric on keypad

    HP officejet J4680. how do I change (on keypad) alpha to numeric?

    Hi,
    You should use the keys on the device, keep clicking the using the numeric keypad's button till the number will appear (similar to SMS typing)
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How to change alpha of overlapping section of Movieclips

    Hello Forum,
    I am working with Flash CS3, and using Action script 2.0.
    I use attachMovie to add 5 clips on the stage each in a
    different layer (can I have two mcs on one layer?). Three of these
    clips are filled circles. One large yellow circle is on layer 1
    (depth 1), a smaller circle (blue) is added on layer 2, and then a
    different instance of the blue circle is added on layer 3. I then
    tween the two blue clips in toward the big yellow circle, one on
    the left side, and one on the right side. Each blue circle
    partially overlaps the yellow circle. I would like to change the
    alpha of each blue circle where it overlaps the yellow circle. Just
    the overlapping sector, not the whole circle. This is like a venn
    diagram. I have looked at the blendMode, but this seems to have no
    effect at all. I think it is due to the fact that I tween the clips
    and am using attachMovie in AS2 on an actions layer. If I just drag
    two clips on the stage, and set the blendMode of the top clip, I
    see an effect, but it changes the entire clip, not just the
    overlapping part. I suspect this is due to the fact that I have a
    white background on the stage. Is there a way I can set the alpha
    just where the clips overlap? Maybe using some sort of mask layer?
    I have looked around for a solution on the internet, and have
    not quite found what I am looking for. This is for AS2, not AS3.
    Thanks,
    eholz1

    Well the first thing is there are no "layers" in
    actionscript. So I'll assume you mean you've added them at
    different depths?
    The next bit is that you could probably come up with some
    very complex masking way of doing this, but I don't think you need
    to. The trick is that you can't tell that there is a blending mode
    over the white -- at least I can't -- until you move the item over
    something else. So the trick is to keep your cirlces from moving
    over things you don't want them to move over.
    I used the code below and it worked like I think you are
    describing.

  • How to change alpha value in pixel

    I am trying to alter the alpha values in a pixel array. I can change the RGB values, but changing the alpha seems to have no effect. Hope you can help. Thanks.
    import java.awt.*;
    import java.awt.image.*;
    import java.io.*;
    import com.sun.image.codec.jpeg.*;
    import java.util.Random;
    import java.awt.Toolkit;
    public class alterImage extends Component {
    public FileOutputStream fos = null;
    public File fc = null;
    private static Frame window;
    public void paint (Graphics g){
      Toolkit theKit = window.getToolkit();
      Image img = theKit.getImage("originalImage.jpeg");
      img = img.getScaledInstance(100,100,1);
      MediaTracker mtracker =  new MediaTracker(this);
      mtracker.addImage(img, 0);
      try {
      mtracker.waitForID(0);
      } catch (Exception e) {}
      int w = img.getWidth(this);
      int h = img.getHeight(this);
      int[] pixels = new int[w * h];
      PixelGrabber pixs = new PixelGrabber(img, 0, 0, w, h, pixels, 0, w);
         try {
         pixs.grabPixels();
         if (pixs.getColorModel().hasAlpha())
         System.out.println("hasAlpha");
              } catch (InterruptedException e) {
                System.err.println("interrupted waiting for pixels!");
                return;
    // alter pixel values
    for(int i = 0; i < pixels.length; i++){
         int alpha = (pixels[i] >> 24) & 0xff;
         //System.out.println("alpha " + alpha);
         int red   = (pixels[i] >> 16) & 0xff;
         //System.out.println("red" + red);
         int green = (pixels[i] >>  8) & 0xff;
         //System.out.println("green" + green);
         int blue  = (pixels[i]      ) & 0xff;
         //System.out.println("blue" + blue);
         green /= 2;   // green is effected
         alpha /= 2;   // alpha is not effected
         pixels[i] = (alpha << 24) | (red << 16) | (green << 8) | blue;
    // create new image with altered pixel data
    BufferedImage image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
    image.setRGB(0, 0, w, h, pixels, 0, w);
    // write new image to file
    try {
    fc = new File("newImage.jpeg");
    fc.createNewFile();
    fos = new FileOutputStream(fc);
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(fos);
    encoder.encode(image);
    fos.flush();
    fos.close();
    // show image in window
    Image img2 = theKit.getImage("newImage.jpeg");
    g.drawImage(img2, 0, 0, 100, 100, this);
    } catch(IOException e) {}
    // end paint
    public static void main (String arg[]){
         window = new Frame ("Alter Image");
         window.add(new alterImage());
         window.pack();
         window.setSize(100,100);
         window.show();
    // end class
    }

    It only makes sense to apply transparency in respect of another image that this one is to appear 'on top of'; this is done by performing a comparison on the pixel value for each of the two images, altering in favour of the 'on top' image if transparency for that pixel is low, or for the 'underneath' image if transparency for that pixel is high.
    Although tricky (for me at least, perhaps not for you!), using the WritableRaster from BufferedImage's GetWritableRaster() method lets you accomplish this. Look here for more:
    http://java.sun.com/j2se/1.4.2/docs/api/java/awt/image/WritableRaster.html
    Once you have created a composite image of the two source images, that can then be saved as a separate JPG, GIF or whatever. Look here too:
    http://java.sun.com/docs/books/tutorial/2d/display/compositing.html
    Good luck!
    Chris.

  • How to change the paragraph style of every paragraph that only contains an anchored object?

    Hi,
    I have a document in word that needs to be converted into indesign. The document containts instructions, each step followed by an image.
    I've managed to import the document into Indesign, and applied a paragraph style with numbering to everything (text an image).
    Now, how to change the the paragraph style of every paragraph that only contains a image? I need to get rid of the numbering.
    Thanks in advance.

    Create two Paragraph Styles and name them Image and Non-Image. Apply the paragraph styles manually to the text containing image and not containing images.

  • How to change default alerts in iCal?

    Hello.
    Every time you add a new event in iCal, the Info panel of the event contains a series of default alerts that you may want to add to it. However, all of them are useless to me (e.g.: "Send email to <my address> 4 days after), so I need to manually edit them event by event. Anybody knows how to change them? I have already inspected all the plist files related to ical, and looked inside the ical package content, but I found no indication of where to change these values. Using iCal version 5.0.2
    Thanks,
    l

    John: Thank you, this is exactly what I wanted. I was indeed inspecting the plist with bbedit, but what I did not realize is that the file has some parts which are binary, so I could not see the PersistentMenu-lastUsedAlarms part by using a text editor. I opened it with Xcode and I did find what you were saying, and erased all the junk that was in there. In fact, the issue I had was also described here:
    http://newsgroups.derkeiler.com/Archive/Uk/uk.comp.sys.mac/2010-06/msg02349.html
    For some reason, it looks like after some upgrade the program adds were some positive values in the plist and I was stuck with default alarms that were set *after* the events I wanted to set an alarm for.
    I did what you suggested, then added by hand new values to the PersistentMenu part of the plist, and I am now happy.
    For everybody's information, to know what I did, it is enough to know to add Dictionary items to the  PersistentMenu-lastUsedAlarms, with 3 fields:
    -- AlarmTypeKey (this determines if you want a sound, or else an email, or else the other default alarm type keys. For example, sending an email is a Number, value 4; having a message with sound is a Number, value 3)
    -- AlarmDurationKey: This is a Number, in seconds, that determines when you want your alarm to trigger. E.g: -172800 will be two days before. Must be negative for "before", of course)
    -- AlarmParameterKey: This is a String, where you store the value that you want the alarm to have. For example, if you want an email to be sent, the AlarmTypeKey will be 4, as explained above, and this field will contain your email address. Instead, if you want the alarm to be a sound, the AlarmTypeKey will be 3 and this field will have the name of the sound you want (e.g., Basso).
    That's it. Thanks a lot for the solution!
    l.

  • How to change the default search engine? I accidentaly change it from google to yahoo, and I can't get it back. I changed my homepage too, but it isn't solved. Thanks

    dear, there.
    how to change the default search engine? I accidentaly change it from google to yahoo, and I can't get it back. I changed my homepage to google too, but it isn't solved. Thanks

    Clarification:
    I believe now you potentially lose all extensions, plug-ins when you use the new reset function, but you will let me know.
    If that is the case, your find corrupt file method maybe better. However, I reviewed the two help articles and there appear to be more files than just the delete search.json file and a possible search.sqlite file in the Firefox Profile Folder. I am confused. Then I have to find the folders. I think help articles mentioned how to find the profile containing the files, but not sure.

  • How to change the default operators in sap web ui Search screen?

    How to change the default operators in sap web ui Search screen?
    For eg. Using advance search option , I have some fields with default operators like equals, contains,is between, is less than and is greater than. I don't need all these operators for this field.
    I need only "equals" operator. How do i remove the rest of the operators?

    There is a view cluster crmvc_dq where all the standard setting is present related to you r issue. Please try if you can modify that, that way you will avoid the code.
    Incase you are not able to make any changes there then in that case you have to redefine the method GET_DQUERY_DEFINITION () of the IMPL class to delete the operators for a particular serach field.
    Regards,
    Harshit

  • How to change the default text style?

    The MacOS system seems to maintain a collection of text 'styles' available in applications such as TextEdit, Bean, MacJournal, Notebook and DevonThink. This collection contains a default style, used by some (but not all) of these applications as the default text style for new documents.
    At my computers this default style is characterized in the 'favorite styles' panel as 'left aligned, spacing 0.0x' and it has strange tab stops (0.99, 1.98, 2.96, 3.95, 4.94, 5.93, 6.91, 7.90, 8.89, 9.89, 10.86, 11.85 cm).
    I prefer tab stops at 1.00, 2.00, 3.00 etc., and 1.2x line spacing.
    I guess I have changed the default style by accident, as I cannot imagine Apple putting such strange tab stops in a default style (0.0x spacing sounds a bit strange too). If so, it must somehow be possible to change the default style.
    I have tried to change the default style via TextEdit (which does not use the default style as default, but spacing 1.0x and tab stop at each centimeter) and several other applications (Bean, MacJournal, Notebook) in the following way: select a piece of text with the intended format, open the document styles panel, click 'Add to Favorites', enter 'Default' as the name for the style and click 'Replace'. Unfortunately, that doesn't work. Although I do not get an error message, the Default style hasn't changed. I can save my preferred style as, for example, 'Preferred' but that does not prevent MacJournal and other applications from using Default for every new document.
    Any idea how to change this default style, or, if that is not possible, reset it to its original state?

    I suggest you have a look at [https://addons.mozilla.org/en-US/thunderbird/addon/stationery/?src=api Stationery].
    It won't help you in defining styles, as such, but will give you templates wherein you can set up styles.

  • How to change the 'Default operating mode' of a mapping on the repository and not from the client

    Hi everybody,
    I am using OWB 11.2.0.3 and under the mapping's configuration property, I have the necessity to change the Run time parameter "Default operating mode" to SET_BASED in almost all my mappings.
    Because I have 745 mappings in which the Default operating mode is different from SET_BASED, instead to open 745 times the 'Configure' and update manually the value, is there a way to update safely these values (with an oracle predefined script) directly on the repository ?
    I know that exists a view called CMPSTRINGPROPERTYVALUE_V based on a table called CMPSCOPrpClasses, but changing this table it's very complicated for me because contains only keys and then I don't know in which way is connected with all the other structures....
    If somebody knows a method more efficient to do these updates on the repository and not from OWB client I will appreciated it!
    Thanks in advance
    Alessandro

    Urgent... help!!! Thanks
    in short, my server log says transaction access mode is "read only", so my calling home.create() always triggers a transaction rollback. How to change the access mode to "read write"?
    Is possible to work out through one of the descriptor files? Or ini settings of the underlying pointbase database? Or any other way around?

  • How to change the default workspace polling behaviour

    Here are the instructions on how to change the polling interval in workspace:
    The workspace source project is usually under (C:\Adobe\Adobe LiveCycle ES2\LiveCycle_ES_SDK\misc\Process_Management\Workspace)
    The file that needs to be modified is SessionManager.as and is under  (C:\Adobe\Adobe LiveCycle ES2\LiveCycle_ES_SDK\misc\Process_Management\Workspace\ws\Workspace\foundation\src\lc\fou ndation)
    Set the value in a javascript file and then read this from the Workspace app.  You can see an example of this in the same createChannelSet() method wrt the “enableSmallMessages” variable. To do this:
    1- Add the following lines to the workspace-config.js file right after the enableSmallMessages var definition (the js file is in the sdk under (C:\Adobe\Adobe LiveCycle ES2\LiveCycle_ES_SDK\misc\Process_Management\Workspace\ws\Workspace\ui\html-template\js) – note that my example sets it to 10 seconds:
    1- Then in the createChannelSet() method, define a new var with the same name and type=Number and default it to 3000 (to be consistent with the current behaviour):
                   var pollingInterval:Number = 3000;
    2- Then, in the existing block where ExternalInterface.available is true, add the line to read the new value from the js file like this:
                  pollingInterval = ExternalInterface.call(“pollingInterval”);
    3- Set pollingInterval on the channel with:
                 channel.pollingInterval = pollingInterval;
    4- Add this function to the workspace-config.js file
          // pollingInterval is the channelset polling interval in millisecs   
          function pollingInterval()
                return 10000;
    Compile this code and rebuild the workspace war, making sure the war contents contain the updated js file too, and then the polling interval will be read from the js file, making it much easier to change.
    Here is the doc on how to customize workspace: http://help.adobe.com/en_US/livecycle/9.0/customizeworkspaceui.pdf

    Changing the Workspace Polling intervals just got a whole lot easier.  Go to http://blogs.adobe.com/ADEP/2011/08/workspace-polling-in-adep.html for more info.

Maybe you are looking for

  • Problem with Custom Domain

    I made my website and upload it to the .mac service with IWeb 08, then I set up a custom domain. I followed instructions and just created a Cname or Alias in Godaddy pointing web.mac.com. Now everything is working with the exception that I lost email

  • "This email address is already in use" for apple ID. I don't have another account. How can I change it?

    I have read through other responses - from back in November... Tried everything.  Must have at one point tried to use new email for apple id - but it won't let me do it now.  Frustrating!,,

  • InDesign CS3 will not open double-clicked files on server (10.5)

    I've got an odd one here. I have two new 10.6 machines running InDesign CS3, and a simple file server running 10.5.6. When we open an InDesign file on the server using the "File Open" dialog box, the files open fine. If we navigate to a folder on ser

  • Download/Install elec version

    Hi i want to download the electronic version for mac of photoshop elements to my PC and then burn it to a disk to install to my mac (reason being i have no internet at home currently so was going to do it at work and take it home) will this work?

  • UC540 Shared Analog Extensions

    Hey all! So I am trying to do a CME migration to a UC540.  Outside of the requirement to use an access digit to dial an outside number the basic functionality is working well.  The issue I have is that there is a need/requirment to connect the Front