ActionScript 2.0 :: Change The Xml Script Inside Flash, The Actual Xml File And Add An MC?

Mar 4, 2009

i am working on the xml carousel code from gotoandlearn.com, and i was wondering if there's a way to change the AS and xml to make one button load an external MC instead of the content txt.I am assuming i have to change the xml script inside flash, the actual xml file and add an MC.If anybody is familiar with that code please i need some help, this is the code:

import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;

[Code]...

View 6 Replies


Similar Posts:


Actionscript 3 :: Make The Actual Stage Dynamic To The Content Loaded In The Flash File?

Nov 9, 2011

I was wondering if there is a way to make the actual stage dynamic to the content loaded in the flash file.

Firstly the method I am using is importing a external swf to the stage into a container called container. The main stage, lets call it index, is still on default size, and I want this to expand dynamically as content is loaded in. page1 may be 900px width, page2 may be 500px width, and as I load the content the index stage should expand the width to that of the page loaded. Some steps I have tried but did not work.

if page1 button is pressed stage.stageHeight = 900; - not working (how do I set stage size in as3)made a movieclip in page 1 spanning the page size and called it p1_stage so I can reference the data from there. trace(container.p1_stage.height); gives this error: TypeError: Error #1010: A term is undefined and has no properties. at index_fla::MainTimeline/frame1()

View 3 Replies

ActionScript 2.0 :: When Access The Custom Properties Of The Class In The Actual Flash File Everything Works Fine?

Dec 6, 2009

So I have a movie clip associated with an external class in the linkage dialog. I put that movie clip on the stage. I have another external class that contains some code (not for the movie clip but for the stage). When I access the custom properties of the class in the actual flash file (not the external code) everything works fine.For example.myMovieClip.explodeTheCode = true;works in the main movie. However, it doesn't work in the external flash file when I have a reference to that movie clip.myRefToCustomMovieclip.explodeTheCode = true fails!It throws an error. In java, I'd just import the custom class the movie clip is linked to and then I can call all the extra custom methods on the movie clip in the external class I want. However, this does nothing. I still can't access any properties.So my question is, how do I access the custom features of a movie clip (that is linked to a custom class) from an external code file. It works in the movie, but not in the external source code.

View 0 Replies

ActionScript 2.0 :: Way To Send Variables To Php File And Process Them Inside Flash File

Feb 14, 2005

Im pretty new with the flash -> php -> mysql thing .. And I have made a script that sends some variables (that a user inserts in some input forms) with some var names, and then php handles it and insert it into my MySQL database its kinda ugly that a page pops up and opens the php page.So I was wonderin' if there is some way to send the variables to the php file and process them inside the flash file. without openin' some fancy browser window ?

View 3 Replies

Professional :: Put A Video Player Swf File Inside A Flash File?

Aug 17, 2010

i want to know how i can put a flash file inside a flash wbsite. i have found a tutorial [URL] that says something like that but in this tutorial if i understand correctly it creates a new flash project and add another swf inside. i have my website created and i just want to add video gallery, image gallery etc that are already swf. how i can do that?

View 1 Replies

ActionScript 3.0 :: Put A Video Player Swf File Inside A Flash File?

Aug 17, 2010

i want to know how i can put a flash file inside a flash wbsite. i have found a tutorial (search on google for 4906532_within-another-flash-swf-file.htm since i cant add links) that says something like that but in this tutorial if i understand correctly it creates a new flash project and add another swf inside. i have my website created and i just want to add video gallery, image gallery etc that are already swf.

View 2 Replies

ActionScript 3 :: Flash - Can't Change The Content Of A Dynamic Text Inside Of A Button

Oct 11, 2010

I'm starting with AS3, i have a problem. I have a button, and inside the button i have a dynamic text field. The button is inside of a movieclip, the instance name of it is News, the instance name of the button is collegamento and the instance name of the dynamic text is Testo. So knowing this I'm triyng to change the content of the text using:

News.collegamento.Testo.htmlText="text here";

But Flash is giving me this error:

ReferenceError: Error #1069: Property
Testo not found on
flash.display.SimpleButton and there
is no default value. at

[code]....

View 1 Replies

Flash - Change MovieClip Width Along With Dynamic TextField Size Inside

Apr 21, 2009

I am a newbie in Flash CS3. How to resize the width of of a movie clip according to the size the size of dynamic text inside it. I did it by creating a text field 'myText' and then converted it to a MovieClip symbol and named the MovieClip as myClip. The text in myText is assigned at run-time and its width changes according to the text.

I did it as follows:-
myClip.myText.selectable = false;
myClip.mouseChildren = false;
myClip.useHandCursor = true;
myClip.buttonMode = true;
myClip.myText.width = myClip.myText.textWidth + 5;

On doing this I find the clickable area changes according to the size of the text field but the text field doesn't appear at all.

View 1 Replies

ActionScript 3.0 :: Flash Can't Change TextField's Text Inside An Extended SimpleButton Class

Oct 18, 2011

I've created a Button in Adobe Flash CS5, it's a Symbol, and its type has been set to Button.

The button has a dynamic textfield with the instance name label.

I've set the class of this Button to MenuButton, and I've set the class to Export for ActionScript.

This is the code of the MenuButton class:

Code:
package
{
import flash.display.SimpleButton;
import flash.text.TextField;

[Code]....

Whenever I put a string in MenuButton's constructor, label's text doesn't change.

View 4 Replies

Change The Settings So That The Flash File Looks For As. Files In A Certain File?

Aug 28, 2010

how do I change the settings so that the flash file looks for as. files in a certain file.

View 1 Replies

ActionScript 2.0 :: Add A Textfield To The Flash File And Change The Php File?

Oct 16, 2006

I did the flash form tutorial here on [URL]

Everyting works fine but if I add a textfield to the flash file and change the php file it still sends the original textfield but not the one I have created. I am using flash 8 and macromedia mx. I just copied the message textfield in flash and dublicted it. Than I gave the dublicated textfield a different instance name (second). After that I published the movie and adjusted the php file. I guess that the mistake is here. Would be cool if you could check the below listed php script and tell me what I am doing wrong. Honestly it's driving me nuts as it looks so simple but it just wont work. I marked the lines I added with red.

<?php
/************************************************** *
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see

[Code].....

View 6 Replies

ActionScript 3.0 :: Load XML To Always Load Actual File Instead Of Looking For Cached Versions?

Mar 24, 2009

I have a little app that can read and write content that is stored in XML files. As those files get updated and re-loaded quite often I have made the experience that the browser tends to use the old/cached XML-data. Can I somehow flag the URLLoader that I use to load the XML to always load the actual file instead of looking for cached versions?

View 4 Replies

Actionscript 3 :: What Are The Actual Limits Of A Bitmap In Flash

Nov 18, 2010

As I can read it from this article the maximum square bitmap Flash can handle is 4,095 x 4,095 (which results in 16,769,025 pixels and bla-bla-bla). So, they say if I try to go to 4,096 x 4,096, I'll fail. But I have tried to load and display a bitmap image sized 4,096 x 4,096, and it worked well. Then, I even tried an image sized 5000 x 5000, and that was alright too. What do I not understand? What are the actual limits and how to calculate them?

View 2 Replies

Flash :: Converting Data (perhaps Hex) To Actual Numbers?

Mar 16, 2011

I get this out put (each row is a different element) and I don't know how to convert it in to a readable value.

it should be number with 9-10 digits. from what I have seen in other sites regarding this specific data (this is the value of the tempo in a midi file) - it looks something like this: "tempo is 06 96 27 (in hexa format)"

these values are ByteArray type. how do I convert them to the readable numbers (or perhaps they contain text)?

View 1 Replies

Flash :: Make The Actual Application/widget?

Jul 5, 2011

I have made an analog clock in adobe flash CS5 and want to make it a proper application. When i create an exe file it will run in flash player or firefox etc., which i dont want. Visual Basic 8 could not help me either.

So my question is: How do i make a real, self running and self installing application for this flash clock?

There are hundreds of clocks to download on the net, which run on there own and do not open in flash player. How is this done?

View 1 Replies

ActionScript 2.0 :: Controlling An Actual Robot With A Flash GUI

Apr 12, 2004

I was just wondering how the heck I can connect the two - xml socket? I'm not sure how to start googling this topic. I want to use my flash apps for more than just web functionality, I want control over the things outside my computer

View 1 Replies

ActionScript 3.0 :: Actual Flash Store Running In The Web

May 11, 2009

I want to build a flash webstore. I here just to ask if someone can tell me some actual flash store running in the web. I may use AS3+PHP+mySQL and some XML.

View 2 Replies

ActionScript 2.0 :: Controlling An Actual Robot With A Flash GUI?

Apr 12, 2004

I was just wondering how the heck I can connect the two - xml socket? I'm not sure how to start googling this topic.I want to use my flash apps for more than just web functionality, I want control over the things outside my computer!

View 1 Replies

Flash :: IDE - Communicating PHP / JS - Remove All The Actual Attribute Options

May 26, 2009

I'm working with cart software called PinnacleCart. It's a pretty good system, I use it mainly because of the flexibility in the attributes fields, and our products require alot of customization. The obvious solution here is to add in a Flash customizer, to make it easier for prospective clients to see the changes being made to the items. Inside of the cart software I can select images to upload. I thought about stripping out the validation so I can upload .swf files (edit the product page php to embed if it's a swf file) and go from there.

Now here is the tough part, for usability reasons I want to remove all the actual attribute options - So the logic is simple, if SWF = true then don't display attributes. So, from here I assume when the person clicks 'add to cart' I need to run some javascript to grab the attributes from flash, assign them to the javascript attributes, then proceed as normal.

[Code]...

View 1 Replies

Flash :: How To Play Flv File Inside Ext.Window

Aug 9, 2010

How do I play a .flv file inside Ext.Window?

View 1 Replies

Actionscript 3 :: Show PDF Inside Flash File?

Nov 7, 2010

I'm working on an interactive CD for a summer camp. What are my options for showing a PDF file within a Flash projector? AIR or a .NET wrapper are not options because we can't rely on any frameworks that may not be installed on the end-users' machine.

(We've used FlashPaper in the past, but it looks bad and its not supported anymore. What's about fscommand?)

EDIT: Reading a link posted in Jordan's question, I saw the possibility of embedding a web browser in the flash projector. Is there a way to embed a web browser or trigger a web browser (pointing to a particular local file) in a Flash Projector?

View 3 Replies

Flash :: Tool Or A Way To Open SWF File To See What's Inside?

Mar 9, 2011

I'm doing some experimenting to try and get the file size smaller and I need to open my swf to make sure some components didn't embed them selfs within the swf. Is there a tool, or a way to open swf to view the contents inside the swf? Such as winrar (which doesn't work) or something of that sort?

View 2 Replies

ActionScript 3.0 :: Get A Tv Signal Inside A Flash File?

Sep 19, 2009

I am trying to use a huappage tv capture card as a video source for a actionscript-controlled-video object inside flash, but all it does is crashes.My tv tuner is the only image aquisition device installed in the computer, and therefore the default.When a run a blank flash movie and right click, settings, to select the webcam option, it also crashes. Obviously this works fine with a web cam, but not any one of my three different tv tuners that I have tried.Is it possible, by any means (not just getcamera) to get a tv signal inside a flash file.The code I am using:

mycam:Camera = Camera.getCamera();
myvid:Video = new Video();
myvid.attachCamera(mycam);
// myvid is a 'action-script-controlled' video object on the stage.

View 0 Replies

ActionScript 2.0 :: Possible To Download A Zip File From Inside Of Flash?

Jul 13, 2006

i'm working in an application, one of the elements of the interface is a button that ideally when clicked would download a zip file, is this possible?

View 1 Replies

Css :: Center Flash Element Based On The Elements Actual Size 2?

Mar 2, 2010

how can I place a swf file in my webpage when the width of the file changes according to the user input. What I need is a sort of a dynamic css...

View 1 Replies

Flash :: Retrieve The Actual Shared Object Local Path?

May 12, 2011

i have prepared a login screee. using shared object i have saved username and password, now i want to know the sol path. Is there any way to actually retrieve the shared object local path.like C:Documents and Settings[userName]Application DataMacromediaFlash Player#SharedObjectsXXXXXlocalhost ext.sol

View 1 Replies

ActionScript 3.0 :: Flash Simple LocalToGlobal - Indicate Its Actual Location On The Stage?

Dec 4, 2010

Ive tried looking in a whole bunch of threads for a solution to this probably common issue but to no avail.I have a bunch of objects of same type on the stage which are generated through code.Inside these objects which are generally at x=300 on the stage.

Code:
this.x+=2.3;
trace(stage1.localToGlobal(new Point(this.x,this.y)), ", ", this.x , " ", this.y);

stage1 is the stage object I pass into my class.The trace output is as follows

(x=2.3, y=0) , 2.3 0

Now im expecting some values in there somewhere to indicate its actual location on the stage, ie, x=300.This isnt happening.Whats the correct syntax i should be using.

View 4 Replies

Javascript :: Put Silverlight Application Inside Flash File(swf - Browser Independet Which Run With Flash Player)

Sep 30, 2010

i have created a silverlight application , but i need to embed it to a Flash file(swf) which it runs with Flash Player ( whithout using browser), I had found a solutions to call it using javascript, but it still needs my flash file run inside the browser, dose any one can help me, Either to run js inside swf (without need of browser) or any other way that i can embed my Silverlight application inside Flash.

View 1 Replies

Flash :: AS3 - Access Class Public Var From Inside Fla File

Oct 24, 2011

I have searched for this everywhere but it seems like every answer is either overcomplicated or simply does not work, and I know for sure there should be a more simple way of achieving what I need. So, until today, I have always coded from within the timeline. But now I realise why I should code in separate class files. However, I still want to include snippets of code in the timeline for simplicity's sake.

[Code]....

View 2 Replies

Flash - Accessing A Button Inside A Loaded Swf File?

Dec 28, 2011

I am trying to access a button inside an external swf file that I loaded. Problem is every time I try to access this button I get an error saying that it's null!

Here is my code:

public class DocumentClass extends Sprite
{
public var loader:Loader;
public var swfFile:URLRequest;

[Code].....

Now this should work, code-wise I think its correct. The problem is that loader cant find the required button. There is indeed a button in the loaded movieClip with an instance name of "button", I double checked that.

[URL] basically i was just a layer too high and this is why i couldn't access anything..

View 1 Replies







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