ActionScript 2.0 :: Frameset - Flash Segments: How To Send Values

Dec 20, 2005

I am in the planning stage of an application. In fact, the application already exists but I am thinking about how to improve it. It's a sports event commentary viewer- it allows the user to view live commentary on soccer games, written by news scouters during the process of the game. Right now, it's all one big file, reading 7 different XML files on the fly, evaluating and processing them and displaying the data on screen.

It works well enough like this but now the whole thing is supposed to be expanded with live news feeds and a videoclip gallery, etc... and even though it would be possible to just keep expanding the file, I thought it would be cool to instead make several segments and put them in an HTML frameset. Now the question is: Is it even possible to pass values from one flash file that is running in one frame- to another one, running in another frame? Of course I will know the framename- so could use getURL with the framename as a target... but that would fully reload that frame and "cold-restart" the swf in that frame- I don't want that.

[Code]...

View 10 Replies


Similar Posts:


Send Values From Flash To A Database?

Jul 14, 2009

I have been given task and dont know where to start. I need to produce a small quiz that sends the selected values to an asp.net application form there populates the database with the values chosen.
 
Ive been told this is the best way to send values from flash to a database.

View 7 Replies

ActionScript 2.0 :: Send Two Values From Flash To .NET?

Jun 14, 2006

My .NET developers are telling me to try to send two values from flash to .NET 3 times...so from .NET it will be send to the db.

is there really a need to send it 3 times?... can I just send it once?

they want this to be done 3 times so they are sure that its being sent.

here is my code to send the values.

Code:
on (press) {
myData = new LoadVars();
myData.position = "5";

[Code].....

View 6 Replies

ActionScript 2.0 :: Send Flash Values To Php?

Mar 28, 2007

my code is:

var lvReceive = new LoadVars();
var mcLoaderThree:MovieClipLoader = new MovieClipLoader();
mcLoaderThree.addListener(this);
for (var i = 1; i<=9; i++) {

[code]....

View 6 Replies

IE Not Recognizing Post Data Using LoadVars From Flash Inside A Frameset?

Sep 16, 2010

This code is being run from a frameset in IE8. When the new window is opened, the form data is not being recognized. It appears that the http header, "content-type: application/x-www-form-urlencoded", is not being passed into IE and this is causing the post data not to be processed. The data is there, IE is just doing nothing with it.

This code works fine in FF and Chrome, and in fact the correct headers are passed in FF and Chrome.

NOTE: The new page is on a different site, but i don't know why that would cause a problem with a POST and not a GET.

Flash code:

varSender = new LoadVars();
varSender.title = _parent.tCourseTitle;
varSender.notes = input_txt.text;
varSender.send("http://example.com/notes/print.cfm", "_blank", "POST");

I have tried adding the header to the send request, but that has no effect at all. The contenttype header is still missing and it still works everywhere but IE.

My current work around is to use a GET instead of a post, but that's ugly and it limits us in the size of data we can pass but for now at least it works.

View 1 Replies

Flash 9 :: Loading A SWF In Segments?

Oct 9, 2008

I have a site that is image heavy and right now I have it so everything loads at once with a preloader and once it is all loaded the the site starts. I know I can load images through XML but i never liked doing that since the images seem to load at different rates.

Is it possible to only have certain parts load? Say I want only the homepage content to load when a user hits the site. But if they go to another area then another preloader would show up and that would load.The one thought I had was to have different swfs for different segments, but I wonder how that would mess up the flow of the site.

View 0 Replies

ActionScript 2.0 :: Flash Mx Loading Large Mp3 In Segments?

Oct 23, 2009

I have an Mp3 which is approx 100mb on my server how can i load only small segments at a time so that when people listen to the mp3 it not downloading the full 100mb mp3 file all the time

i am using streaming mode, here some of my code i am using the loadsound command

[Code]...

View 0 Replies

ActionScript 3.0 :: Load And Send XML Values?

Apr 7, 2009

I am new to ActionScript 3 and have a project I would like to get some help on. I have an XML file on a server that has two types of parent nodes.

[Code]...

View 3 Replies

ActionScript 1/2 :: Send Values To Server?

May 10, 2010

I have a client in flash sending values to server. At first time i am sending the value 150.  The server responds to returns some data.  On receiving that data the client should again send some value to server.  Where should i have to write mySocket.send to do it.  i tried doing it inside the function[code]...

View 3 Replies

ActionScript :: Send These Values To The DB And Update It?

May 25, 2010

I have values inside an XMLList in Actionscript. Need to send these values to the DB and update it.My actionscript code is as follows:

public static function saveUserPermList():void {
var ht:HTTPService = new HTTPService();
ht.url = Config.getServerURL();[code]..

View 1 Replies

ActionScript 2.0 :: SEND Using Post With Added Values?

Mar 5, 2009

What I need to do is have a button download a installer using Post with added values to download.What I have to mix is this:Peices needed frokm HTML form:

PHP Code:
<form action="http://website.com/dl.asp" method="POST">
<input type="hidden" name="name" value="CJE">

[code].....

View 3 Replies

Professional :: Get Values From And Send To Servlets Or Through Javascript?

Jun 21, 2010

I wanted to know how to connect my flash embedded in html to servlets or through javascript and get values from and send to servlets or through javascript. I expect some references or books as i am an amateur and may be i cant follow what u all say in brief.

View 1 Replies

IDE :: How To Get And Send Values In AICC - HACP Method

Dec 11, 2007

I am new to AICC. Is anybody know how to get and send values in AICC - HACP method ?

View 3 Replies

ActionScript 2.0 :: Send Variable Values Inside A Movieclip?

Feb 17, 2009

how to send variable values inside a movieclip, to the main scope (main timeline)?

View 4 Replies

ActionScript 2.0 :: Flash Movie In One Frameset Affecting A Movie In Another?

May 3, 2005

im using a page with two frames. the top frame is the navigation and will always stay the same. the bottom frame has a big flash movie. when you roll over the buttons on the flash movie in the bottom frame, i want stuff to happen to the movie in the top frame.

View 1 Replies

ActionScript 2.0 :: Flash - Movie In One Frameset Affecting A Movie In Another?

May 3, 2005

im using a page with two frames. the top frame is the navigation and will always stay the same. the bottom frame has a big flash movie. when you roll over the buttons on the flash movie in the bottom frame, i want stuff to happen to the movie in the top frame. is this possible?

View 1 Replies

ActionScript 2.0 :: Change 2 Frames In Frameset At The Same Time?

Apr 7, 2009

I know it's possible in flash to change one frame of an html frameset with the click of a (flash)button, for example:

Code:
on (release) {
getURL("page.htm", "framename");

[code].....

View 4 Replies

Professional :: Frameset Get URL Action Script Works But Not In All DW Framesets

Feb 13, 2010

The Frameset get URL Action Script below works fine in fixed Top, fixed Bottom and fixed Bottom fixed Top button bars but not with fixed Left or fixed Right, Framesets what is the problem and correction? Here's the code: on(release){ getURL("mainFrame1.html", "mainFrame");}

View 1 Replies

ActionScript 3.0 :: NavigateToURL Code Btns For Dreamweaver Frameset?

Feb 18, 2010

coypaste an AS3 bnt code to use in-conjunction with a Dreamweaver frameset.

View 10 Replies

ActionScript 2.0 :: One Layer Can Move Quicker Then The Movie Frameset ?

Feb 28, 2003

i just want to know if one layer can move quicker then the movie frameset

exmple { movie frameset is 12 i just want one layer to go at 20 }

View 3 Replies

ActionScript 2.0 :: Swf Link To Open The Bottom Frame On A Frameset Website?

Oct 5, 2009

I have a web page with 2 sets of frames.one is called top(top.html) the other one bottom(bottom.html).on the top frame i have an SWF movie which includes a button/link that when clicked goes to a page1.html.how do i make that link open in the bottom frame so that i have top.html on top and page1.html in the bottom

View 1 Replies

ActionScript 2.0 :: Using SWF To Launch Page In Specific Frame Within HTML Frameset?

Dec 11, 2007

I have an HTML frameset with a leftFrame and mainFrame. My navigation has been built in Flash and the SWF is embedded in the leftFrame. The pages that the nav link to need to load in the mainFrame.I have gone through your tutorial "Flash & HTML Frames" but unfortunately it doesn't work - it opens a new window.

View 2 Replies

ActionScript 2.0 :: Send List Of Variables From Php To Flash And Send Back Random Selection To Php?

Nov 16, 2010

I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button.

I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.

View 2 Replies

ActionScript 2.0 :: Send List Of Variables From Php To Flash And Send Back A Random Selection To Php?

Nov 16, 2010

I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button. I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.

View 6 Replies

ActionScript 2.0 :: Trace Segments In It?

Jan 24, 2009

What is the equivalent of the following program in AS 2.0?

In other words, how can I trace segments = a line between 2 points defined with their coordinates (x1,y1) and (x2,y2) ?[code]...

View 2 Replies

Actionscript 3 :: Socket.readInt() And C# Socket.Send() Different Values Of Int-variable?

Nov 19, 2011

When I send number (int)52 s.Send(BitConverter.GetBytes((int)872415232));, flash show me trace(socket.readInt()); 872415232 If i send 872415232, flash show 52.Why? And how it fix?

View 1 Replies

Regex :: Replacing Segments Of A String?

Jun 6, 2011

I have absolutely no knowledge in Regex whatsoever. Basically what I'm trying to do is have an error class that I can use to call errors (obviously) which looks like this:

package avian.framework.errors
{
public class AvError extends Object
{

[Code].....

The idea is to replace {0} with the first parameter parsed in ...params, {1} with the second, etc.

I've done a bit of research and I think I've worked out that I need to search using this pattern:

var pattern:RegExp = /{d}/;

View 3 Replies

ActionScript 3.0 :: Playing X Segments Of A Mc In Succession?

Sep 25, 2011

I have a movieclip that shows the waterlevel rising in a glass. Frame 0 is named "empty", frame 20 is named "1/3", frame 40 is named "2/3" and frame 60 (the last frame) is named "full". Each of these keyframes contains the actionscript stop();

I have a variable in my main timeline, that contains a number ranging from 1-4. Depending on that number I want the glass to fill. e.g. var howFull:uint = 3 ---> the movieclip should playback from frame 0 to frame 20 AND THEN to frame 40. I've tried using nested if statements to make the mc segments play in the right order:

[Code]...

View 3 Replies

ActionScript 2.0 :: Preloader That Loads MC In Segments?

Oct 17, 2005

I have a MC named "preloader". Inside this MC got 10 frames and each of it represents a pencil. Frame 1 had 1 pencil, frame 2 had 2 pencils... and so on until frame 10(10 pencils ofcoz)After that I adding 3 frames on my root. Frame 1 is Actionscript as follow:

Code:
totalBytes = Math.round(getBytesTotal()/1024);
loadedBytes = Math.round(getBytesLoaded()/1024);

[code]......

View 4 Replies

ActionScript 1/2 :: Intersection Of Line Segments Vs. HitTest?

Nov 2, 2009

I'm trying to improve upon the hitTest() function.I have a game in development that involves square robots, rectangular wall shapes, and line segment shots rotating and moving around. Without the rotation, hitTest works fine, but with rotation, problems arise.Walls at rotation 0,and square robots work fine. There is a small amount of funkyness with a rotated robot by a wall corner, but it's not very noticable.The big issue is collision of two rotated square robots.
 
I can create a function to get the line segments that make up each robot, and the check to see if any intersect. This will mean finding the location of eight points (using height and width and some trig to deal with rotation), finding the slope of eight lines, and then testing lines for intersection up to 16 times. This would be needed to find the intersection of each pair of robots. Those are worst case numbers, some colisions can be detected or ruled out before getting that far in the algorithm, but this check would need to be run every frame against all robots and walls and shots (shots could be a single line segment, though)Right now I'm talking about 8 robots max, maybe 6-20 walls, maybe 5-80 shots on screen @ 30 frames a second.
 
This is easy enough to create, but before I spend a day coding it all, I'm wondering if the computation requirements are going to make it prohibitive.(If so, I'll probably have to switch to circular robots).I feel like there should be a simple formula to find if two rectangles on a cartesian plane intersect, but I can't find one.

View 3 Replies







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