IDE :: Guestbook Flash & Php Loaded Into Container?

Mar 24, 2009

I used guestbook form here:[URL] and when I load it into a container in the flash website the guestbook doesn't read the data from txt file. It works ok when it's alone.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Guestbook Doesn't Work If It Is Loaded Into Another Swf?

Aug 12, 2010

I made a wedding website for a friend of mine and it went well until I stumble accross this Guestbook problem.

The GuestBook.swf I made it as a separate file & whenever I run it in the server it works well but if I load it into my Main.swf it didn't work...

View 7 Replies

ActionScript 2.0 :: Guestbook Doesn't Work When Loaded Into Empty Movie Clip?

Jan 20, 2004

I have made a simple site with some simple transitions. each button on my site loads in an external swf file into an empty movie clip.

One of these swf files is a guestbook which works when i dont load it into the empty clip and test it alone on my server (sending in the guestbook swf, html, php, and empty text file)

Now then, when i load in the guestbook into the main swf, nothing happens on the server when I test it - I am lost and now come to you people for advice. It obviously has something to do with being loaded into an empty movie clip that is causing conflict.

View 14 Replies

ActionScript 2.0 :: Scaling Loaded Image Or Movie In Flash Container

Oct 11, 2010

I need to scale the loaded image or movie in a flash container without loss of quality, how to do it?

View 1 Replies

Professional :: Creation Of Guestbook In Flash?

Apr 29, 2010

I don't know whether its the right place to post this question, I am trying to create a guest book in Flash.

View 1 Replies

ActionScript 2.0 :: Add A Guestbook To My Flash Site?

Jul 19, 2002

I want to add a guestbook to my Flash site - an easy one that just allows people to add a message about what they think of my site, and allows others to read those messages.

View 1 Replies

ActionScript 2.0 :: Make A Guestbook For A Flash Site?

Nov 7, 2002

i made a flash site... i wanna make a guestbook for it... any ideas how i would go about doin that?

View 2 Replies

ActionScript 2.0 :: Swf Gets Shrunk When Loaded In Container?

Jan 22, 2010

scrolling TN that I purchased for $10. I want to create many different galleries (many swfs) using this XML gallery and then load them into a container inside a "master gallery swf" if that makes sense.The problem I am having is that the swfs are getting re-sized smaller when loaded in the container (maybe 70% of the original size) even though the container and swfs have the same dimensions.I've actually had this problem before where a swf displays smaller, even if it's just inserted into an HTML page. I'm wondering if there is a simple solution

View 0 Replies

ActionScript 3.0 :: Communication Between Loaded And Container SWF

Jul 18, 2011

I need to communicate from loaded swf to the container swf in AS 3.0. This is the code for document class of loaded swf followed by code for source swf document class. How I can call the method xyz() from the external swf?

ActionScript Code:
package com.scottgmorgan {
import flash.display.Sprite;
public class ExternalMovie extends Sprite {
public function ExternalMovie():void {
Code] .....

View 1 Replies

Professional :: Detect The End Of An External Swf Loaded Into A Container

Oct 14, 2010

I have a main swf that will load external swfs into a container. I need to detect the end of the loaded external swf in order to start to load and play a new one into the same container. The problem is that i do not know what the length of the external swfs will be, and will have no control over the development of them, so i cannot place a variable at the end of their animation which would allow me to detect from the main movie its end. I also cannot rely on the _totalFrames property because the loaded swf might not have all the animation inside its main timeline.

View 5 Replies

ActionScript 3.0 :: Check If A Swf Is Standalone Or Loaded By A Container Swf?

Sep 16, 2009

I need a fairly foolproof way to check from a child swf whether it is loaded into a container swf through a loader object or if it is just loaded through html. I would like to do this without requiring a flashvar or any kind of function call from the parent swf that may be there. Any quick and simple solutions? I looked for something with loaderinfo but came up empty.

View 4 Replies

ActionScript 3.0 :: Container Scales Loaded Swf File?

Jul 5, 2010

I have a container on the stage in which a swf is to be loaded when you click a button. This works fine when the content of the .swf being loaded into the container does not have content floating outside of its stage, this is a problem for me because the .swf being loaded in has content that exceeds the width of its stage, but is masked. The masked content on that page will be made visible when the user mouses over the masks. So its essential that the .swf being loaded in exceed the dimensions of its stage.

Initially, when I click a button that is a child to the menu_mc, the swf loads into the container correctly, but when I MOUSE_OUT of the menu_mc the content within the swf scales to reflect any content that exceeds the width of its stage. I'm not sure if this is the result of the way I am the loaded swf. The swf is designed to scale up and down when the user MOUSE_OUT or MOUSE_OVER of the menu. The menu is designed to be hidden when not in use.Here's my code:

ActionScript Code:
import caurina.transitions.*;
import caurina.transitions.properties.DisplayShortcuts;[code].....

Additionally, I ran into a problem when I moused over the buttons that are children to the menu_mc. Whenever I rolled over them the content in the menu would hide itself off stage. So I came up with a solution that may not have been the appropriate course of action, but worked. In the MOUSE_OVER function of the buttons, I provided y coordinates for the other movie clips to prevent them from moving off stage. For the sake of better coding practices, would there have been a much more appropriate coarse of action.

View 0 Replies

ActionScript 3.0 :: Target A MC Being Loaded Into Empty Container?

Oct 1, 2010

I'm trying to somehow target a MC being loaded into an empty container MC. I've tried everything I could think of.

Basically, I'm making a movie editor. Right now clips are added to the stage on initial load, then when they are clicked on they are added to the "reel" and they can be previewed in the order that they are added. Now, I'm trying to get it so that when they are on the "reel" they can be click and dragged and rearranged.

Here's how the clips are added to the stage in a function called loadClips():

ActionScript Code:
addChild(clip1);
clip1.name = "1";

Here's how they are being added to the "reel" in addClips():

ActionScript Code:
if (currentTarget.name == "1")
{
clipCopy = new Clip1();

[Code]....

Now, I just want the clips that are on the reel to be click and drag-able (along the X axis but I'll worry about that later). I realize now they're all being added as clipCopy. That's going to be an issue huh? Is there a way that I can target the container and make that mobile?

View 2 Replies

Loaded Child Movie Controlling Container Parent

May 14, 2009

i'm a designer trying to step up my flash skills and have a scripting problem that's causing me trouble. essentially i have a child swf loaded into a container in a parent swf and want the child to be able to instruct the parent. to explain in full, the child contains an flv with bespoke video player components. it's container sits in one frame of the parent. when the flv finishes playing, i need the parent swf to move onto another frame.
as it's a controllable flv, it isnt possible to predict the exact length of time the child will need to be present, so it literally needs to tell the parent it's finished playing at that very point.

[Code]...

View 9 Replies

Actionscript 3.0 :: Bitmaps Loaded Into A MovieClip Container Are Blurry?

Sep 2, 2009

Running into an issue where the if I add a Bitmap image into a movieclip the bitmap will appear slightly Blurry.When I add the Bitmap directly to the scene it appears normal. Is their a property for a movieclip that would explain this behavior? or is their some other solution to keep bitmaps from becoming blurred?

View 2 Replies

ActionScript 2.0 :: Triggering A Sound Object Once The SWf Is Loaded Into A Container SWF

Jun 23, 2003

I have a created a sound object like so:

//Creating the Sound Object
sliderSound = new Sound();

[Code].....

It works great when viewed. the problem is that when I load this SWF file into an container SWF file (using loadMovie) the sound will not play.

View 1 Replies

ActionScript 2.0 :: Code Which Can Check To See If The Background Swf Is Already Loaded Into Its Container?

Jan 9, 2008

I am creating a site where there is a portfolio section with icons for each piece of artwork.Regardless of which icon 1-10 is clicked, for the first time ONLY, I want to load a swf which "draws in" a portfolio "background", and another swf on a higher level which corresponds to the icon clicked (lets say a sample artwork).

However, if the user has previously clicked another portfolio icon and is currently viewing one of the portfolio pages, there is no need to load the "background" swf again (it would be tedious watching the drawing in animation over again).

I've designated a target container movieclip for each.The icons swf file with the buttons is another swf on the timeline.Is there some code which can check to see if the background swf is already loaded into its container? And in which swf would I attach the code?

View 3 Replies

ActionScript 2.0 :: Targeted MovieClips Do Not Work Once Loaded Into Container

Oct 3, 2002

I have several external SWF (child) movies that are to be loaded upon demand into another SWF container (parent) movie file. Pretty straight forward. Each of the child movies has MCs communicating with other MCs within the same child movie. For instance the timeline of one MC will have a frame action, which targets another MC instance to play(). Again, Pretty straightforward stuff.

These files work beautifully when viewed independently. The problem is when they are loaded into the parent container movie the target MC functionality no longer works. I believe it's because once the child movie is loaded into the parent movie the absolute path of the targeted MC has changed and what was once the '_root' in the child movie is no longer the actual root?

I have tried both methods in the child movie:

//method without using 'with'
_root.ContentWindow.play();
And using the 'with action like so:
//method using 'with
with (_root.ContentWindow) {
play();
}

It would seem that in theory once the Child SWF file is loaded into the Parent SWF file the targeted path would have to have another level in it - cuz now the MC 'ContentWindow' is no longer one level down from the '_root' but two levels?
For example: _root.LoadedChildMovie.ContentWindow.play()

View 3 Replies

Actionscript 3 :: Movieclip Loaded In Container Reports Exaggerated .width Value?

Mar 9, 2010

I am trying to load a swf(as3) into another As3 Swf with the Movieclip loader. After loading however Loader.width/loader.content.width returns an exaggerated value than the actual width of the swf being loaded. Any pointers on where to begin looking for the discrepancy?

More Details (if it helps)

The swf being loaded has UI components like dropdowns, input boxes and combo boxes (its a Form to fill up), and a coded one-time tween. When the child MC loads into the parent movieclip, the Loader.width value returned is exaggerated by about 28 pixels (although the height remains the same). Loader.content.width also returns a 28 pixel exaggerated value. The Exaggerated value is more than even the stage width of the child MC. The extra ~30 px are upsetting subsequent code in the parent movie to scale and center the loaded swf.

update:

stage.stageWidth returns the correct Value.Code used in the parent MC, to load external SWF:

private var deadURL = "child.swf";
private var deadReq:URLRequest = new URLRequest(deadURL);
private var deadLoader:Loader = new Loader();[code].....

View 2 Replies

ActionScript 3.0 :: Place Two Or More Instances Of The Same Loaded From A Loader Bitmap In One Container??

Nov 29, 2009

Is it possible to place two or more instances of the same loaded from a loader Bitmap in one container?

View 1 Replies

ActionScript 2.0 :: Swf Called Main.swf Which Has A Container Movieclip That Gets External Swf's Loaded Into It

Jul 28, 2004

I have one swf called main.swf which has a container movieclip that gets external swf's loaded into it.

my external swf is called hosting and it calls an array of data that is loaded into a movieclip that is duplicate for each element from the database. The elements from the database are as follows:

Business
Economy
Power
Standard

Each one of these has a button over it that when press loads information from the database into a movieclip that contains a textbox. My button code is: _root.movieclip.loadVariables("url to database");

This works flawlessly when I run the hosting.swf by itself, but when it is loaded into the contianer in the main.swf the buttons dont work. I believe that it is the _root in the button call that is causing this but I dont know how to fix it. I think the _root variable changes when hosting is loaded into the main.swf.

View 1 Replies

ActionScript 3.0 :: Error #1065: Variable Undefinedpath To Container Mc In Loaded Swf Not Recognised

Jun 23, 2009

One movie, named Gallery_1, with hotpots via which external swfs are loaded into a container mc of the main timeline of the Gallery_1 movie, works perfectly by now. Via another button function the Gallery_1.swf is loaded into a container mc on the timeline of the main swf, which works alright as well, but when one then clicks the hotspots of the Gallery_1.swf one gets following error message:

[Code]...

View 1 Replies

CS3 :: Guestbook / Forms Without PHP?

Jul 13, 2009

I'm making a flash website for a non-profit organization. I made a guestbook with PHP and XML and my contact form with PHP, but the server I am using doesn't accept files with php, asp, js, html, or htm extensions. They are using godaddy's WebSite Tonight built-in website builder currently. They want to keep the original site for backup but cannot export the current website files because of the website builder application. Is there any way I get make a guestbook without php, asp, js, or html?

View 4 Replies

ActionScript 2.0 :: XML Guestbook With PHP?

Feb 21, 2006

i have download the zip source file in this tutorial "XML Guestbook with PHP" [URL]after i unzip and test the movie, an error occurs.

Code:
Error loading XML file
Error opening URL file:///D|/My%20eBooks/XML%20Guestbook%20with%20PHP/guestbook.xml?uniq=9442

what is this statements means to?

Code:
myIdentifier=Math.round(Math.random()*10000);
myXML.load("guestbook.xml?uniq" + myIdentifier);

View 1 Replies

ActionScript 3.0 :: Error #1065: Variable Undefined, Path To Container Mc In Loaded Swf Not Recognized

Jun 23, 2009

One movie, named Gallery_1, with hotpots via which external swfs are loaded into a container mc of the main timeline of the Gallery_1 movie,

Via another button function the Gallery_1.swf is loaded into a container mc on the timeline of the main swf, which works alright as well, but when one then clicks the hotspots of the Gallery_1.swf one gets following error message:

ReferenceError: Error #1065: Variable GallerySite not defined.
at HotSpot1/PictureLoad()
at HotSpot1/PictureCall()

[code]....

The traces in the eventHandler function work alright.I wildly imported all relevant classes I could think of, e.g. the GallerySite class to the WebSite class and vice versa, and tried various variable definitions, but am at a loss by now as to where to define the GallerySite variable.

View 3 Replies

ActionScript 2.0 :: Way To Build Guestbook

Feb 6, 2003

Does anyone know how to build a guestbook in flash. I guess it would require some knowledge of either ASP or PHP, of which I know nothing about.

View 2 Replies

ActionScript 2.0 :: Guestbook With XML And PHP Files?

Aug 31, 2005

I can't seem to get my guestbook to work. I used the AS found in the tutorial section for guestbook with XML.

I think it is a problem with the PHP file or the XML... how can I fix this? or test it?

View 1 Replies

ActionScript 2.0 :: XML Guestbook With PHP : Modifying For 2?

Aug 8, 2007

This is in reference to the Kirupa tutorial "XML Guestbook with PHP". I used this guestbook on my previous site, and it worked great. The site was originally published under Flash 6 AS1. I am redesigning my site to be published as Flash 7 with AS2. When I test the guestbook in Flash 7 AS2, it errors. What parts of the actionscript do I need to update so it works with AS2?

View 10 Replies

IDE :: Xml Guestbook - Cannot Send New Messages

Jan 18, 2009

i have uploaded everything. and yet i cannot send new messages. i tpye the message in and hit send and it disappears. also i keep hearing about some permission 777 thing what is that. how do i change it to it? example. [URL]

View 1 Replies

ActionScript 2.0 :: Guestbook Using PHP - Load It Into Another .swf?

Nov 8, 2003

I got a Flash Guestbook using PHP that works perfectly...The thing is that I need to load it into another .swf ; but when I do it, the Guestbook doesn't do anything.It seems to me that by loading it into another swf, the Guestbook can no longer send or receive data to and from the PHP script.

View 6 Replies







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