# Director Class

**URL:** https://forums.solar2d.com/c/director-class/38.md?page=2

[Latest](https://forums.solar2d.com/latest.md) · [Categories](https://forums.solar2d.com/categories.md)

**Page:** 3

---

## [face  director class error](https://forums.solar2d.com/t/face-director-class-error/306887)

<div class="topic-metadata">

**Author:** [@rashmi.maniyar](https://forums.solar2d.com/u/rashmi.maniyar)\
**Replies:** 4\
**Last updated:** [September 21, 2012, 3:30pm UTC](https://forums.solar2d.com/t/face-director-class-error/306887 "2012-09-21T15:30:25Z")

</div>

hi guys, i face an error in director class. can you give me such solution for same. Actually its my 1st app in corona n dont know to insert data in one page and display it to another page using sqite3 and if it select…

---

## [Problems calling functions between files](https://forums.solar2d.com/t/problems-calling-functions-between-files/306854)

<div class="topic-metadata">

**Author:** [@anthony.grajirena](https://forums.solar2d.com/u/anthony.grajirena)\
**Replies:** 0\
**Last updated:** [September 20, 2012, 9:13am UTC](https://forums.solar2d.com/t/problems-calling-functions-between-files/306854 "2012-09-20T09:13:30Z")

</div>

I can call functions between .lua pages when they’re called from director scenes, but if I try to call one in a scene from outside I get an error message “attempt to index global ‘scene1’ (a nil value)” This is basicall…

---

## [ Remote Push Notifications for Android](https://forums.solar2d.com/t/remote-push-notifications-for-android/306631)

<div class="topic-metadata">

**Author:** [@tatiana](https://forums.solar2d.com/u/tatiana)\
**Replies:** 6\
**Last updated:** [September 19, 2012, 8:02am UTC](https://forums.solar2d.com/t/remote-push-notifications-for-android/306631 "2012-09-19T08:02:40Z")

</div>

In these days we want to begin a new our company project where we will use a Push Notification feature, and this feature is important for us also for Android platform. According to Roadmap, Push Notification for Android…

---

## [Dealing with RevMob ads](https://forums.solar2d.com/t/dealing-with-revmob-ads/306809)

<div class="topic-metadata">

**Author:** [@rhmueed](https://forums.solar2d.com/u/rhmueed)\
**Replies:** 0\
**Last updated:** [September 18, 2012, 9:05pm UTC](https://forums.solar2d.com/t/dealing-with-revmob-ads/306809 "2012-09-18T21:05:55Z")

</div>

Hello All, I am working on an app. I am using director. Actually I want to show RevMob Ads between pages which director moves from one scene to the next. I want to show ads between pages and hide the ads when next scene…

---

## [unable to cancel timers and runtimes, what am I doing wrong?](https://forums.solar2d.com/t/unable-to-cancel-timers-and-runtimes-what-am-i-doing-wrong/306793)

<div class="topic-metadata">

**Author:** [@bubblebobble](https://forums.solar2d.com/u/bubblebobble)\
**Replies:** 6\
**Last updated:** [September 18, 2012, 6:45am UTC](https://forums.solar2d.com/t/unable-to-cancel-timers-and-runtimes-what-am-i-doing-wrong/306793 "2012-09-18T06:45:20Z")

</div>

I am using a cut down version of director class; the one by Lerg in the code exchange. It works fine but I am having issues and nightmares trying to cancel the timers and runtimes, I have a few basic questions that you …

---

## [ERROR Device testing](https://forums.solar2d.com/t/error-device-testing/306771)

<div class="topic-metadata">

**Author:** [@ludimix.com](https://forums.solar2d.com/u/ludimix.com)\
**Replies:** 6\
**Last updated:** [September 18, 2012, 5:14am UTC](https://forums.solar2d.com/t/error-device-testing/306771 "2012-09-18T05:14:38Z")

</div>

The application works fine on the emulator, but the device is installed on an error Error Director. This line from the log: Sep 17 12:05:00 unknown UserEventAgent\[12\] \<warning\>: DEBUG: Changing screen blanked state: …

---

## [adding images within a table to localGroup, how?](https://forums.solar2d.com/t/adding-images-within-a-table-to-localgroup-how/306754)

<div class="topic-metadata">

**Author:** [@bubblebobble](https://forums.solar2d.com/u/bubblebobble)\
**Replies:** 14\
**Last updated:** [September 18, 2012, 2:19am UTC](https://forums.solar2d.com/t/adding-images-within-a-table-to-localgroup-how/306754 "2012-09-18T02:19:41Z")

</div>

Iam having an issue where Iam trying to add 4 images from a table into local group. local images = {} images\[#images + 1\] = "images/leafs.png" images\[#images + 1\] = "images/leaf2.png" images\[#images + 1\] = "…

---

## [DIRECTOR Class - ERROR Device testing](https://forums.solar2d.com/t/director-class-error-device-testing/306253)

<div class="topic-metadata">

**Author:** [@josevallejo](https://forums.solar2d.com/u/josevallejo)\
**Replies:** 0\
**Last updated:** [August 30, 2012, 7:25pm UTC](https://forums.solar2d.com/t/director-class-error-device-testing/306253 "2012-08-30T19:25:08Z")

</div>

Hi, im currently testing my app with my iphone device, but this code is giving me an error: DIRECTOR Class -ERROR. Failed to execute new (params) function on ‘mainmenu’ here is the code \[blockcode\] module(…, package…

---

## [Director and scrollView?  ](https://forums.solar2d.com/t/director-and-scrollview/306113)

<div class="topic-metadata">

**Author:** [@Silky](https://forums.solar2d.com/u/Silky)\
**Replies:** 0\
**Last updated:** [August 26, 2012, 7:35pm UTC](https://forums.solar2d.com/t/director-and-scrollview/306113 "2012-08-26T19:35:12Z")

</div>

Can anyone tell me what’s wrong? When I click the back button, the back button disappears, and that’s about it. It doesn’t switch screens. \[code\] module(…, package.seeall) function new() local aarpGroup = display.new…

---

## [Android IAP - use with Director](https://forums.solar2d.com/t/android-iap-use-with-director/306049)

<div class="topic-metadata">

**Author:** [@neil6](https://forums.solar2d.com/u/neil6)\
**Replies:** 8\
**Last updated:** [August 26, 2012, 4:02pm UTC](https://forums.solar2d.com/t/android-iap-use-with-director/306049 "2012-08-26T16:02:00Z")

</div>

Hi all, I’ve been trying to integrate the sample code for in app purchases. The sample as is works fine, however i seem to be having compatibility issues with the version of Director i am using (1.2). I have set the s…

---

## [Does Director 1.2 have an "overlay" effect?](https://forums.solar2d.com/t/does-director-1-2-have-an-overlay-effect/289051)

<div class="topic-metadata">

**Author:** [@ignis075](https://forums.solar2d.com/u/ignis075)\
**Replies:** 7\
**Last updated:** [August 25, 2012, 11:50am UTC](https://forums.solar2d.com/t/does-director-1-2-have-an-overlay-effect/289051 "2012-08-25T11:50:14Z")

</div>

I have been using Director 1.1 for quite some time with great results, however judging by the improvements to 1.2, it looks like it’s time for me to update my game using this version. My question is, does 1.2 have an “o…

---

## [Dynamic resolution, Director class, windows-mac emulator problems.](https://forums.solar2d.com/t/dynamic-resolution-director-class-windows-mac-emulator-problems/306055)

<div class="topic-metadata">

**Author:** [@a01089287](https://forums.solar2d.com/u/a01089287)\
**Replies:** 0\
**Last updated:** [August 23, 2012, 7:03pm UTC](https://forums.solar2d.com/t/dynamic-resolution-director-class-windows-mac-emulator-problems/306055 "2012-08-23T19:03:48Z")

</div>

Hi im currently working in a videogame.for ipod and android. But im having some problems. Im using director class 1.4, but im having problems working with image dynamic resolution, transitions, params and groups. Case…

---

## [tableView hiding back button using director](https://forums.solar2d.com/t/tableview-hiding-back-button-using-director/305695)

<div class="topic-metadata">

**Author:** [@meredith](https://forums.solar2d.com/u/meredith)\
**Replies:** 2\
**Last updated:** [August 21, 2012, 6:43pm UTC](https://forums.solar2d.com/t/tableview-hiding-back-button-using-director/305695 "2012-08-21T18:43:47Z")

</div>

As I start off every post here, “I am a noob”. But I have an app where there is a tableView on the first screen. I do have the director class involved, but nothings really happening with it. This tableView is on screen1…

---

## [Not getting a proper hit on my buttons](https://forums.solar2d.com/t/not-getting-a-proper-hit-on-my-buttons/305938)

<div class="topic-metadata">

**Author:** [@stephenTU](https://forums.solar2d.com/u/stephenTU)\
**Replies:** 0\
**Last updated:** [August 20, 2012, 8:04am UTC](https://forums.solar2d.com/t/not-getting-a-proper-hit-on-my-buttons/305938 "2012-08-20T08:04:21Z")

</div>

Not sure of the issue here is for my buttons and why if I tap anywere on the screen the scene changes. That and peach’s countdown clock does not seem to work: main.lua isplay.setStatusBar( display.HiddenStatusBar ) …

---

## [Can someone tell me why DIRECTOR doesn't like this lua file](https://forums.solar2d.com/t/can-someone-tell-me-why-director-doesnt-like-this-lua-file/305490)

<div class="topic-metadata">

**Author:** [@stephenTU](https://forums.solar2d.com/u/stephenTU)\
**Replies:** 8\
**Last updated:** [August 20, 2012, 7:45am UTC](https://forums.solar2d.com/t/can-someone-tell-me-why-director-doesnt-like-this-lua-file/305490 "2012-08-20T07:45:57Z")

</div>

This works in the simulator and not on the actual device. Returns a Director ERROR params \[code\] module(…, package.seeall) new = function ( params ) local localGroup = display.newGroup() – Imports local ui = requir…

---

## [Back Button Causes Error](https://forums.solar2d.com/t/back-button-causes-error/305491)

<div class="topic-metadata">

**Author:** [@janalbrechtjost.jost](https://forums.solar2d.com/u/janalbrechtjost.jost)\
**Replies:** 3\
**Last updated:** [August 20, 2012, 7:43am UTC](https://forums.solar2d.com/t/back-button-causes-error/305491 "2012-08-20T07:43:35Z")

</div>

Hi Guys, I implemented a back button in my game.lua file, that should take the player back to the menu.lua file. When I hit it, it works just fine and I get redirected to the menu, but when I try to hit the play button …

---

## [Connect turn to book from local button](https://forums.solar2d.com/t/connect-turn-to-book-from-local-button/305362)

<div class="topic-metadata">

**Author:** [@stephenTU](https://forums.solar2d.com/u/stephenTU)\
**Replies:** 2\
**Last updated:** [August 20, 2012, 7:25am UTC](https://forums.solar2d.com/t/connect-turn-to-book-from-local-button/305362 "2012-08-20T07:25:37Z")

</div>

\[code\]------------------ – CREATE BOOK local function createBook ( event ) – TURN TO BOOK local bt01 – CREATE BOOK director:newBookPages( pageList ) end

---

## [Mask function is not correct in Scene](https://forums.solar2d.com/t/mask-function-is-not-correct-in-scene/301224)

<div class="topic-metadata">

**Author:** [@shinhan.wu](https://forums.solar2d.com/u/shinhan.wu)\
**Replies:** 2\
**Last updated:** [August 17, 2012, 11:49am UTC](https://forums.solar2d.com/t/mask-function-is-not-correct-in-scene/301224 "2012-08-17T11:49:55Z")

</div>

HI Recently, I want to do a image mask in director scene. But the response is not correct, The screen can not show masked image. I using trial version 2011.704 with director class 1.4 the mask function not work corre…

---

## [Prevent multiple button presses with Director](https://forums.solar2d.com/t/prevent-multiple-button-presses-with-director/305741)

<div class="topic-metadata">

**Author:** [@ranflas](https://forums.solar2d.com/u/ranflas)\
**Replies:** 0\
**Last updated:** [August 12, 2012, 2:42pm UTC](https://forums.solar2d.com/t/prevent-multiple-button-presses-with-director/305741 "2012-08-12T14:42:15Z")

</div>

Any help would be GREATLY appreciated! =) We are working on a type of trivia app and have found that if users click the correct answer button multiple times very quickly, they can receive more than one correct answer. T…

---

## [screens appear outside of the letterbox](https://forums.solar2d.com/t/screens-appear-outside-of-the-letterbox/298387)

<div class="topic-metadata">

**Author:** [@iPlayalot](https://forums.solar2d.com/u/iPlayalot)\
**Replies:** 2\
**Last updated:** [August 10, 2012, 6:12am UTC](https://forums.solar2d.com/t/screens-appear-outside-of-the-letterbox/298387 "2012-08-10T06:12:10Z")

</div>

We are working on an iPhone game that also supports iPad and other devices. when switching screens in director, the coming screen appears and dissappers in milliseconds in the right of the outside letterbox before openi…

---

## [Director Class (director.lua) in Subdirectory](https://forums.solar2d.com/t/director-class-director-lua-in-subdirectory/295306)

<div class="topic-metadata">

**Author:** [@ahamidi](https://forums.solar2d.com/u/ahamidi)\
**Replies:** 2\
**Last updated:** [August 7, 2012, 11:49pm UTC](https://forums.solar2d.com/t/director-class-director-lua-in-subdirectory/295306 "2012-08-07T23:49:04Z")

</div>

Hi Guys, I’ve been trying to organize my code a little better now that the daily builds support placing .lua files in subdirectories. I’ve created a lib folder where I’ve placed all the libraries that I’m using (ui.lua…

---

## [Problems with widget.newScrollView inside the Director](https://forums.solar2d.com/t/problems-with-widget-newscrollview-inside-the-director/305415)

<div class="topic-metadata">

**Author:** [@gabrielcz](https://forums.solar2d.com/u/gabrielcz)\
**Replies:** 0\
**Last updated:** [August 2, 2012, 10:21am UTC](https://forums.solar2d.com/t/problems-with-widget-newscrollview-inside-the-director/305415 "2012-08-02T10:21:21Z")

</div>

Hi! I’ve been created a scrollable content control with widget.newScrollView in a new empty project and it work perfectly! Now, I want to use the same control in another project what use the Director Class and the cont…

---

## [How to place a back button on each PageList page](https://forums.solar2d.com/t/how-to-place-a-back-button-on-each-pagelist-page/305360)

<div class="topic-metadata">

**Author:** [@stephenTU](https://forums.solar2d.com/u/stephenTU)\
**Replies:** 0\
**Last updated:** [July 31, 2012, 3:10pm UTC](https://forums.solar2d.com/t/how-to-place-a-back-button-on-each-pagelist-page/305360 "2012-07-31T15:10:06Z")

</div>

I’m running a page list from a menu button, but how would I add a “home” back button on each page to get the reader back on the menu.lua? \[import\]uid: 88495 topic\_id: 29299 reply\_id: 329299\[/import\]

---

## [Connecting Scenes and Modules](https://forums.solar2d.com/t/connecting-scenes-and-modules/305341)

<div class="topic-metadata">

**Author:** [@janalbrechtjost.jost](https://forums.solar2d.com/u/janalbrechtjost.jost)\
**Replies:** 2\
**Last updated:** [July 31, 2012, 2:29pm UTC](https://forums.solar2d.com/t/connecting-scenes-and-modules/305341 "2012-07-31T14:29:56Z")

</div>

Hi, I´m working on a game with 10 levels. Every level goes into a folder, so there are ten folders (level 1, level 2, level 3,…). Every level folder contains about 4 modules (game, basket, bullet, bar). I´m looking for …

---

## [PORTO ALEGRA -- changeScene for pagelist that is located in main.lua](https://forums.solar2d.com/t/porto-alegra-changescene-for-pagelist-that-is-located-in-main-lua/305313)

<div class="topic-metadata">

**Author:** [@stephenTU](https://forums.solar2d.com/u/stephenTU)\
**Replies:** 0\
**Last updated:** [July 30, 2012, 10:41am UTC](https://forums.solar2d.com/t/porto-alegra-changescene-for-pagelist-that-is-located-in-main-lua/305313 "2012-07-30T10:41:43Z")

</div>

I have the demo from Ricardo Rauber Pereira for Porto Alegre. I’m using this as a book for my app with images I created. I’m trying to combine that app with a menu.lua. Instead of the Intro.lua fading directly into the p…

---

## [If my page list is in my main.lua, how will book display from menu.lua](https://forums.solar2d.com/t/if-my-page-list-is-in-my-main-lua-how-will-book-display-from-menu-lua/305311)

<div class="topic-metadata">

**Author:** [@stephenTU](https://forums.solar2d.com/u/stephenTU)\
**Replies:** 0\
**Last updated:** [July 30, 2012, 9:53am UTC](https://forums.solar2d.com/t/if-my-page-list-is-in-my-main-lua-how-will-book-display-from-menu-lua/305311 "2012-07-30T09:53:01Z")

</div>

If I have my pagelist in the main but the main open’s the intro.lua which is an even button to start the menu.lua, how can the button event in the menu.lua open the page list that is in the main.lua? Should I create a n…

---

## [Will Scenes initiate a book via push button](https://forums.solar2d.com/t/will-scenes-initiate-a-book-via-push-button/305292)

<div class="topic-metadata">

**Author:** [@stephenTU](https://forums.solar2d.com/u/stephenTU)\
**Replies:** 0\
**Last updated:** [July 29, 2012, 7:38pm UTC](https://forums.solar2d.com/t/will-scenes-initiate-a-book-via-push-button/305292 "2012-07-29T19:38:42Z")

</div>

I have my pages in my \*\*main.lua. My Intro.lua works, next is my menu.lua. Menu.lua will not initiate book via the local button = display.newImage ("button.png") localGroup:instert(button) \[code\]local function scrolls (…

---

## [Intro to menu to main using director class and pages.](https://forums.solar2d.com/t/intro-to-menu-to-main-using-director-class-and-pages/305267)

<div class="topic-metadata">

**Author:** [@stephenTU](https://forums.solar2d.com/u/stephenTU)\
**Replies:** 0\
**Last updated:** [July 29, 2012, 12:42am UTC](https://forums.solar2d.com/t/intro-to-menu-to-main-using-director-class-and-pages/305267 "2012-07-29T00:42:33Z")

</div>

I have been “massaging” the intro.lua to fade in and then out a button along with wav file to play but have not been able to get a second wav file in after the first wav file completes. Instead the wav file just repeats …

---

## [\[Resolved\] How To Fix/Modify Books In Director?](https://forums.solar2d.com/t/resolved-how-to-fix-modify-books-in-director/305153)

<div class="topic-metadata">

**Author:** [@brad2000xi](https://forums.solar2d.com/u/brad2000xi)\
**Replies:** 1\
**Last updated:** [July 25, 2012, 8:58am UTC](https://forums.solar2d.com/t/resolved-how-to-fix-modify-books-in-director/305153 "2012-07-25T08:58:19Z")

</div>

i am having problem on how to “fix” or “modify” the finger/swipe movement in books feature at director 1.4 for corona. Basically if i swipe my finger shortly, it doesn’t change the picture. Instead, the current pictur…

---

## [How to stop a streaming sound ,when I change the scene(director)?](https://forums.solar2d.com/t/how-to-stop-a-streaming-sound-when-i-change-the-scene-director/304964)

<div class="topic-metadata">

**Author:** [@zoolax](https://forums.solar2d.com/u/zoolax)\
**Replies:** 2\
**Last updated:** [July 19, 2012, 7:43am UTC](https://forums.solar2d.com/t/how-to-stop-a-streaming-sound-when-i-change-the-scene-director/304964 "2012-07-19T07:43:15Z")

</div>

Hi this is a a test for Nook,I have a button called local audio that upon press play the sound1(audio stream) but I have trouble figuring out how to stop the sound when I change scene using the other 3 button. I have t…

[Previous page](https://forums.solar2d.com/c/director-class/38.md?page=1)

[Next page](https://forums.solar2d.com/c/director-class/38.md?page=3)
