Finding All Channel Objects?
I am working on an audio player that will take a parameter
from a web page and play the appropriate MP3 file. Each page in a
series of pages calles the same movie. It works but I have a
seriouis problem with the code. If the user navigates to the next
page while the current page is still playing the audio, the new
audio is played on top of the older clip. I suspect that each time
the same movie is called, a new SoundChannel object is being
created.
I'd like to come up with a function to search all current
objects that are not in the display list and issue a Stop command
to all existing SoundChannel objects.
Does anyone know if it is possible to write a function to do
this? Have you written such a function? I can't come up with any
other way to stop the currenlty playing audio automatically. I
can't rely on the user to stop it manually...
The SoundMixer.stopAll(); doesn't work, I've tried it. :-(
TIA
Peter H.
Peter,
> Finally, I have a function to play the sound with a
line:
>
> _channel = _snd.play(_pausePosition);
Everything you've described sounds fine. For what it's
worth, you don't
actually have to wait until the sound fully loads before
issuing the
Sound.play() method (the sound will progressively download,
which means it
starts playing as soon as enough data have loaded) -- but
again, your
description so far sounds just fine.
> I suspect that each time the SWF is called to play
another
> MP3, the code is creating another Channel object and
> playing the newly requested MP3.
This is the part that puzzled me at first, but now I think I
understand.
What I missed in my first read-through was that the new page
starts playing
while the initial page is still open. That means there are
two instances of
Flash Player running, each with the same SWF, but a different
parameter.
Even though both instances of Flash Player are playing the
same SWF, each
instance comprises its own unique world. You can't (easily)
enumerate the
objects in both SWFs in a collaborative way, because they're
separate
entities -- twins, if you will, but still unique human
beings.
> Specifically, I was thinking that if I had a way to
identify
> all Channel objects instantiated within this movie, I
could
> just do something to unload them all from memory to
> ensure none were already playing.
By the looks of it, each of your SWF instances, across
x-number of HTML
pages, has a single, named SoundChannel instance: _channel.
So it isn't as
if you really have to search for instances -- you know them
at this point --
it's that you have to get separate SWFs to speak to each
other and figure
out who needs to keep mum.
Off the top of my head, I can imagine using JavaScript to
feed a second
parameter to the SWF that a given page opens. The first
parameter, of
course, is the MP3 to play. The second parameter could be a
timestamp.
This way, each page has an "age," and you could feasibly
communicate from
SWF to SWF with instructions that only the youngest SWF be
allowed to play.
Inter-SWF communication happens with the LocalConnection
class. You set
up an arbitrarily named line of communication, then "listen"
to that line.
SWFs can also send messages over one or more lines. See if
that gets you
started, and be sure to come back if you have additional
questions. I'm
interested in this topic myself now, so I'll try to work up a
proof of
concept on my own and we can swap notes. :)
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design."
Similar Messages
-
Newbie: How can find all unused objects in XI ?
How can I find all unused objects in XI Integration Repository?
Thanks,
BadariHi,
Have a look at these thread, it might be helpful to you
XI Server Object Cleanup
How to delete Integration Repository Objects?
Thanks,
Pooja
ps: please mark helpful answers -
Program or a Report name to find all the objects in a query?
Dear People,
Could anyone help me in finding out the program or a report name thorugh which I can find all the objects related to a particular query?
Thanks in Advance!
Regards,
Vinoth VHi,
RSRQ_QUERYDEFINITION is a program to give all details about query if you executed it in SE38.
And similarly tcode RSRT1 and RSRT used to execute the queries.
Tcode RSRREPDIR to know the Query execution time and details.
Hope helps out,
Thanks-RK -
How to find all the objects by Module.
Hey all,
Can any one please help me in finding all the objects by Module.
I need to have all the objects(like app engines, records, fields, file layouts, etc,.) in AP, AM, GL, BI, AR.
thank you,
Bye.You can use the OwnerID field as a starting point. The reason why i say that is because there are some objects that cross-over between more than one module.
http://www.CompShack.com -
Finding all supporting objects
Greetings all,
Is there a simple way to find out which supporting objects are associated with an application when there are multiple applications in a workspace? I know that if the naming conventions are right it is easy, but I am working with an application that had some non conventional names and what I am trying to do is move the application to another workspace and get it cleaned up and corrected so going forward it can be done properly.And because the workspace is on apex.oracle.com I can't use SQL Developer :(
-
Where to find all business object number
Hi all,
When I create an orange arrow, I need to link it with a business object so it appears correctly and only in the correct situation.
How can I get all the business object names? Is there a document somewhere. For example, I can t find the number or the name to link the arrow with a warehouse.
Can anyone help me?
Thanks a lot
VincentHi Vincent,
Look in the UI SDK help file, it is under the BoLinkedObject Enumeration topic.
Regards, Lita -
Hi all,
I'm looking at the mail traffic originating from our SharePoint instance and noticed there are a number of "delivery has failed to these recipients or groups" for people no longer with us.
Is there a means (powershell?) to discover the objects (alerts, workflows, etc...) in SharePoint that are sending mail to these people so they can be removed as part of old account housekeeping?
Thanks!
PaulHi
Please checkout below script to remove the alerts enabled for individual users.
http://dunxd.com/2010/12/22/delete-all-alerts-for-a-user-in-sharepoint-with-this-powershell-script/
You can verify the content of emails which will have names of users and kind of emails , if that is aa workflow approval or simple alerts. if its workflow alert you might need to contact the sharepoint administrator/designer who can find
out the source of same
regards Puran Mishra -
Hi,
Is there a way to check all the BW objects that were not assigned to a package?
I have a lot of InfoObjects and it is time consuming to check each and every object if it has been assigned to a package.
Thanks in Advance,
DonaHi Donna,
Everything you need is kept in table "tadir".
Query this table with selection on package $TMP for field devclass and the info is yours!
Additional you can set restrictions on objecttype like IOBJ for infoobject.
Regards, Patrick Rieken.
Message was edited by:
Patrick Rieken - BI-Formance B.V. -
Shell to Find All FROM Clauses
Hi,
Can someone help me with a shell script which parses a file and finds all the objects (mainly tables and views) used in a FROM clause. The file can be either a SQL script or PL/SQL program block -- whether stored or anonymous.
I'm planning on using this for multiple files.
Thanks.Well, a lot of the files have SQL statements that look like:
select xyz
from table1,
table2,
table3
where ...
grep would just give me table1. I figured I would have to write a script that parses each line, looking for the FROM, then continue until a termination string. Either a WHERE or a ";" or "/".
I would use instr in SQL*Plus to do this, but not sure where to start with shell scripts. -
New user - All channels not working/poor strength ...
Hi,
New installer, only getting around 20 channels when searching, and none of them work.
Signal strength fluctuates from 70% - 0%,Quality 20% - 0%
I have done lots of trial & error techniques, checked all cabling multiple times and thats fine, in bulit freeview on the TV searches, and finds all channels and has perfect picture quality, so its not the TV, now the weird thing is, I have tested BT vision box on another known working TV and BT vision works fine on that picks up all channels that its should and has 90% - 90%, so basically everything works fine, just BT Vision does not work on my main downstairs TV, any suggestions would be greatly appreciated!Ok not quite enough info here to give a definitive answer yet.
You say you tested it on another TV in the same house from the same aerial feed?
Vision has two tuners as do all PVRs and needs therfore a stronger signal for it work and it sounds as though you might be on the borderline?
Can you give us more info please as to your exact set up?
Life | 1967 Plus Radio | 1000 Classical Hits | Kafka's World
Someone Solved Your Question?
Please let other members know by clicking on ’Mark as Accepted Solution’
Helpful Post?
If a post has been helpful, say thanks by clicking the ratings star. -
How do I find out all the objects I use in my application.
As I am creating my documentation, I realized it would be helpful to know all the objects that my application uses ( tables, views, packages etc). Is there a way to find that out i.e. any script or simple alternative etc ?
Thanks, folks!I am on version 3.0.1.00.08 and am trying to figure this out for this version.The navigation path is different but the report is available somewhere.
Also, is there a way to get the sql from all the pages out ?What do you mean?
Scott -
Hi all,
Please let me know the process to track or find all the SAP Standard and custom objects. that got changed from a specific point of time.
Is there any function module or any table where this change log is maintained.?
I just only need the details ,wheather that SAP standard or Custom object has got changed or not.
Thanks in advanceHi RK v ,
I really don't know what your actual requirement is , but if you want to know the objects as per the modification , then transport request will be much help to you .
Have a look into table E070 and E071 .
Regards ,
Yogendra Bhaskar -
Is there a way to find which DB object is used in which all pages
Hi All,
Is there any way by which we can find out which All Database objects are used in which all pages in an Application. Our Application is quite big and has lots of pages, So is there any report like functionality where I can check the DB objects used on page basis or any underlying view where we can get this information.
Thanks,
VikasHello Vikas,
There are a couple of APEX Views which provide you with that information.
If you go to Home>Utilities>Application Express Views
following views may be useful to you:
- APEX_APPLICATION_PAGE_DB_ITEMS
- APEX_APPLICATION_PAGE_PROC
There are a couple of others (for ex if you make use of flash charts, interactive reports etc) but if you start with the above you'll have a good starting point.
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/ -
Trying to find ALL objects that point to one column...
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Solaris: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
I have multiple schemas, all which have tons of objects that point to one column of one table.
I tried to look at v$sqltext, and v$sqlarea, but it doesn't seem to show as expected.
Is there a view that I can look at that will show me all the objects that relate to one column?
my situation. Had to change the data structure of this one column. Changed the default value from a Y to an L. I have packages, functions, triggers...etc... that deal with this one column. I need to ensure that I go through EACH one and edit them to reflect the change to the table column. And again, this spans multiple schemas that point back to it.
I can't overlook any objects. Is there any one place to find this?
Thanks.Use view - DBA_DEPENDENCIES
select * from dba_dependencies
where type= 'TABLE'
and name = '<TABLE_NAME>';Another crude way...
select * from all_source
where lower(text) like lower('%<TABLE_COLUMN_NAME>%')
group by owner,name,type;But, this 'll not search in Views & MView queries.
HTH
Ranit B.
Edited by: ranit B on Oct 15, 2012 11:09 PM
-- added -
Find all Connector Space Objects That Were Provisioned
I'm trying to run a query on the FIM Synchronization Database to find all of the objects in a connectorspace that were created there via provisioning rules. Some objects in the connectorspace have joined and some have been created via provisioning but I
can't find the field in the FIM Sync DB for where this is specified. Anyone know how I can pull this information?
Cheers,
DanThanks Sameera. It's part of a larger query so it would be great if I could find out where it is in the Database. I've looked all through it and joined everything I can. I thought it might be stored in the connector space hologram data which is encrypted
in the db so I checked that with PowerShell and wmi but couldn't get anything out of that either. I'll probably just have to run the query I have and then link it up with the connection information in excel like you've described. Thanks again.
Maybe you are looking for
-
How to get rid of the stupid drop down box in the search box
Thank-you for the help. I am not sure if I put this is the right spot or not, but I wanted to take the time to say thank-you to the people who answered : "Chosen solution If you want to restore the previously used standalone window to manage search e
-
Inexplicable behavior by Puppet Warp crashes Photoshop
I am running Photoshop CC 2014.1.0 (release 20140730.r,148 x64) on Windows 8.1 with an AMD quad core processor and AMD E1-2100 APU with AMD Radeon HD 8210 Graphics Card. I have installed the latest driver version, 13.152.0.0. When I activate puppet w
-
Restricting P.O output from ECC to Sus component of SRM
Hi, I do have a requirement of Restricting the output of P.O document created in ECC to SRM-Sus. When a P.O is created and saved in ecc system it mustnot be shared with SUS provided it has no indirect materials . I do have the logic with me . I creat
-
Help required in optimizing the query response time
Hi, I am working on a application which uses a jdbc thin client. My requirement is to select all the table rows in one table and use the column values to select data in another table in another database. The first table can have maximum of 6 million
-
Got No SIM message on my iPad. SIM works fine in my iPhone
And my iPhone sim works in the iPad. Is this likely to be a hardware issue? Any ideas about how to fix?