I now know how to avoid making FLVPlayBack buttons unresponsive!
Set a variable as follows
var topPosition:uin t = this.numChildre n - 1;
then create a mouseover listener and function call
which sets the setChildIndex of the hover_jim movieclip (bubble) to the topPosition variable
jim_btn.addEven tListener(Mouse Event.MOUSE_OVE R, goto_bubble);
function goto_bubble(evt :MouseEvent){...
User Profile
Collapse
-
Instead of setting the playPauseButton and backButton to null
I set their visibility to false
and then back to trueCode:vidPlayer.playPauseButton.visible = false; vidPlayer.backButton.visible = false;
The seekBar however is a lot more complex.Code:vidPlayer.playPauseButton.visible = true; vidPlayer.backButton.visible = true;
In the end the work around I used was to...Leave a comment:
-
how to target scenes from external actionscript file (.as)
I have a flash file containing 9 scenes.
I thought that it would be a good idea to place all
code in an actionscript (.as) file.
//include "main_as.as ";
On one scene I have an array of buttons
This works fine as is.Code:var myArray:Array = [btn1, btn2, btn3, btn4, btn5, btn6, btn7, btn8];
If I add two more buttons to a second scene
btn9, btn10 and add them... -
Making an FLVplayback button active again after setting it to null
I have an FLVplayback component.
To make the playback buttons unresponsive
at a particular part of the video I have set
the buttons to null.
This works, however I would like to know how toCode:vidPlayer.playPauseButton = null; vidPlayer.backButton = null; vidPlayer.seekBar = null;
reinable them again?
I tried changing null to 1 without success.
... -
AS3 cue point only only shows after end of previous one has been reached
I have a Flash movie that contains a video clip (external FLV) file.
I have setup about 20 cue points to show images when the cue points have been reached.
My problem is if I click on the playback controls (playhead)say to jump to a certain part of the video clip, no image shows until the next cue point is reached. Is there a way to let flash know about the current cue point an show the relevant image.
this is the cuepoint... -
If I submit the form refrencing 'report_pubacce ss' I get this vardump
If I asign report_pubacces s to a variable $report using string replaceCode:getarray(2) { ["pub_access"]=> string(11) "laptop four" ["report_pubaccess"]=> string(7) "testing" }
and send the variable
...Code:$report = str_replace("\n", " ", trim($_GET['report_pubaccess']));Last edited by Dormilich; Nov 9 '11, 06:05 AM. Reason: please use [CODE] [/CODE] tags when posting codeLeave a comment:
-
How to remove newlines from header
I have a form with a textarea field.
Everything is ok until the user submitting the form adds returns characters.
When return characters are added I get this error
Warning: Header may not contain more than a single header, new line detected
This is the part of the script highlighted by the error message.
header('Locatio n:' . $_action); -
How to set movieclip back to previous depth on mouse out
I have a button that when hovered over plays a movieclip (a info bubble appears) when I mouse out it disapears.
There is also a video clip on the stage.
Currently if I launch the flash movie I can play the video clip the controls are active, however as soon as
I hover over the info button once (the info bubble is now on top of the video clip), then mouse
off the button (the info bubble disapears) however the video controls... -
Problem with thumbnail generator
I am trying to run a script that generates thumbnail images of websites.
When I run the script I get the following error message.
Fatal error: Class 'COM' not found in /home/online/public/tutor/thumb.php on line 9
If I run the script locally I do not get the error,
however what I do see is a thumbnail image with a black background.
This is the script
...Code:function thumb_image($img_file,$url)
-
How to write a query that allows multiple input from a select list
I have a select list that allows me to filter the results of a database search.
The user chooses from a dropdown menu then clicks submit.
The target page shows only the records containing what was chosen from the list.
What I would like is to allow the user to choose multiple items from the
list while holding down the ctrl key, then filter the search results based on what was chosen.
Can you tell me... -
Max58kl started a topic filter the results of a database search based on choices from multiple select listin PHPfilter the results of a database search based on choices from multiple select list
I have a select list that allows me to filter the results of a database search.
The user chooses from a dropdown menu then clicks submit.
The target page shows only the records containing what was chosen from the list.
What I would like is to allow the user to choose multiple items from the
list while holding down the ctrl key, then filter the search results based on what was chosen.
I tried simply adding multiple... -
Thanks for the suggestions guys.
I finally sorted it out by rolling back WMP 10 to WMP 9, IE6 now plays all video clips with WMP 9.
Thanks again!
MaxLeave a comment:
-
How to make sure that web browser uses WMP 10 to play video clips
I have a Dell Optiplex 610 laptop running Windows XP, Windows Media Player 10 and IE6.
I have a cd containing a number of pages linked together with hyperlinks.
The pages have video clips embedded in them, when I click on the links to the video clips the wrong media player is launched.
Is there any way to force or (make sure) that IE6 uses Windows Media Player 10 to play the video clips.
Regards Max -
-
Hi
I recently received the following information, which thankfully resolved the issue.
I placed -on the first frame of the first scene in both of the loaded swfsCode:this._lockroot = true;
and the timelines successfully play in reverse when loaded into the main movie.
Regards Max...Leave a comment:
-
Hi
Thanks for the links.
I now have a better understanding of cross browser CSS form layout!
Regards MaxLeave a comment:
-
How do I layout a form that will look the same in all major browsers
Hi
I have a form with -
13 text input fields
1 text area
2 radio buttons
4 buttons
1 check box
1 submit button
1 reset button,
each field is enclosed in div tags and each field has label text enclosed in span tags, for which I have created ids
and classes (I don't have a great deal of experience with CSS).
I made the form (web page)... -
Hi
Once again thanks for the advice!
Hopefully HTML/ CSS can offer suggestions.
I will now do all initial testing in Firefox.
Thanks MaxLeave a comment:
-
Hi
Sorry about the code tags!
The enquiries page is a form with -
13 text input fields
1 text area
2 radio buttons
4 buttons
1 check box
1 submit button
1 reset button,
each field is enclosed in div tags and each field has label text enclosed in span tags,
which is all probably too much to post on the forum, especially as I have created...Leave a comment:
-
Hi
acoder - Thanks for the advice!
mrhoo -
I have a page called Contact that has a link to the enquiries page.
I have created three enquires pages, one for IE one for Firefox and one for others.
The plan is to link the Contact page to enquiries.html which contains the following code -
[CODE=javascript]if(navigator.us erAgent.indexOf ("Internet Explorer") != -1)...Leave a comment:
No activity results to display
Show More
Leave a comment: