/    Sign up×
Community /Pin to ProfileBookmark

php flash streaming….

HI!

how can i develop a page such like [URL=”http://www.soundrangers.com/category-results.cfm?storeid=1&cat_id=0055″]http://www.soundrangers.com/category-results.cfm?storeid=1&cat_id=0055[/URL]

when i mouse over on play file it auomatically play that audio file…….

if there is any tutorail or script, plz let me know that………

thanks in advance

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@sphoenixeeAug 17.2008 — I don't know how familiar you are with AS, but general steps are these (I assume you're using AS3):

Use addEventListener to register for MouseEvent.ROLL_OVER (or CLICK, etc. whatever you want to use) with the buttons.

Have the function call an URLLoader or HTTPService for the sound file. You don't need PHP to do this, although, you might want to use PHP to control access.

Once the sound has loaded (use Event.COMPLETE), call another function to use the Sound object to play the sound, e.g attach the the resource you got back from URLLoader to a channel then play the channel.
×

Success!

Help @mahfooz spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...