Manufacturing of active buttons after the event

Hello

I love Flash Catalyst. I think that Adobe has a real winner in this product!

I'm learning the catalyst and creates a simple application of type CBT. He has a home page and 4 other pages, which have all of the links button on the main home page. I want a video to play on the home page, and then once the video is finished, I want the button to page 2 to be sensitized, while buttons for pages 3 and 4 are insensitive. In other words, I don't want users to be able to jump to the last page without displaying any content on the previous pages.

Is this possible in catalyst?

1 million thanks!

Hello

Yes. Pretty easy.  Take a look at this fast wired.

You control your welcome video (.flv) starting with an interaction "On start Application"

Progression to the first State after the welcome video is controlled using the interaction 'on video play Complete '.

The availability of the buttons to navigate through the different States are controlled by checking or unchecking the "Enabled" property on a button in each State.

Hope this helps,

Tanya

Tags: Flash Catalyst

Similar Questions

  • How to autoclick/run a button after the event of Alert.Show ()?

    Hey guys

    So I have an alert.show happening for something like

    public function test(evt:ResultEvent):void
    {
     if (evt.result.success == "yes")
       {
         mx.controls.Alert.Show("Yay!!!")
        }
     if (evt.result.success == "no")
      {
        mx.controls.Alert.Show("Nay")
      }
    }
    

    Now I have another button called

    <mx:Button label="Reload" id="Reload" />
    

    I want that success == Yes script is executed... After the popup box comes and a person, click on OK... the button reload is performed...

    Please tell me how to do?

    Concerning

    Hi use following code autoClick respective button.

    Reload.dispatchEvent (new MouseEvent (MouseEvent.CLICK));

    Thank you.

  • Time after the event, without blocking the user

    Hi, I am creating a software to control a power supply. One feature that I have bad to add is a timer.

    I have a structure for the event that fires when the user clicks on the buttons, which most slowly increases the current for a period defined by the user. I want the timer to count so far defined by the user of time (in seconds) after the event fires. One thing, however, is that I need to be free to trigger another event (which stops the power supply in an emergency) so I can't have this synchronization process lock me up for snap buttons.

    I was experimenting with the millisecond timer, as well as with a loop that goes through with a defined time interval, but it is not quite give me the functionality I want. (I've been placing these loops of timing outside the structure of the event to other events run yet, but I want the timer to only is triggered after an event is triggered, is it still possible?)

    If you need more information, just ask, thanks!

    Thnigs to do to dramatically improve your code:

    You need not separate loop.  Put your code from timer inside the structure of the case of timeout event.  Set the time-out to 50 instead of 500 to match what is in your separate loop.  You can get rid of the becaue of queue, it is no longer necessary.  Create registry to offset on the main loop.  When the event occurs to start timer, pass the time for the shift on the right side register.  Wire the shift register on the left side in the event of timeout to use its value.  BTW, the shift in your separate loop register is used to nothing because you do not change the value on the wire.  Don't put all the loop in the case of timeout, get rid of the loop and just put the code of the loop, with the exception of the EndTime variable that can be removed and 50mS delay, which can be removed.

    Put the Boolean value of early Inc. inside the case to start Inc. value change event.  Same for all Boolean values.  Put them in their cases of particular event.

    Get rid of local variables now.  You'll race conditions if you do not, you doing wrong in that you don't need especially now.  Look at the current limit control.  Add a wire from the control of the current limit to where feeds the local variable of the current limit.  Delete the local section.

    Move all the controls from the inside of the structure of the event outside the structure of the event, but still within the main loop.  Wire controls where they are going.  Now you can eliminate all local variables of thos and just wire from control where they are needed.

    All outputs error.  One is enough.  Create an error in your front panel.  On the block-diagram wire the error in the first function of Sorrensen before the loop.  Where the error from the Sorrensen hit the loop function, change the terminal on a shift register (right click and select replace with shift register).  Move the error Out 2 to out of the loop on the right side.  Error 2 wire the register shift on the right side.  Everywhere, you need a mistake in, branch off the error in the thread because it is in the loop.  Wire all your outs of the error in the case of the event and the last Sorrensen function to a function of merge error.  Wire of this error on the shift register.  All your errors are combined in a single indicator.

    That should do for now.

  • How much time does it take for creative cloud activation occur after the order?

    How much time does it take for creative cloud activation occur after the order?

    Hello

    In order to activate the creative cloud, please see: -.

    Learn how to enable or disable Adobe applications.

    Connect and disconnect activate Cloud Creative applications

  • How to disable the button after the first click (click multiple problem)

    Hello

    I have a ' create' button related to processes of insertion in the database view. The problem is that when I click on him twice, I have two insertion in my database (even with the option run processes: "Once a visit to Page"). Is it possible to disable the button after the first click? and activate on load before the header?
    or maybe there's better solution? I thought that the process of the option run must stop multiples (insertion).

    Przemek

    Przemek:

    You can do the following.
    (1) set the "button"style"of the 'Create' button to be 'Button HTML'"
    (2) set the "key Attributes" have
    ID = "myButton".
    (3) in the "optional Redirect URL" section set to 'Target' ' "URL".
    (4) for the URL, specify {code}
    JavaScript: $x('myButton').disabled = true; doSubmit ('CREATE') {code}

    CITY

  • activeDocument null after the events focused on LCD screens

    ====================================================

    Problem:

    ====================================================

    Prob 1) in a TitleWindow popup, I a Dataservice oriented LCD screens that populates an ArrayCollection «pictures» collection  See source below PreviewImage.mxml.  On a CollectionChange event on 'photos', I have a listener "dataChangeListener(event:CollectionEvent)."  In turn, this listener calls a static method NewsAgencyPhotoshop.updateMetadata (args).

    When an image is open in PS, depending on the NewsAgencyPhotoshop.updateMetadata (args) get the reference of the Photoshop document active, check if it is not zero, and proceed to update the metadata of activedocument via the "info" property  Example:

    App: application var = Photoshop.app;
    var docRef:Document = app.activeDocument;
    If (docRef! = null) {}
    var docInfo:DocumentInfo = docRef.info;

    .....

    However, every time I check if docRef is null, is null.  I use the same lines of code to get a reference to the current document in other functions like close() or writeWatermark(), and in each of these cases, the docRef object is valid (non-null).

    It seems that when a static function is called on the NewsAgencyPhotoshop manually by clicking a button or the activeDocument reference is good, but when calling a static function as an event listener for an event linked screens LCD LIQUID, then the activeDocument is always null.

    Why?

    Prob 2) I tried also to the activeDocument reference a static class variable, then the references in access to static functions.  In the open function (filePath), I instantiated the class static variables, like this:

    public static void open(filePath:String):void
    {
    App = Photoshop.app;
    var file:File;
    = new File (filePath);
    App.Open (file);
    app.activeDocument = docRef;
    }

    Using this approach, manual event-driven functions are working and have good docRefs, like this:

    Public Shared function writeWaterMark (): void
    {
    App: application var = Photoshop.app;
    var docRef:Document = app.activeDocument;
    var myTextLayerRef:ArtLayer = docRef.artLayers.add ();

    However, this works only in part with the function called by my LCDS change event listener, since the docRef is then not null it penetrates into the code block and attempts to write metadata to the activedocument, like this:

    public static void updateMetadata(filePath:String,_data:Object):void
    {
    App: application var = Photoshop.app;
    var docRef:Document = app.activeDocument;
    If (docRef! = null) {}
    var docInfo:DocumentInfo = docRef.info;
    docInfo.copyrightNotice = data.copyrightNotice;

    The problem here is that the docInfo.copyrightNotice line throws the following exception in Flash Builder:

    17/02/2011 00:08:44.226 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    : Error General Photoshop. Maybe this feature is not available in this version of Photoshop.
    -no additional information available >
    at flash.external::HostObject/__set()
    at com.adobe.csawlib::CSHostObject/hostSet()
    at com.adobe.photoshop::DocumentInfo/set copyrightNotice()
    to NewsAgencyPhotoshop$ /updateMetadata () [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/src/NewsAg encyPhotoshop.as:52]
    to PreviewImage / dataChangeListener () [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/src/PreviewIma ge.mxml:103]

    Your advice is appreciated.

    Thank you

    Steven Erat

    ====================================================

    Environment

    ====================================================

    Photoshop CS5 Extended 12,01 x 32

    Flash Builder 4

    CS SDK 1.02

    Extension Builder SDK 3.4

    MacBook Pro / OS X 10.5 / Intel Core 2 Duo clocked at 2.66 GHz / Procs: 1 / Cores: 2 / memory: 8 GB

    App, configured for Photoshop CS5 and Photoshop CS5 Extended

    ====================================================
    PreviewImage.mxml (popup)

    ====================================================

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:TitleWindow ' http://www.Adobe.com/2006/MXML "xmlns =" com.stevenerat.news. * ""
    title = "Preview Image" horizontalAlign = "center" verticalAlign = "middle" horizontalScrollPolicy = "off" verticalScrollPolicy = "off".
    paddingBottom = "20" paddingLeft = "20" paddingRight = "20" paddingTop = "20" width = "270" height = "550".
    creationComplete = "init (); ">

    ....

    < mx:Script >
    <! [CDATA]
    import flash.events.TimerEvent;
    import flash.utils.Timer;

    Import mx.events.CollectionEvent;
    Import mx.managers.PopUpManager;
    Import mx.utils.ObjectUtil;

    ....


    public void init (): void {}
    DS. Fill (pictures);
    ....
    }

    ....
    private void dataChangeListener(event:CollectionEvent): void
    {
    If (lblStatus appearing! = null & & imgIsOpen) {}
    lblStatus.text = "update of METADATA";
    setButtonState (false, true, true);
    Table: data var = event.currentTarget.list.localItems;
    for (var i: int = 0; i < data.length; i ++) {}
    If (.) Data filename [i] == this.fileName) {}
    NewsAgencyPhotoshop.updateMetadata(data[i].dirPath+data[i].fileName,data[i]);
    break;
    }
    }
    }
    }

    ....

    < mx:DataService id = "ds" destination = "NewsAgencyPhotos" autoSyncEnabled = "true" autoCommit = "false" / >
    < mx:ArrayCollection id = 'photos' collectionChange = "dataChangeListener (event)" / >
    < LocaleInvitez / >

    ====================================================

    NewsAgencyPhotoshop.as

    ====================================================

    package
    {
    import com.adobe.csawlib.photoshop.Photoshop;
    com.adobe.photoshop import. *;

    import flash.filesystem.File;
    Import mx.utils.ObjectUtil;

    public class NewsAgencyPhotoshop
    {
    public static var App: application;
    public static var docRef:Document;

    public static void open(filePath:String):void
    {
    App = Photoshop.app;
    var file:File;
    = new File (filePath);
    App.Open (file);
    app.activeDocument = docRef;
    }
    ....


    public static void updateMetadata(filePath:String,_data:Object):void
    {
    App: application var = Photoshop.app;
    var docRef:Document = app.activeDocument;
    If (docRef! = null) {}
    var docInfo:DocumentInfo = docRef.info;
    docInfo.copyrightNotice = data.copyrightNotice;
    docInfo.headline = data.headline;
    var keywordSt:String = data.keywords;
    var keywordAry: Array = keywordSt.split(",");
    for (var i: int = 0; i < keywordAry.length; i ++) {}
    docInfo.keywords [i] = keywordAry [i];
    }
    docInfo.caption = data.description;
    docInfo.city = data.city;
    docInfo.country = data.country;
    docInfo.provinceState = data.state;
    }

    ====================================================

    Console

    ====================================================

    [SWF] StageManager - 2.0.swf - 1 188 270 bytes after decompression
    17/02/2011 creationComplete() com.adobe.csxs.stagemanager.StageManager 00:08:18.971 [INFO]
    17/02/2011 00:08:18.981 [INFO] com.adobe.csxs.stagemanager.external.ExternalEventReceiver ExternalInterface callback registered.
    17/02/2011 00:08:18.982 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver ExternalInterface callback registered.
    17/02/2011 com.adobe.csxs.command.GetPendingStageManagerIdCommand 00:08:18.984 [INFO] call GetPendingStageManagerId via ExternalInterface
    17/02/2011 00:08:18.993 [INFO] com.adobe.csxs.command.GetPendingStageManagerIdCommand returned branchezBranchez StageManager ID. execute()
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.026 [INFO] adding extension CH
    17/02/2011 00:08:19.027 [INFO] com.adobe.csxs.stagemanager.model.ExtensionManager add extension com.example.helloworld.extension1
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.028 [INFO] adding extension BASICAMFCONNECTOR
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.028 [INFO] adding extension CSREVIEW
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.028 [INFO] adding extension HELLOPHO
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.029 [INFO] adding extension KLR
    17/02/2011 00:08:19.029 [INFO] com.adobe.csxs.stagemanager.model.ExtensionManager add extension com.stevenerat.news.extension1
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.029 [INFO] adding extension CREATENEWCSREVIEW
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.030 [INFO] adding extension NETAVERAGES
    17/02/2011 00:08:19.030 [INFO] com.adobe.csxs.stagemanager.model.ExtensionManager add extension com.adobe.rc.mymessages
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.030 [INFO] adding extension CHWE
    17/02/2011 00:08:19.031 [INFO] com.adobe.csxs.stagemanager.model.ExtensionManager add extension com.adobe.rc.operationalmessages
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.031 [INFO] adding extension HISTORY
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.032 [INFO] adding FRIO extension
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.032 [INFO] adding extension MINIBR
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.032 [INFO] adding extension BLCSLIVE
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.033 [INFO] adding extension CHSIGNIN
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.033 [INFO] adding extension swfpanel-onOne-0
    17/02/2011 00:08:19.034 [INFO] com.adobe.csxs.stagemanager.extension.impl.ExtensionLoader ExtensionLoader() record ExternalInterface callback loadExtension
    17/02/2011 00:08:19.034 [INFO] com.adobe.csxs.stagemanager.extension.impl.ExtensionLoader ExtensionLoader() record ExternalInterface callback unloadExtension
    17/02/2011 checkLoadingQueue() com.adobe.csxs.stagemanager.extension.impl.ExtensionLoader 00:08:19.035 [INFO]
    17/02/2011 com.adobe.csxs.command.GetLoadingQueueCommand 00:08:19.037 [INFO] call GetLoadingQueue via ExternalInterface
    17/02/2011 00:08:19.041 [INFO] com.adobe.csxs.command.GetLoadingQueueCommand execute() branchezBranchez returned to load extensions.
    17/02/2011 00:08:19.042 [INFO] com.adobe.csxs.stagemanager.extension.impl.ExtensionLoader loadExtension() com.stevenerat.news.extension1
    17/02/2011 00:08:19.045 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager Extension com.stevenerat.news.extension1 is not an extension plugin-> validate.
    17/02/2011 com.adobe.csxs.stagemanager.security.impl.ExtensionValidator [INFO] 00:08:19.049 in debug mode, the signature of the extension is not validated.
    17/02/2011 com.adobe.csxs.command.SetExtensionSignedCommand 00:08:19.053 [INFO] call SetIsSigned via ExternalInterface
    17/02/2011 00:08:19.133 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager doLoadExtension() Extension loaded com.stevenerat.news.extension1.
    17/02/2011 onCreationComplete() com.adobe.csxs.stagemanager.window.ExtensionWindow 00:08:19.230 [INFO]
    [SWF] / Users/stevenerat/Library/Application Support/Adobe/CS5ServiceManager/extensions/com.stevenerat.news/NewsAgencyPhotos.swf - 1 976 113 bytes after decompression
    17/02/2011 com.adobe.csxs.stagemanager.window.ExtensionWindow 00:08:19.369 [INFO] com.stevenerat.news.extension1 of the extension loading complete.
    17/02/2011 com.adobe.csxs.stagemanager.window.impl.SWFEventDispatcher 00:08:19.371 [INFO] com.stevenerat.news.extension1 of the extension loading complete.
    17/02/2011 00:08:19.396 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:19.397 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 onExtensionComplete() com.adobe.csxs.stagemanager.extension.impl.ExtensionLifeCycleNotifier 00:08:20.230 [INFO]
    17/02/2011 com.adobe.csxs.command.SetExtensionLoadedCommand 00:08:20.231 [INFO] call SetIsLoaded via ExternalInterface
    17/02/2011 dispatchInvokeEvent() com.adobe.csxs.stagemanager.extension.impl.ExtensionLifeCycleNotifier 00:08:20.233 [INFO]
    17/02/2011 com.adobe.csxs.command.CheckStartOnEventCommand 00:08:20.236 [INFO] CheckStartOnEvent via ExternalInterface call for com.stevenerat.news.extension1
    17/02/2011 onExtensionComplete() com.adobe.csxs.stagemanager.window.impl.WindowStateManager 00:08:20.245 [INFO]
    17/02/2011 00:08:20.252 [INFO] com.adobe.csxs.stagemanager.window.impl.SWFEventDispatcher dispatchEventToExtension() routing event type extension com.stevenerat.news.extension1 com.adobe.csxs.events::StateChangeEvent
    17/02/2011 00:08:20.257 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:20.258 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 00:08:31.858 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:31.859 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 00:08:33.333 [INFO] com.adobe.csxs.stagemanager.window.impl.SWFEventDispatcher dispatchEventToExtension() routing event type extension com.stevenerat.news.extension1 com.adobe.csxs.events::StateChangeEvent
    17/02/2011 00:08:36.394 [INFO] com.adobe.csxs.stagemanager.window.impl.SWFEventDispatcher dispatchEventToExtension() routing event type extension com.stevenerat.news.extension1 com.adobe.csxs.events::StateChangeEvent
    17/02/2011 00:08:36.683 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:36.683 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 00:08:36.718 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all

    .......
    17/02/2011 00:08:44.132 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 00:08:44.190 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:44.191 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 00:08:44.209 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:44.209 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 00:08:44.225 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:44.226 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    : Error General Photoshop. Maybe this feature is not available in this version of Photoshop.
    -no additional information available >
    at flash.external::HostObject/__set()
    at com.adobe.csawlib::CSHostObject/hostSet()
    at com.adobe.photoshop::DocumentInfo/set copyrightNotice()
    to NewsAgencyPhotoshop$ /updateMetadata () [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/src/NewsAg encyPhotoshop.as:52]
    to PreviewImage / dataChangeListener () [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/src/PreviewIma ge.mxml:103]
    to PreviewImage / __photos_collectionChange () [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/src/Pre viewImage.mxml:163]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.collections::ListCollectionView/dispatchEvent() [C:\autobuild\3.4.0\frameworks\projects \framework\src\mx\collections\ListCollectionView.as:862]
    at mx.collections::ListCollectionView/handlePropertyChangeEvents() [C:\autobuild\3.4.0\framew orks\projects\framework\src\mx\collections\ListCollectionView.as:1224]
    at mx.collections::ListCollectionView/listChangeHandler() [C:\autobuild\3.4.0\frameworks\proj ects\framework\src\mx\collections\ListCollectionView.as:1096]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.data::ConcreteDataService/dispatchCollectionEvent() [C:\depot\flex\branches\enterprise_ bridgeman_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:4404]
    at mx.data::ConcreteDataService/itemUpdateHandler() [C:\depot\flex\branches\enterprise_bridge man_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:4946]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.stevenerat.news::NewsPhoto/dispatchEvent() [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/s rc/com/stevenerat/news/NewsPhoto.as:26]
    at mx.data.utils::Managed$/setProperty() [C:\depot\flex\branches\enterprise_bridgeman_final_h otfixes\frameworks\mx\data\utils\Managed.as:383]
    to com.stevenerat.news::NewsPhoto/set description() [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/src/com/stevenerat/news/LocaleInvitez. as: 13]
    at mx.data::ConcreteDataService/updateManagedProperty() [C:\depot\flex\branches\enterprise_br idgeman_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:5618]
    at mx.data::ConcreteDataService/updateMergedItem() [C:\depot\flex\branches\enterprise_bridgem an_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:5638]
    at mx.data::ConcreteDataService/mergeUpdate() [C:\depot\flex\branches\enterprise_bridgeman_fi nal_hotfixes\frameworks\mx\data\ConcreteDataService.as:5155]
    to mx.data::ConcreteDataService / http://www.Adobe.com/2006/Flex/MX/internal:mergeMessage ([C:\depot\flex\branches\enterpri se_bridgeman_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:2555])
    at mx.data::ConcreteDataService/messageHandler() [C:\depot\flex\branches\enterprise_bridgeman _final_hotfixes\frameworks\mx\data\ConcreteDataService.as:5199]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    to mx.messaging::AbstractConsumer / http://www.Adobe.com/2006/Flex/MX/internal:messageHandler ([C:\autobuild\3.4.0\frameworks \projects\rpc\src\mx\messaging\AbstractConsumer.as:765])
    at mx.messaging::ConsumerMessageDispatcher/messageHandler() [C:\autobuild\3.4.0\frameworks\pr ojects\rpc\src\mx\messaging\ConsumerMessageDispatcher.as:261]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.messaging::ChannelSet/messageHandler() [C:\autobuild\3.4.0\frameworks\projects\rpc\src\ mx\messaging\ChannelSet.as:1457]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.messaging.channels::NetConnectionChannel/receive() [C:\autobuild\3.4.0\frameworks\proje cts\rpc\src\mx\messaging\channels\NetConnectionChannel.as:318]

    Steven,

    You have run into a bug Photoshop Mac involving events, a description, the workaround and the library are described here:

    http://cookbooks.Adobe.com/post_Creative_Suite_5_Extensions_and_Photoshop_CS5_Redu-17727.h tml

    You can download the library.swf as a sample project from this page. As you've seen, the problem is that after receiving an event, the active document as well as other references of Photoshop DOM will be null. Workaround kicks Photoshop by the valid DOM, essentially re - run your function with a valid context.

    As the book post was written by Bob, I used workaround often successfully, of course we are also working closely with the team of Photoshop for repair. Once again, as you have seen, it is a problem for LCD screens, but it is also necessary in frameworks such as PureMVC as well as FlexUnit.

    Here is my version of a line of code, that I put at the top of each function called by these events.

    If (Utilities.shouldForceClean ()) if (PsEventScrubber.getInstance () .forceClean (this, arguments, arguments.callee)! = null) return; Workaround

    Note you mentioned creating a static function, with a static, you can't use 'this', simply replace this with your class:

    If (Utilities.shouldForceClean ()) if (PsEventScrubber.getInstance (.forceClean (MyClassHere, arguments.callee, arguments))! = null) return; Workaround

    Finally, the Utilities.shouldForceClean () is my simple check that prevents even to make the call. Although Bob wrote PsEventScrubber to do an audit of the platform, I put this to avoid calling even when not on a mac. It is also for a function that could detect bugs and avoid making the call in a future version, when it is fixed.

    /**

    * Utility to specifically target Photoshop Mac Bug - Ps Bug # 2584580

    */

    public static void shouldForceClean(): Boolean {}

    Return (flash.system.Capabilities.os.indexOf ("Mac OS") == 0);

    }

    Let us know how it works for you.

    -Mark

  • No menus, buttons, after the installation of Firefox4 = unusable browser address bar

    After the upgrade to Firefox 4, open my tabs previously open, my bookmark tab appears (in the wrong order: first favorite tabs is not the work sequence). But I have no buttons, menu bar, address bar or search bar. There is a 'Menu' unique Firefox coming down from 2 columns options 11 and 6, respectively (what kind of a terrible menu is on a screen 1920 * 1200?). No menu display, I need correct the disorder not created by the installer. BTW: even if the look of FF4 is sharper than FF3, who was to design the user interface paradigm didn't know what they were doing. This UI is not user oriented workflow, see my comment above on bookmark and tab sequence. Why is the currently opened tab associated visually all bookmarks in the bookmarks toolbar? Etc, etc... It is, your choice, when I start to hate it enough that I'm going to Chrome. Until then, please help me retrieve the menus.

    Firefox 4.0 has been, how should I say?, "redesigned".

    But you can get the old style back as follows.

    • Right-click on an empty part of the toolbar tab and click "Tabs on top" to remove the check mark. Tabs later reappears under the search bar.
    • Repeat the same steps, but click on the top of the page, one called 'Menu bar '. This will restore the text at the top links.
    • Repeat again, then click on "Bar of Navigation" to restore the address bar.
    • To rearrange the layout, repeat the same steps and choose "Customize". A Panel opens and who remains on the screen, you can move elements like toolbars, buttons etc. around and place them anywhere you want. You can also drag anything there that you don't like Panel and add anything you want by dragging it out of there.
    • To replace the status bar at the bottom of the page, install this add-on: https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/
  • Will I activation problems after the upgrade my motherboard and memory?

    new mobo and the new memory chips

    I just got rid of my old motherboard and old slow memory and got new its all good, but I want to know if im going to have a hard time to activate because I already tried the online activation thing automates and it did not work I got a message saying my product its already in use wich key is logical because I activated with my other motherboard I have the thing of activationg phone tho, I got apreciate any comment on the subget, thank you.

    If your copy of Windows is a retail one, simply use the Activate by phone - and speak to an operator.

    If it's an OEM copy (the key is on a sticker on the case of the machine - is it from OS preinstalled) so it can be transferred to a new machine.

    Activate by phone

    Click the Start button
    in the search box, type
    SLUI 4
    and press the Enter key
    Follow the instructions - but when asked which service you need the ansafone phone, don't answer - it should oblige the operator to answer, who can deal with you.

  • Windows 7 Home Basic will be activated not after the replacement of the motherboard has failed

    Hello

    My cousin has a copy available from Win7 Home Basic SP1 64-bit, which is an OEM pack and geographically limited in India.
    Recently, the desktop motherboard has developed a fault and it was replaced by the seller that it was under warranty (so assuming that to be the same brand and model of origin).
    After the replacement, he receives a prompt from time to time that the version of Windows is not genuine and a new product key must be purchased which means buying a new copy of Windows altogether.
    I tried to help him with his number and did some research on the microsoft Web site. I tried reactivate using the same product key, but get the message that the hardware has changed and the same key cannot be used. I also tried to use the phone activation method - but after entering all numbers of 9 series a message is read on that there is a technical error and the appeal is terminated. (But he does not say why the version of Windows cannot be enabled)
    I came across the following post which seems to suggest that the same product key can be used as long the motherboard is replaced for a foul and the brand and the model have not changed.
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_install/after-replacing-my-failed-motherboard-Windows-7/b547458e-a1ae-45df-AE4C-e4d191fc8e6a
    I would like to know if there is a way to validate the Windows version now. We are concerned that both the computer and the BONES are authentic copies and licensed and it is not just that we need to get a new product key. I would like to know if there is a phone number or address of Microsoft office in India or abroad with which we can express our concerns.
    Thank you

    How to activate Windows 7 manually (activate by phone)

    1) click Start and in the search for box type: slui.exe 4

    (2) press the ENTER"" key.

    (3) select your "country" in the list.

    (4) choose the option "activate phone".

    5) stay on the phone (do not meet all the automatic guests) and wait for a person to help you with the activation.

    (6) explain your problem clearly to the support person.

  • Display next button after the SWF file embedded is over

    I have a SWF file (AS3) I'm embedding in Captivate 7.

    I have the commands in the file SWF Captivate a pause until the SWF is done playing, then he will resume the Captivate slide at the end of the embedded SWF file.

    I would like to be able to trigger the 'Next' button on the blade so that it appears when the SWF file is finished.  I've included a variable 'videoDone' on the blade and the SWF successfully assigns to the variable '1' when it is complete.

    So far so good, where I'm having a problem is makes the following button.

    Is it possible for me to tell Captivate to show the button next to the SWF embedded? Or is there a way I can add a listener for the Captivate slide as well as when the variable "videoDone = 1" it will show the next button?

    I managed to solve the problem by having 2 following buttons

    #1 on show/hide slide entry based on the 'videoDone' user variable
    #2 placed lower in the timeline panel and looks after the SWF file finishes.

  • I have to select the stage after the event Mouse.CLICK use keyboard movement

    Hi, I worked on a game called The Stray Pixel and I it works well, except for one thing, this thing is the fact that whenever the player clicks on one of the buttons on a scene bed leads to another scene, but the character can be controlled on this scene until a click on the background of the scene. Please help me with this.

    How do we control the character?  It could be a matter of resetting the development as part of the event handler function by clicking on or changing the scene... stage.focus =;

  • How do you reactivate a button after the sound played?

    I would like to reactivate a button when the sound has finished playing. I know how to disable the button, but I don't know how to turn it back on. I want to prevent the user to press a key several times.

    Here is the code:

    If (event.target is soundPress_1)

    {

    page1Sound = new Page_1();

    page1SoundChannel = page1Sound.play ();

    soundPress_1.MouseEnabled = false;

    }

    How can you detect when the sound is done playing?

    And then reenable the button?

    Hello

    It has eventlistener Event.SOUND_COMPLETE. in its channel class he wil trigger once completed his game.

    page1SoundChannel.addEventListener (Event.SOUND_COMPLETE, onSndComp);

    function onSndComp(e:Event) {}

    trace ("Completed");

    }

    Kind regards

    Kiran

  • Where is the best place to put the code pl/sql only for after the events of the insert?

    Hi, I can not use database triggers, but I need to run pl/sql code only after an insertion.

    I think I need to create a process in the page that inserts into my table, but how do I know if the page is inserting or editing?

    Now I have 3 process: (the tablename parameter is in_incidencias)

    After the execution of

    10 get PK blocked anonymous PL/SQL
    30 process row IN_INCIDENCIAS
    page 40 of reset

    What kind of process that I need to create, and how can I know if there is a new record to insert?

    Thanks in advance

    Do not be sorry, that this forum is for all kinds of developers :) I am fairly new to APEX.

    When you create a process on your page, you choose ' PL/SQL', click 'Next', and then give you it a name, a sequence number and a point of execution (after Submit, generally). You click 'Next' again and then you can code your process. Encode you, click again on "next". Now you have success and failure messages, you can put whatever you want in here. Click 'Next' again, and you finally processing Conditions. Select the button in the field when you press button and're you good to go. If you never want your process to shoot several buttons, and they all have a request, you can also choose the "Request is contained in the Expression 1" Type of Condition and type a comma list of applications in the field of the Expression 1 (something like "CREATE, SAVE", but without the quotation mark).

    With respect to the code of the process itself, I still have to code an email sending process myself, but this thread contains the basics that you need, with useful links to the official documentation.

    Hope this helps,
    Matt

  • Lost the rear button after the update and the button how to get back home?

    Firefox updated to 7 and I lost all my Add ons including the home button and the front/rear button. I could get all my Add ons restored except for the home button and the forward/backward buttons. How to make a comeback? Wish now that I had not updated.

    Make sure that you are not running Firefox mode full screen with all the hidden toolbars.

    • Press F11 to toggle mode full screen (file/Firefox > fullscreen)

    If the menu bar is hidden, then press the F10 key or hold down the Alt key, which should make the convening of menu bar.

    Make sure the toolbars like the toolbar 'Navigation' and the 'personal bar' are visible: "view > toolbars".

    • Is he missing elements then open the window customize via "view > toolbars > customize" or "Firefox > Options > toolbars" (Linux, Windows)
    • If a missing element is located in the toolbar palette and then bring her back in the window customize the toolbar
    • If you don't see an item on a toolbar and in the toolbar palette, then click on the "Restore default" button to restore the default toolbar set up.

    See also:

  • The ADF tree fades after adding a button after the tag from the tree of the ADF

    I have a tree ADF that will have a few Groups (parent) and issues (child), it displays the content properly, now I have to add a button at the end of the page, so when I added a button on the page is shrunk and I see two bars vertical and horizontal scrolling for the part Questions and groups. but I want the content to be displayed correctly, and at the end the button should available.

    I tried width ADF Stretch and addition of the tree and the key to all the different types of components, but they did not work.

    Can you please suggest me a way to do this?

    The jsp page looks like this:

    < af:form >
    < af:tree - >
    < f: facet name = "nodeStamp" >

    < af:outputText value = "#{node." GrpDesc}"id ="ot1">

    < af:outputText value = "#{node." QstnDesc}"id ="ot2">


    <!- and I have a few components of selectOneRadio here, which will be displayed for each question >

    < / af:tree >

    <! Here, I added a button and I have actions defined for it >

    < text af:commandButton = "save and continue".
    ID = "cb2" / >

    < / af:form >






    Thank you
    Jean Lou

    Published by: user12217808 on April 27, 2012 04:55

    Before adding a status bar button, you will need to place a toolbar item.

    PanelCollection is a naming container. If you try to access your tree by ID, you need to add ID of panelCollection and: entry. As "tree1"-> "pc1:tree1".
    I think that panelCollection itself cant' break the queried data.

Maybe you are looking for

  • What happened to the Red effort zone in FF9?

    After the installation of FF9, the little box at the end of the address bar which turned red when something on a loading site is part or at least blush more. I use Win 7 Home premium 64-bit.

  • Memory problem while improving my Satellite A100-181

    Hi all I want to upgrade RAM on my Satellite A100-181, 512 MB is a bit limited...I ordered a 1 GB dimm noname a month before, put in it, with the 512dimm. As a result, we have only 1 GB recognized, and the laptop does not start if the 512 module is n

  • Driver missing for Tecra A3

    I need help with my laptop Tecra A3. Installed Windows 2000 SP4 from scratch and used all the drivers on the Toshiba site. Update Windows done and everything to date. The problem is I still have an unknown PCI device in Device Manager and I don't kno

  • SeqFileLoad in BatchModel

    Hello is it true that teststeps in SequenceFileLoad are executed only once in BatchModel? I have 5 lots, but the steps in SequenceFileLoad are only run once and not for all the lots. Y at - it an option to enable cela or is this normal? THX

  • Pavilion G7-1368dx: the factory recovery failed

    A few weeks ago, Windows Update downloaded 10 Windows on my laptop. I tried a few days and decided I didn't like it so I uninstalled and reinstalled Windows 7 on my laptop. I lost the hp Recovery Manager, and by some people on this forum, I ordered t