ActionScript 3.0 :: Create A Comments Page?

Nov 10, 2009

I want to create a comments page kind of like myspace i guess, but i want any use to be able to input a comment onto this page n i want it to export to an XML file where it can be edited...

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Create Photo Gallery And Load Pictures And Comments Via XML

Jul 30, 2007

[URL]. It's a tutorial that shows how to create a photo gallery and load the pictures and comments via XML. My problem is the following, the gallery and everything works well, but I when I try to load it into a container then everything messes up. Here's what I have: I have a main movie (the main .swf file) with a container in it, when clicking on one of the buttons from that movie the gallery.swf loads into the container (the gallery is the exact gallery from the tutorial) and it works well, until I press the button to load it again.

It seems that it messes up the value of "p". I tried tracking it, on the first load it tracks normally p=1, 2, 3, 4.... but on the second load it reacts as if it's double tracking it p=0 1, 2 2, 3 3, 2 4 ... It seems that Flash somehow keeps the old value of "p" in mind. I tried reseting it somehow or something but I can't seem to make it work (or maybe I have to rebuild the whole thing?).

It works perfectly if I load it only once but if I load the gallery.swf twice or more times then it goes crazy (or since I have more buttons on the stage, after pressing one and coming back to the gallery, it does the same, it's messed up). How can I "reset" the value of 0 on every load or something? I even tried playing around with unloadMovie but can't figure out how to use it.

View 5 Replies

ActionScript 2.0 :: Create A Button On Web Page For Zoom In And Out (the Whole Web Page)?

Feb 11, 2010

I know this cant be too difficult, but please entertain me I want to create a button on my web page for zoom in and out (the whole web page).

In IE you can achieve this by doing the following - "Press and hold the contol button and then press the - (minus) button (Ctrl -)." or click on the view option at the top of the browser>>zoom>>zoom out.

View 3 Replies

ActionScript 2.0 :: Create A Page Transition That Will Play A MovieCLip Transition Into A Page?

Apr 23, 2010

I am trying to create a page transition that will play a movieCLip transition into a page. and then it stops then when another button is pressed, it will play that transition out while loading the appropriate one. In the attached FLA, if you click on the red button first, the blue transition plays,

--red button code--
mybutton1.onRelease=function(){
_root.transitionClip.play();
}

and then stops on the stage. When you click the green button second,

--green button code --

mybutton2.onRelease=function(){
_root.transitionClip.play("out");
_root.transitionClip2.play();
}

it works correctly/ Playing out of the blue Transition and into the Red transition. However if I click it again it does the opposite, and just keep alternating.

If I add the

_root.transitionClip2.play("out");

to the first button then, nothing works right. I will eventually have more buttons, and may need to use a variable to control which "out" transitions is played, but how do I get the buttons to do this?I just want it to exit the current movie clip and play the "in" section of the desired clip.

View 16 Replies

Flash :: Use Comments In It?

Nov 16, 2009

Is it possible to use comments in Flash? I don't mean in actionscript using //, but somehow documenting how the app is setup.

View 1 Replies

C# :: Best Way To Style Comments

Aug 4, 2011

I love looking through other people's codes and see how they style their comments, most people use a mix of * and ////, and of course it all depends on the language, but I have definitely seen some good ways to comment and some bad ways. A coded page can really come together with the right commenting structure and make it really easy to read for someone coming into a project without any knowledge.

View 3 Replies

Does Cs5 Compiler Include Comments

Feb 16, 2011

You know them flash decompilers - can they read your comments you leave in your code?Also, is there anyway to remove the comments if they can -- and can you somehow remove all whitespace and compact it so the swf runs faster, better, and is a smaller file?

View 1 Replies

ActionScript 3.0 :: Adding Comments To XML

Jul 21, 2011

I'm creating a XML with AS3 and save it as file.The problem is, that i can't add this to the beginning of the XML:[code]The problem seems to be the Comments and the definition (<! and <? ).[code]

View 1 Replies

ActionScript 2.0 :: View Comments By Name?

Oct 23, 2006

I'm having a bit of a hard time putting what I want into words, which is probably why programming it has got me a bit stumped.Basically what I want is a nagavatable guestbook where the names of the people who left comments is shown in a list, and clicking on the various names would display their comment in a dynamic text box. This whole thing started as an extention of the XML Guestbook using PHP tutorial.My idea, and the way I've been trying to go at this, is to have the names show as text (not buttons or a movie clip, if I can avoid it) in a text area with a scroll bar to allow for as many entries as possable. Clicking on a name would load the data within the <comment> tag into a dynamic text fieldHere's more or less what my XML file looks like

Code:
<guestbook>
<entry>

[code]....

View 4 Replies

ActionScript 3.0 :: Finished Swf Keep Comments?

Jan 22, 2011

if someone decompiles my code, do they see my comments?

View 1 Replies

ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

ActionScript 3.0 :: Add Comments To Flash Site?

Aug 12, 2009

I built my first flash site and I wanted to add the ability for visitors to add comments to videos on my site, similar to this site.

View 5 Replies

ActionScript 3.0 :: Comments Increase .swf Size?

Jun 19, 2010

i have a question about code comments do they increase the size of the compiled .swf or are they completely ignored by the compliler the reason i ask is i have several lengthy functions written various ways and I have the functions i'm not currently using commented out......is it ok to leave these commented or should I make several class files ?

View 3 Replies

Flex :: Add XML To Asdoc Function Comments In It?

Mar 30, 2011

How do you add sample xml to asdoc function/class comments in Flex? They can obviously be added, but they wont show in the hover asdoc comments in Flash Builder 4. [code]...

View 1 Replies

Flex :: Add AsDoc Comments To A Component?

Aug 3, 2011

I have a canvas based component, so when I check the asdoc comments, they have inherited comments of Canvas. can we remove that inherited comments, and add our own AsDoc comments..

View 1 Replies

ActionScript 3.0 :: Code Hinting With Comments?

Jun 12, 2011

I that when you place a MovieClip (or any other object) on the stage, you can give it a name and reference it with code. The main problem is that it doesn't have code hinting. I used to be able to do this:// MovieClip myClip;And code hinting would work. But I'm now using Flash CS5/AS 3 and that doesn't seem to be working.

View 4 Replies

AS3 :: Professional - Auto-Format Not Recognizing Comments

Dec 12, 2011

Something is corrupt with my Flash Professional CS5 Actionscript Auto format: Comments within a block, such as ' // ' or block comments ' /* ... */ ' are tripping up the Auto Formattor, which returns this error: ' Error with autoformat near line: }'. Comments before package block don't cause an error. When I remove comments within package block, Auto format works correctly.

View 2 Replies

Flash :: Expand All Multi-line Comments In FDT 4?

Nov 25, 2010

expand all multi-line comments in FDT 4?

View 1 Replies

Flash :: IE Displays Its Conditional Comments Error

Dec 2, 2011

I can find absolutely nothing when I search for an answer. I have a conditional comment in my html to only display a flash file when the browser is IE. And it works great, except that the conditional comment is displaying in my browser! [URL] to see the error (it only shows in IE). Could it be because I haven't declared the page as an html4 page? The only way I can get the comments to go away is if I use this syntax: <!--<![if lt IE10]><!-->my code<!--<![endif]--> . When I do this, of course my flash file shows underneath my alternate content on other browsers.

View 1 Replies

Actionscript 3.0 :: Add Random Db Quotes / Comments To Videos?

May 21, 2010

Ok, I have used the tutorials to create a video player and I've seen the methods for adding captioning. But, I cannot find any mention of some sort of dynamic "quote" or "comment" display within video playback. Basically, I have a few quotes stored in a database that I want to show while my movie is playing.

View 9 Replies

ActionScript 2.0 :: Comments On Moock'sDefinitive Guide

Mar 15, 2004

I know there are a ton of AS masters around, and am wondering if you ever used this book, did it help?I can't wait until I get it... my AS up until now has been half assed and improper.

View 8 Replies

ActionScript 3.0 :: Ignore Comments In Html Text?

Sep 25, 2009

I have an html file that includes some comments <!-- --> and when I load it into a textField in a Flash movie, there is an empty line where the comment is. How to eliminate the empty line, if I want to keep the comment in the HTML file?

View 2 Replies

Professional :: Fading Between Multiple Customer Comments - Scalability

Feb 16, 2010

I am completely new to Flash and have been learning about alpha tweening to fade one .jpg image (of a customer's happy comment) to another. This works fine if I only have a small number of comments, but modifying each and every stage of the transitions would be a huge task if I have more than a handful of comments to deal with. Is there some way to set the transition and then apply that transition to all images? That way, I would only have to amend the transition once and it would make no difference whether I had 2 or 200 images to fade in and out of.

View 2 Replies

ActionScript 3.0 :: Made The Documents From Comments Written In The Classes Themselves?

Dec 10, 2009

I've seen a lot of people with great documentation that looks just like the Adobe site. I got the impression from an article that there was an app (java?) that made the documents from comments written in the classes themselves?

View 9 Replies

ActionScript 2.0 :: [F8] Flash Based Rating And Comments System?

Apr 24, 2007

I'd like to create a rating and comments system to the video site I'm working on. Basically the user will rate the video (stars or thumbs up) from 1-5, have the new rating process and improve or lower the video rating automatically. For the comments the user will be able to write and send the comment and then either have it posted automatically with the option for the site moderator to erase any offensive comment or have it sent to a database for approval first and then post it by the site moderator. I assume I need a php form and action script code?

View 3 Replies

Actionscript :: Flex - Cannot Get The Comments To Show In File When Running Asdoc

Jul 28, 2009

cannot get the comments to show in actionscript file when running asdoc.. is this a known bug?

[Bindable]
/** test comment */
public var currentSearchTextValue:String;

does not show anything in the generated documentation.

View 3 Replies

Flex :: Use A Custom Text Component To Show A Series Of Comments?

Apr 1, 2010

I'm trying to use a custom Text component to show a series of comments. I got the original idea from:

[URL]

I've got the base case working but I am stuck with 2 problems I cant seem to figure out:

Since I am drawing around the text, the actual height of each bubble is greater than that of the Text field, as a result, the last bubble is always chopped off. I have tried explicitly overriding the height getter, and adding some padding, but I cant seem to get it right. You can see an example here: [URL] In my layout, I have 2 VBoxes (one nested inside the other). The first vbox shows a form where the user can enter a comment, and the second box has all the comments. In order to ensure that the scrollbars only show up on the second box, I set minHeight="0" on the nested VBox, but then for some reason, some comments' text is shifted to the right. You can see an example here (look at the first comment): [URL]

Rather than posting the code here, I've provided some links:

[URL]

View 1 Replies

Flex :: Programmatically Get Documentation Comments From A Class , Method / Property?

Dec 11, 2010

I know that I can get info about constants, methods, etc of a class by using flash.utils.describeType. But I want to know if I can retrieve the asdoc comments of a class member.

I suspect, documentation is removed when classes are compiled into SWF so it might be impossible to get comments during run-time.

View 2 Replies

ActionScript 2.0 :: Variable Types - Display Comments On Individual Moves

Mar 25, 2005

Im working on a chess game replay system in flash, and in order to display comments on individual moves I am loading them from an external text file. Since one of the navigation buttons allows the game to skip to the last move I want to also recieve the number of the last move through this text file. After using loadvars all the comments are loaded correctly as strings but the variable for lastmove is not being recieved as a number. My ultimate question is whether there is a way to convert the text number into a real number which can be manipulated. If not, is there a simple way to load this data element individually as a number.

View 2 Replies

IDE :: Create An Age Verification Page?

Sep 6, 2008

create an age verification page but I don't really have the AS knowledge to finish it up.

Problems:

I don't know how to link the text to the appropriate website when they are verified. EX: "You may enter" linking to the site. "You are not of age" linking to disney.com or something.

Also, when there are no digits entered, it verifies the user of age.

Age Verification page

Actionscript below.
package
{
import flash.display.MovieClip;
import flash.events.Event;

[Code]....

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved