|
|
 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Flash (all versions) section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |
|

May 17th, 2004, 05:10 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Q. How do I make a movie that gets a value from a web page and displays it in a textfield?
A. The easiest way I have found to do this is below:
1) Create a dynamic text field. In the Property Inspector, assign a variable name to the field, i.e. title.
2) Save, Publish, etc.
3) Refer to the movie by typing the path (i.e. ../banner.swf) and adding a '?' to the end. After the '?' type the name of your variable and then an equals sign ('=') and then the value you want to display.
So if you called your variable title your path would be something like this:
../flashmovies/banner.swf?title=Welcome
The value of the textfield would then be 'Welcome'.
IMPORTANT NOTE: this technique applies primarily to Flash MX 2004. This technique or similar techniques may work for other versions.
Snib
<><
|

July 11th, 2004, 11:21 PM
|
|
Friend of Wrox
|
|
Join Date: Sep 2003
Location: Madison, Wisconsin, USA.
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Q: I have a Flash movie where certain sections are updated frequently but I don't want to have to always modify the Flash movie directly and re-publish it all the time. Is there an easier way to update certain sections of a Flash movie?
A: Yes. You'll need to have a text box in your Flash movie as well as a text file that contains the information you want in your movie. The link below explains it in more detail.
http://www.flashkit.com/board/showth...hreadid=568415
Ben Horne
Madison Area Technical College - Truax
3550 Anderson Street
Madison, Wisconsin 53704-2599
-------------------------
http://community.webshots.com/user/valerian114
"There are two kinds of people in the world: Those who claim to be Flash junkies and those who actually are Flash junkies"
|

August 26th, 2004, 08:47 PM
|
|
Friend of Wrox
|
|
Join Date: Sep 2003
Location: Madison, Wisconsin, USA.
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Q: How can I insert a Flash movie from within Dreamweaver?
A: First off, you should have the web page you want your Flash movie to be in open. From there, you can go to Insert, Media and click on Flash. Make sure that you only select a Flash movie. Other files won't be accepted.
Ben Horne
Madison Area Technical College - Truax
3550 Anderson Street
Madison, Wisconsin 53704-2599
-------------------------
http://www.acidplanet.com/artist.asp?AID=290705
"There are two kinds of people in the world: Those who claim to be Flash junkies and those who actually are Flash junkies"
|

August 31st, 2004, 07:17 PM
|
|
Friend of Wrox
|
|
Join Date: Sep 2003
Location: Madison, Wisconsin, USA.
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Q: How can I force a link to open in a new window when a button is clicked?
[A:][/b] First off, make sure that you have the button that you want to work with is selected. From there, make sure the the Behaviors Panel is open. Click on the little plus sign to show the list of available events. The one you want is labeled Web. In the sub-menu that appears, select Go to web page. When a dialog box pops up, enter the URL you want to open when the button is clicked and select "_blank" in the Open in field.
When you are all set, your ActionScript code should look like this
on (release) {
getURL("http://www.someurl.com","_blank");(replace "someurl.com" with a real web address)
}
Explanation of the code: The "_blank" instruction tells Flash to open a web page in a new window when a button is clicked. This is extremely useful since a lot of the time, you don't want the user to go away from the current web page they are on when they open another page.
Ben Horne
Madison Area Technical College - Truax
3550 Anderson Street
Madison, Wisconsin 53704-2599
-------------------------
http://www.acidplanet.com/artist.asp?AID=290705
"There are two kinds of people in the world: Those who claim to be Flash junkies and those who actually are Flash junkies"
|

September 29th, 2004, 02:15 PM
|
|
Friend of Wrox
|
|
Join Date: Sep 2003
Location: Madison, Wisconsin, USA.
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Q: I would like some functionality in my Flash interface that allows users to download FLA files. How do I go about doing this?
A: In the Actions Panel (make sure you have the button selected that you want to download the FLA), type in the AS code below
Code:
ActionScript
on (release) {
getURL("somefile.fla")
Replace "somefile.fla" with the name of your FLA file. You need to be absolutely sure that you include your interface file on the same server as your FLA files or the FLA download functionality won't work. You can use this same technique for other files that the browser can't open.
Ben Horne
LDS Test And Measurement, Inc
-------------------------
http://www.geocities.com/valerian5200/index.html
"There are two kinds of people in the world: Those who claim to be Flash junkies and those who actually are Flash junkies"
|

May 3rd, 2006, 06:45 AM
|
|
Authorized User
|
|
Join Date: Apr 2006
Location: bikaner, raj, India.
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
i have developed a page for user authentication , if userid and password is correct it goes to admin.html(using getURL("admin.html","_self") )
but i want to hide this link so that no one can go to this page with out authentication by just typing the link (such as http://www.xxx.com/admin.html)
chayan vinayak goswami
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| excel FAQ |
vinod.vkumar |
Excel VBA |
8 |
November 23rd, 2005 07:11 AM |
| Flash FAQ |
Ben Horne |
Flash (all versions) |
30 |
April 7th, 2004 10:35 PM |
| Topic FAQ |
richard.york |
P2P and Wrox.com Feedback |
5 |
March 29th, 2004 04:14 PM |
| Bad links in FAQ. |
nikolai |
P2P and Wrox.com Feedback |
1 |
September 22nd, 2003 03:38 PM |
| "FAQ forums" |
vknowles |
P2P and Wrox.com Feedback |
0 |
June 3rd, 2003 11:09 PM |
|
 |