Regexp to get domain from URL
Anyone knows the Regexp for AS3 to get the domain name from URL? E.g: "http://www.google.com/translate" will get "http://www.google.com" ...
Anyone knows the Regexp for AS3 to get the domain name from URL? E.g: "http://www.google.com/translate" will get "http://www.google.com" ...
I would like to preload the SWF before showing them to the user. SWF are dynamic and I dont have the FLA files. I would love to do it using Javascript or jquery if possible. Thanks. ...
I'm compiling an .as file using fcsh, which uses it mxmlc. I use the following shell: mxmlc /Users/johannesjensen/Desktop/Doodler.as -static-link-runtime-shared-libraries=true But when I get the .swf on my desktop it's dimensions are 500x375 and framerate is 24 when I told it that it needs to be 550x400 and framerate needs to be 12...
Hi guys... I am using pure AS3 to build my project. I was wondering if there are anyways to change the stage background color through AS3...Thanks for the help.... ...
Hi guys.. I am building a AS3 only project and got runtime error that said "Cannot access a property or method of a null object reference." Here is my code: main.as public class videoMain extends Sprite{ private var videoPlayer:Player; public function videoMain (){ loadPlayer() loadProgres...
Hi, Problem, I cannot pre-view a flash movie in a php.page. Question, How, where, do i store a swf file name and location in mySQL database and then use this data to call it in the application? Thanks for reading Sabby77 ...
Hi guys.. I am trying to get the event data in a event handler..my debugger image is as follow: I tried to dispatch my custom event with the event.data please see onPlayerError function... My debug shows my data value is -1 but the compile said "access of undefined property data throught a reference with a static type flash.events....
I am building a flash app that will asks the client to access their web camera. Users on Windows (Firefox, Safari, Chrome browsers) are able to click the allow button. However, users on Linux/Mac (Firefox, Safari, Chrome) either need to click several times until they can click allow, or they can't click at all. According to this forum,...
We have a huge project written in AS2 with the old FLVPlayback component which was responsible for progressive download playback of FLVs. I'd like to support MP4 files (which is now supported in Flash 9 and up with the updated FLVPlayback) but would like to not have to rewrite all of the project. I've seen in various posts on SO surmis...
Hi guys.... I am trying to get the percentage x coordinate of a MC. For example, My MC is 500px wide and 20px height. When I clicked the part of my MC, I want to get the percentage of my MC' x coordinate... (20% will be 100px of my MC...)..Anyone knows how to do it?? Thanks.. my code progressBa.addEventListener(MouseEvent.CLICK, bar...
I have a textInput field form that's not displaying the characters it should when typed into. E.g. when the letter "æ" on my keybard is pressed "¾" shows up. This only happens once the flash movie is being displayed in a browser (that is embedded in html), preview through flash does not have this problem. The font is properly embedded as...
Here is a simple example of what I mean: private var ex:String="day"; ...... closeWindows(ex); trace(ex);//I would like it to trace "night" ...... //this can be in another class, we assume that the "ex" variable can't be accessed directly private function closeWindows(context:String):void { context = "night" } Somehow I would ne...
Hi guys.. Simple question..I was wondering when you guys extends EventDispatcher in your class. It seems to me that as long as we have import event package, we can dispatchEvent without problems....I saw sometime people extends EventDispatcher in their class...not sure why...anyone care to explain? Thanks a million... ...
How do i calculate the neperian logarithm on AS2 ??? ...
I've been wondering something, websites like youtube (pandora does mp4s) play their music through a flash player while each track is played, they're downloaded to the user's computer, e.g., /tmp/FlashXX*** This allows users to go and move the flv out of that folder for later playback. However, when the user moves the flv out of the ...
Hi guys.. I am trying to build my youtube video search project in AS3.. and I found the following link... http://blog.martinlegris.com/2008/02/20/youtube-data-api-as3-youtubeclient-functions-associated-events/ His library has YouTubeClient.getStandardFeed(…) Event: StandardVideoFeedEvent.STANDARD_VIDEO_DATA_RECEIVED .feed: VideoF...
Is there any way I can "poke" pandora, i.e., send it some sort of silly wake up call so it continues playing? (Adjust volume by +1 when it's at 100, pause/restart quickly) I'm frustrated with it stopping music because it thinks I'm not there. I'm running unix and opera, is it possible to write an opera widget that does this? Does anythin...
Flash aint my thing. What am I missing? I'm getting these boxes in Internet Explorer. <object width="100" height="65" > <param name="wmode" value="<?php echo $entry_user_fish;?>"> <embed src="<?php echo $entry_user_fish;?>" width="100" height="65" wmode="transparent" > </embed> </object> Edit: A little more Info: The php values t...
Hi Is it possible to have MODAL window opened by WindowedApplication ? Alert or Popup is not an option as window boundaries might be bigger than WindowedApplication's. Thanks ...
Hi, Could someone tell me why the dropdown menu isn't displaying above the flash object in Internet Explorer. I was under the impression that all that was required was wmode='transparent'. This was working previously but not currently. URL here. http://clubentertainment.ie/entertainment/ ...