All posts by Peter deHaan

Peter deHaan currently works for Adobe on the Flex SDK QA team. While not working on Flex, Flash, and ColdFusion applications, Peter enjoys making up bios and writing in 3rd person. Peter's rarely updated blog can be found at blogs.adobe.com/pdehaan/, actionscriptexamples.com, airexamples.com, and coldfusionexamples.com.

Dynamically starting and stopping a video using JavaScript and the CFMEDIAPLAYER tag in ColdFusion

The following example shows how you can dynamically start and stop a video using JavaScript and the <CFMEDIAPLAYER> tag in ColdFusion by calling the ColdFusion.Mediaplayer.startPlay() and ColdFusion.Mediaplayer.stopPlay() functions.

Continue reading Dynamically starting and stopping a video using JavaScript and the CFMEDIAPLAYER tag in ColdFusion

Dynamically setting the volume on a video using JavaScript and the CFMEDIAPLAYER tag in ColdFusion

In a previous example, “Muting a video using JavaScript and the CFMEDIAPLAYER tag in ColdFusion”, we saw how you could dynamically mute a video using the <CFMEDIAPLAYER> tag at runtime using JavaScript and ColdFusion by calling the ColdFusion.Mediaplayer.setMute() function.

The following example shows how you can dynamically set the volume on the <CFMEDIAPLAYER> tag at runtime using JavaScript and ColdFusion by calling the ColdFusion.Mediaplayer.setVolume() function.

Continue reading Dynamically setting the volume on a video using JavaScript and the CFMEDIAPLAYER tag in ColdFusion

Converting an address to a latitude/longitude using JavaScript the CFMAP tag in ColdFusion

In a previous example, “Changing the center point at runtime on a Google Map using the CFMAP tag and ColdFusion”, we saw how you could change the center address on a <CFMAP> tag at runtime using JavaScript and ColdFusion by calling the ColdFusion.Map.setCenter() function.

The following example shows how you can convert an address to a latitude and longitude using JavaScript and the <CFMAP> tag in ColdFusion by calling the ColdFusion.Map.getLatitudeLongitude() function.

Continue reading Converting an address to a latitude/longitude using JavaScript the CFMAP tag in ColdFusion