Can i use multiple-Swfs in one page to implement the real multi-thread?

When there are multiple .swfs  in one web page,  if there will be multiple instaces of flashPlayer and run in multiple thread ?-- Per Swf Per instance and Per thread, is it?

hi,
   It will not work at all In web browser enviornment. If you considering to
make a scheme in which u use two swfs one helper swf for background
processing and another for Displaying Front End.Problem remains there if you
manage to send data from your one swf to the other in same page using
localConnection . When the processing starts in the helper swf whole page
will going to be stucked for the period until the helper swf has done
processing the data.So its no use at all. Altough this library can help you
make time slice based threads http://code.google.com/p/async-threading/

Similar Messages

  • Can you use multiple plugins on one piece of media?

    can you use multiple plugins on one piece of media?
    ...so for example have one plugin for a UI control bar, another for tracking, and another for advertising?
    If this is possible how? What types of plugin would each plugin be and what sort of media element would be required?
    Or is this not the correct approach? If not what would the correct approach be?
    Thanks in advance for support.

    I have got this plugin to set it's proxiedElement.
    To do so, I needed to follow David_RealEyes advice too.
    But I still can not acheive what I set out to find out, all I was trying to do was trace the current time of the videoElement, to begin to understand how plugins work. Can anyone advise please? Thanks in advance for support.
    I thought to acheive this I would just need to add  a listener for like this:
    dispatcher.addEventListener(TimeEvent.CURRENT_TIME_CHANGE,  onTimeChange);
    Then write the function like this:      
    private function onTimeChange(e:TimeEvent):void
                 trace('**********onTimeChange: '+ e.time)
    ...But this doesn't work.
    What am I doing wrong?
    Here's the class now for the TraceListenerProxyElement
    package
        import org.osmf.elements.*;
        import org.osmf.events.*;
        import org.osmf.media.*;
        import org.osmf.metadata.*;
        import org.osmf.traits.*;
        public class TraceListenerProxyElement extends ProxyElement
            public function TraceListenerProxyElement(wrappedElement:MediaElement)
                trace('TraceListenerProxyElement')
                super(wrappedElement);
            // Overrides
            override public function set proxiedElement(value:MediaElement):void
                trace('override set proxy')
                trace('value: ' + value)
                if(value)
                   super.proxiedElement = value;
                   trace('proxied element set')
                   enableListeners()
                super.proxiedElement = value;
                trace('proxied el: ' + proxiedElement)
            private function enableListeners():void
                trace('enableListeners')
                dispatcher = new TraitEventDispatcher();
                dispatcher.media = proxiedElement;
                dispatcher.addEventListener(AudioEvent.MUTED_CHANGE, processMutedChange);
                dispatcher.addEventListener(AudioEvent.PAN_CHANGE, processPanChange);
                dispatcher.addEventListener(AudioEvent.VOLUME_CHANGE, processVolumeChange);
                dispatcher.addEventListener(BufferEvent.BUFFER_TIME_CHANGE, processBufferTimeChange);
                dispatcher.addEventListener(BufferEvent.BUFFERING_CHANGE, processBufferingChange);
                dispatcher.addEventListener(DisplayObjectEvent.DISPLAY_OBJECT_CHANGE, processDisplayObjectChange);
                dispatcher.addEventListener(DisplayObjectEvent.MEDIA_SIZE_CHANGE, processMediaSizeChange);
                dispatcher.addEventListener(DRMEvent.DRM_STATE_CHANGE, processDRMStateChange);
                dispatcher.addEventListener(DynamicStreamEvent.AUTO_SWITCH_CHANGE, processAutoSwitchChange);
                dispatcher.addEventListener(DynamicStreamEvent.NUM_DYNAMIC_STREAMS_CHANGE, processNumDynamicStreamsChange);
                dispatcher.addEventListener(DynamicStreamEvent.SWITCHING_CHANGE, processSwitchingChange);
                dispatcher.addEventListener(LoadEvent.BYTES_TOTAL_CHANGE, processBytesTotalChange);
                dispatcher.addEventListener(LoadEvent.LOAD_STATE_CHANGE, processLoadStateChange); 
                dispatcher.addEventListener(PlayEvent.CAN_PAUSE_CHANGE, processCanPauseChange);
                dispatcher.addEventListener(PlayEvent.PLAY_STATE_CHANGE, processPlayStateChange);
                dispatcher.addEventListener(SeekEvent.SEEKING_CHANGE, processSeekingChange);
                dispatcher.addEventListener(TimeEvent.COMPLETE, processComplete);
                dispatcher.addEventListener(TimeEvent.DURATION_CHANGE, processDurationChange);
                dispatcher.addEventListener(TimeEvent.CURRENT_TIME_CHANGE, onTimeChange);
                proxiedElement.addEventListener(MediaElementEvent.TRAIT_ADD, processTraitAdd);
                proxiedElement.addEventListener(MediaElementEvent.TRAIT_REMOVE, processTraitRemove);
            private function onTimeChange(e:TimeEvent):void
                trace('**********onTimeChange: '+ e.time)
            private function processAutoSwitchChange(event:DynamicStreamEvent):void
                trace("autoSwitchChange", event.autoSwitch);
            private function processBufferingChange(event:BufferEvent):void
                trace("bufferingChange", event.buffering);
            private function processBufferTimeChange(event:BufferEvent):void
                trace("bufferTimeChange", event.bufferTime);
            private function processComplete(event:TimeEvent):void
                trace("complete");
            private function processCanPauseChange(event:PlayEvent):void
                trace("canPauseChange", event.canPause);
            private function processDisplayObjectChange(event:DisplayObjectEvent):void
                trace("displayObjectChange");
            private function processDurationChange(event:TimeEvent):void
                trace("durationChange", event.time);
            private function processLoadStateChange(event:LoadEvent):void
                trace("loadStateChange", event.loadState);
            private function processBytesTotalChange(event:LoadEvent):void
                trace("bytesTotalChange", event.bytes);
            private function processMediaSizeChange(event:DisplayObjectEvent):void
                trace("mediaSizeChange", event.newWidth, event.newHeight);
            private function processMutedChange(event:AudioEvent):void
                trace("mutedChange", event.muted);
            private function processNumDynamicStreamsChange(event:DynamicStreamEvent):void
                trace("numDynamicStreamsChange");
            private function processPanChange(event:AudioEvent):void
                trace("panChange", event.pan);
            private function processPlayStateChange(event:PlayEvent):void
                trace("playStateChange", event.playState);
            private function processSeekingChange(event:SeekEvent):void
                trace("seekingChange", event.seeking, event.time);
            private function processSwitchingChange(event:DynamicStreamEvent):void
                trace("switchingChange", event.switching);
            private function processVolumeChange(event:AudioEvent):void
                trace("volumeChange", event.volume);
            private function processDRMStateChange(event:DRMEvent):void
                trace("drmStateChange", event.drmState);
            private function processTraitAdd(event:MediaElementEvent):void
                trace("Trait Add: " + event.traitType);
            private function processTraitRemove(event:MediaElementEvent):void
                trace("Trait Remove: " + event.traitType);
            private var dispatcher:TraitEventDispatcher;

  • Can we use multiple queries on one template

    Can we use multiple queries on one template

    Hi,
    if you're using data templates for your data set, you
    can put multiple queries in the XML data template.
    The queries may then be linked (or not) by the "link
    name" tag ...
    Grtz.Following you answer here...do you know eventually how/if possible to preview a report (with XMLP Desktop) that is using data templates for the data set?
    Thanks,
    Liviu

  • Can i use multiple ipods on one account

    How do i use multiple ipods on one account so that we can share the music that we own and has been downloaded from cd's

    Just import the CD music into the libraries used by the different devices. Yo can use Home Sharing
    Understanding Home Sharing
    Troubleshooting Home Sharing
    CD music is not locked to any account

  • Can you make a page layout and use multiple pictures on one page for a slide presentation?

    I thought I remebered seeing a tutorial on how to make page layouts for use in your slide presentations. I can not find this now. I am using the theme of scrapbook but have several pictures that should go together on one page or frame. I do not have iphoto11. So I am more limited I think. I do not have time to upgrade at this point. Is there anyway to customize my slide presentation in this way?

    Hi
    Yes You can in iDVD make it to add a folder with Your pictures too (to be opened on PC/Mac - not viewed on DVD-player)
    Two ways
    • iDVD menu - down to Preferences and then select like this
    or by using "Editing for DVD-ROM"
    Yours Bemgt W

  • Can you display multiple photos on one page with slide tool to transition between them?

    Hi Folks,
    I have a series of photos taken from the exact same location but on different days. I would like to display them on one page but use a slide tool/bar to move or transition between the photos. If the slide bar can display the date of the photo then that would be great.
    Can this be done in adobe?
    Any help would be great.
    Thanks.

    A Steve mentioned you can use a button to display an image. If you use JavaScript, you wouldn't have to show/hide multiple buttons but could instead dynamically set the button icon programmatically. The setup for something like this is a bit involved, but it's not overly complicated. Post again if you'd like more details.
    The slide bar is the thing that would have to faked as there is no such built-in control, but something functionally equivalent could be done, it just may not behave as smoothly as you want.

  • TS3297 Can I use multiple accounts on one device/ computer?

    I'm an American in Japan. I use the American iTunes/App store, but I also want to purchase things in the Japanese store for apps for my MacBook Pro. Can I use both stores? I have a gift card for the JP store, but no account yet. Will both be accepted on my Mac?
    I have dollars to my credit in the American store and a 10,000 yen gift card to the Japanese store.

    Unfortunately you can't do the logical and convenient thing of authorizing a computer with multiple Adobe IDs that are active simultaneously.
    You can authorize accounts from different vendors; one account per vendor.
    If you have multiple operating system users set up on the computer,  you can register different OS users as different Adobe Account users.

  • Can I use multiple IDs for one iTunes and multiple devices

    We have one family computer with iTunes, my older brother has an iPhone and I have an iPhone. A family ID was previously used to purchase songs for the family to share. My older brother has created an apple ID for his iPhone, and l have a yet unused apple ID. my brother downloaded songs etc onto the family iTunes that I would like to share, there are songs on the family apple ID that we would both like. Can you download purchases from multiple apple IDs into one iTunes  account, then sync that data onto multiple phones that each have a separate ID? Is iTunes linked to one ID? Can purchases from multiple IDs be grouped together in our family account. Also do I Actually need a separate Apple for my iPhone to prevent private messages and contacts being shared?
    Thanks for any advice

    I forgot to add my iPhone is brand new and unused, and also that the iTunes account has non purchased songs on there. Can these be shared. As it is a new computer the purchases from the family ID have not been downloaded yet

  • Can you have multiple clickboxes on one page

    Sorry... a few complicated things are coming up. I am doing a
    large project with LOTS of interactivity, which involves simulating
    a customer filling in a form and then clicking a button to move on.
    So one one page I have both a Text Entry box, and sometimes also a
    click box.
    I made the Text Entry box action "none," and put the "go to
    next" on the click box action.
    Now my boss wants two more links added to each and every
    page... a TABLE OF CONTENTS button, and also a NEXT PAGE button.
    When I added these two additonal buttons, it seems to be confusing
    Captivate.
    This is understandable, as Captivate is probably thinking
    "what the heck do you want me to do first."
    What I need to know is (a) is it possible to have multiple
    Interaction buttons or clickboxes on the same page, each doing a
    different thing; and (b) if so... how???
    (Secretly I hope the answer is NO because it will simplify my
    life tremendously).
    Thank you, QuizQueen

    Hi again QuizQueen
    Of course you may have multiple Buttons or Click Boxes on a
    single slide and have each do something different when the user
    clicks. It's all in how you configure the Buttons or Click Boxes.
    Personally I think it's easier if you use Click Boxes as I
    believe them to be more flexible.
    Often what is missed is a specific setting. When you look at
    the Options tab of the Click Box properties, you should see a
    button with a down arrow. This button is located to the immediate
    right of where you would type a URL. Click that button and you
    should see an option to open the destination in a new window. But
    click again and you see another option that is easily missed. This
    would be the option to "Continue playing project". That one is
    easily missed because it was in a disabled state (grayed out)
    initially. So if you DE-select this option, the Click Box or Button
    will carry out its assigned action without releasing the pause on
    the slide.
    Hopefully that helps you better understand it.
    Cheers... Rick

  • Using multiple collections on one page.

    I have three collections TRIP, CATCH, EFFORT.
    I am trying to have them all on one page as three separate tabular forms.
    Do I understand this correctly, regardless of how many collections on a page, I can only use a total of 50 columns.
    So, TRIP can reference c001...c030
    EFFORT c031..c040
    CATCH c041...c050

    I have three collections TRIP, CATCH, EFFORT.
    I am trying to have them all on one page as three separate tabular forms.
    Do I understand this correctly, regardless of how many collections on a page, I can only use a total of 50 columns.
    So, TRIP can reference c001...c030
    EFFORT c031..c040
    CATCH c041...c050

  • Can I use multiple swfs in iOS app?

    Hello everybody,
    I have to create an app for iOS from an existing Flash project.
    On the stage of the main flash multiple swfs are loaded dynamically .
    Is it possible to compile, in addition to the main file, all the other swfs too?
    If I load the swf in the "Included files” on “Setting AIR for IOS” menu, they are copied as swf, making impossible to use the app on iPad.
    Thanks to all

    Thanks,
    I left a component in the external swf library...
    Now it works!

  • I can not print multiple pictures on one page pse13 windows 8

    I have tried to print multiple pictures on one sheet and the program will not send it to the printer.  I went into picture package and got the 2 pics to show on one page and chose my printer, but when I hit print the screen goes back to the print page with only one pic on the page

    I don’t think it’s my printer I printed many multiple pictures with my old photoshop 5 with no prblems.  the only reason I bought photoshop 13 was because 5 would not work on my new computer with windows 8.
    Sent from Windows Mail

  • Can I use multiple values for a rollup key on the same Endeca record?

    We have a business need to to aggregate our records using different criteria, based on user navigation. We are thinking of using a rollup key with multiple values to help with the aggregation, but we are running into some issues.
    Here is a made-up xample of what we want to do: assume we have a group of products and these products can be organized into groups using parent-child relationships. We would like to create an aggregate record for each parent, and we want the aggregate record for each parent to include all the children for the parent. To achieve this, we use a field called "parent_rec_spec" that holds the parent record spec and we set the same value on the field for the parent and its children. When we do rollup using the parent_rec_spec as the rollup key, we are able to see one aggregate record for each parent (with its children).
    The previous setup worked perfectly for us so far. But now we are getting a business requirement that allows children nodes to be linked to multiple parents at the same time. We were hoping of using another dimension to limit the records based on user roles/characteristics , so that only applicable parents/children are displayed (for example, we can use "market" as an additional filtering property, and we decide to show all parents/children for "North America", while hiding the parents/children for other markets).
    This caused an odd behavior when children are linked to multiple parents. For example, assume that SKUs A and B were linked to parents in "North America" and "Europe" at the same time, and assume that the user chose the "North America" market. The navigation state would eliminate the parents/children that are no in North America, and will also cause the parents/children that are labeled for North America to show up and be aggregated correctly. This however will lead to the creation of additional aggregate records for the A and B using the parent_rec_spec values that would have linked them to the Europe parents (even though the parents are hidden away).
    Here is an example index file that we used to load the test data:
    Update||1
    Market||North America
    Record Type||Product
    Name||Parent 1
    rec_spec||P1
    parent_rec_spec||P1
    EOR
    Update||1
    Market||Europe
    Record Type||Product
    Name||Parent 2
    rec_spec||P2
    parent_rec_spec||P2
    EOR
    Update||1
    Market||North America
    Record Type||Product
    Name||Child A
    rec_spec||A
    parent_rec_spec||P1
    EOR
    Update||1
    Market||North America
    Market||Europe
    Record Type||Product
    Name||Child B
    rec_spec||B
    parent_rec_spec||P1
    parent_rec_spec||P2
    EOR
    Update||1
    Market||North America
    Market||Europe
    Record Type||Product
    Name||Child C
    rec_spec||C
    parent_rec_spec||P1
    parent_rec_spec||P2
    EOR
    Update||1
    Market||Europe
    Record Type||Product
    Name||Child D
    rec_spec||D
    parent_rec_spec||P2
    EOR
    In this setup, we have parent P1 marked for North America with children A, B and C, and parent P2 marked for Europe with B, C and D as children. When we use North America as a filter in the navigation state, and parent_rec_spec as the rollup key, then we will see an aggregate record for P1, A, B and C. But we will also see an aggregate record for B and C by itself (presumably because of the other parent_rec_spec value on these records).
    The actual data that we are testing with is more complicated, but the end result is similar. We also noticed that the additional aggregate records would not be created always, depending on the ordering of the records.
    The question that I need help with is this: is there a way to fine tune the rollup logic so that it can only include certain records (in the example above, we can change the rec_spec from PA and PB to PA_North_America and PB_Europe and then we would be interested in rolling up using values that end with NorthAmerica).
    By the way, we considered using separate rollup keys for each context (like parent_rec_spec_north_america and parent_rec_spec_europe), but the number of contexts is dynamic, and might grow large. So it is not easy for us to create the additional properties on the fly, and we are concerned about the possible large number of dimensions.

    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=2&threadid=1157850

  • HOW CAN I USE MULTIPLE VIEWS IN ONE BLOCK

    What I need to do is based on a selection, I have a detail block that shows the results. My selection would determine which view to display in the detail block.
    So for example, my selection is:
    Source: A
    Year 2005
    I would then display the details by querying A_2005_VIEW
    I can query a view dynamically using the QUERY_DATA_SOURCE_NAME however, my problem is, each view has different column names. How do I show different columns based on specific views?

    You could use a "From Clause Query" as the block data source. You can change that dynamically.
    Create generically named database items on the block COL1, COL2, ... COLn
    Then depending on the users choice in the selection criteria, use the WHEN-NEW-BLOCK-INSTANCE trigger on the query block to
    set_block_property(..., query_data_source_name,
    '(SELECT viewcol1 COL1, viewcol2 COL2, .... , viewcoln COLN
    FROM <whichever view>)');
    This will work because Forms constructs the block query thus:
    SELECT COL1, COL2, ..., COLN
    FROM <blocks query_data_source_name>
    so you are using the aliases in your query to match the forms database items names.

  • Can you use multiple TOCs in one project at different times?

    I am new to RoboHelp and I have version 11. The premise is that I have inserted a map of the United States and I have placed and image map for each state to direct them to the individual state's topic I have created. But I want to customize each state's table of contents. Is that possible? If so how is it done? Any help is much appreciated.
    Thank you.

    Can we step back and clarify what you mean by customising each state's TOC?
    The image map takes the user to a topic for that state. If the project is set to keep the topics synchronised to their position in the TOC, the user will see what you have set up in that states chapter.
    What is it that you want to happen that is not provided by that?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

Maybe you are looking for

  • IMail: slow performance, disappearing emails, random receipt/dispatch of emails

    Other users in this forum have reported problems with iMail after upgrading to ML (e.g., iMail slowing down significantly). I suffer from these problems as well, in particular: 1. iMail has slowed down. I followed the advice of other users and delete

  • Handling  Faults in a Business process JCAPS 513

    Hi All, We are testing the faults in a WSDL file. Fault message has three fields viz Type/Message/Trace. When i invoke the webservice in a JCD , all the 3 fields are getting populated with the proper error description. But when i invoke the same serv

  • Flash player terminal server Nomachine very slow firefox 3.0.3

    Hello all, I have a serious problem which i cannot reolve by myself. When using firefox 3.0.3 and flash 9.0.124 and 10 in a terminal server environment with bandwidth limit to 320k firefox is slowing down because of the limit in bandwidth. The termin

  • MC371 not detect hard drive when install Windows 7

    I use bootcamp to install Windows 7 on my Macbook Pro 15" core i5 Mid 2010. But when i boot from windows 7 installation disk, i receive "no drive was found". I think this is sata hard drive problem, any ideas or support?!

  • WAP321 Auto assign channels (Single Point)

    Hello there, I have 2x WAP321 (each about 50ft away from eachother) and have enabled the Signle Point Setup so I can see both there now). Now i also see the option of automatically assigning channels under channel management for the whole cluster (bo